alexa-tracking

Main Content

1024
1024
KASKUS
51
244
https://www.kaskus.co.id/thread/5092459f1fd719e34f0000dd/bot-social-network-devilzc0deorg
Bot social network devilzc0de.org
link
http://devilzc0de.org/

botnya

Quote:<?php
/*
* Bot komen sonet dc
* Author: Poticous
* 29 Oktober 2012
*/
class dc{
var $curl_useragent = "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.0.3705; .NET CLR 1.1.4322; Media Center PC 4.0)";
var $curl_cookies = "cookie.txt";
var $username;
var $password;
var $jangan;
var $komen;

public function curl($url,$data="") {
$ch = curl_init($url);
if ($data != "") {
curl_setopt($ch, CURLOPT_POST,1);
curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
}
curl_setopt($ch, CURLOPT_USERAGENT, $this->curl_useragent);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
curl_setopt ($ch, CURLOPT_COOKIEJAR, $this->curl_cookies);
curl_setopt ($ch, CURLOPT_COOKIEFILE, $this->curl_cookies);
$source = curl_exec($ch);
$this->status = curl_getinfo($ch,CURLINFO_HTTP_CODE);
$this->error = curl_error($ch);
curl_close($ch);
return $source;
}
function login(){
$url = "http://devilzc0de.org/login.dc";
$data = array('session_username'=>$this->username, 'session_password'=>$this->password);
$login = $this->curl($url,$data);
return $login;
}
function logout(){
$url = "http://devilzc0de.org/logout.dc";
return $this->curl($url);
}
function stringBetween($start, $end, $var){
return preg_match('{' . preg_quote($start) . '(.*?)' . preg_quote($end) . '}s', $var, $m)
? $m[1]
: '';
}
function get_uid($link){
$id = $this->stringBetween("id=\"member\" value=\"","\"",$link);
return $id;
}
function post_comment($html,$statusid){
$uid = $this->get_uid($html);
$data = array("member"=>$uid,"wall"=>$statusid,"comment_content"=>$this->komen,"get_emailmember"=>"fake@mail.org");
$post = $this->curl("http://devilzc0de.org/ajax/devilzAjaxRequest.php?module=post-comment",$data);
if($post){
return true;
}else{
return false;
}
}
function html2post($html){
$a = $this->stringBetween("<div id=\"dc_wall_text\">","<!-- end dc_wall_text div -->",$html);
$b = explode("<span>", $a);
$d = array();
foreach ($b as $c){
$id = $this->stringBetween("<a user=",">stringBetween("<span style='font-size:12px; padding:2px;'>", "</span><br />",$c);
$statusid = $this->stringBetween("<span style=\"float:right; display:none\" id=\"loaderstatus", "\">",$c);
$status = $this->stringBetween("<img ></span>", "<!--VIEW IMAGES IF YOU UPLOAD IMAGES IN WALL-->",$c);
if ($nama){
array_push($d, array("id" => $id, "nama" => $nama, "statusid" => $statusid, "status" => trim(strip_tags($status))));
}
}
return $d;
}
function more_wall($last){
$url = "http://devilzc0de.org/ajax/devilzAjaxRequest.php?module=more-home-wall";
$post = $this->curl($url,array('d2y'=>$last));
return $post;
}
function logs($file, $data){
$fp = fopen($file, "w");
fwrite($fp, $data);
fclose($fp);
}
function bot_komen(){
$login = $this->login();
if($login){
while(1){
$home = $this->curl("http://devilzc0de.org/home.dc");
$isi = $this->html2post($home);
$newpost = $this->more_wall($isi[0]['statusid']+1);
preg_match_all('{<div id="dc_wall_text">(.*?)<!-- end dc_wall_text div -->}s', $newpost, $hasil);
$sebelumnya = json_decode(file_get_contents('sebelumnya5.txt')emoticon-Wink;
$d = array();
foreach($hasil[0] as $c){
$id = $this->stringBetween("<a user=",">stringBetween("<span style='font-size:12px; padding:2px;'>", "</span><br />",$c);
$statusid = $this->stringBetween("<span style=\"float:right; display:none\" id=\"loaderstatus", "\">",$c);
$status = $this->stringBetween("<img ></span>", "<!--VIEW IMAGES IF YOU UPLOAD IMAGES IN WALL-->",$c);
if ($nama){
array_push($d, array("id" => $id, "nama" => $nama, "statusid" => $statusid, "status" => trim(strip_tags($status))));
}
}
foreach($d as $l){
$statusid2[] = $l['statusid'];
$id2[] = $l['id'];
$nama2[] = $l['nama'];
$status2[] = $l['status'];
}
foreach($d as $e){
if((!in_array($e['statusid'],$sebelumnya->statusid)) && (!in_array($e['id'],$this->jangan))){
echo "[~] mencoba comment status \"".$e['nama'].": ".$e['status']."\"\n";
$komen = $this->post_comment($home,$e['statusid']);
if($komen){
echo "[+] Berhasil comment status \"".$e['nama'].": ".$e['status']."\"\n";
}else{
echo "[+] Gagal comment status \"".$e['nama'].": ".$e['status']."\"\n";
}
$this->logs('sebelumnya5.txt',json_encode(array("statusid"=>$statusid2,"uid"=>$id2,"nama"=>$nama2,"status"=>$status2)));
}
}
}
}else{
echo "Gagal Login.";
}
}
}
$bot = new dc();
$bot->username = "email@domain.com";
$bot->password = "password";
$bot->komen = "Hi, Salam Kenal\n\n-[bot comment poticous]-";
$bot->jangan = array("39869"); // list id yang jangan di komen
$bot->bot_komen();
?>


edit dibagian ini
Quote:$bot->username = "email@domain.com";
$bot->password = "password";
$bot->komen = "Hi, Salam Kenal\n\n-[bot comment poticous]-";
$bot->jangan = array("39869"); // list id yang jangan di komen


cara gunainnya :
buka cmd terus ketik
Quote:cd C:\xampp\php

terus ketik
Quote:Quote:php C:\bot.php

php C:\bot.php
Quote:@echo off
cls
C:\xampp\php\php.exe -C namascript.php
cmd


save dengan type *.bat

Bot social network devilzc0de.org

masri kita jajah devilzc0de.org yang katanya forum hacker.

BOT

Wew carane bijimane om emoticon-Ngakak
manteep maju terus DC emoticon-Kiss
mantap... up...up...up... wakakakakak emoticon-Ngakak
mau make bot di DC buat ngapain gan, lagian kalo mau ngejang dsana ga pake capcay, n ga pake waktu delay, jadi ga perlu make bot gan emoticon-Big Grin
mantap bray emoticon-Matabelo
di sana post banyak gak laku dijual ID ya emoticon-Ngakak
heker ente gan
emoticon-Hammer2
poticous emoticon-Ngakak
temen ane tu poticous
wah bot dece ya? emoticon-Big Grin
Quote:$bot->username = "email@domain.com";
$bot->password = "password";
$bot->komen = "Hi, Salam Kenal\n\n-[bot comment poticous]-";
$bot->jangan = array("39869"); // list id yang jangan di komen


yakin?
nanti malah ngirim email ane ke si Devil emoticon-Hammer (S) soalnya ada URL nya dia sama perintah log in
Quote:Original Posted By Clouding


yakin?
nanti malah ngirim email ane ke si Devil emoticon-Hammer (S) soalnya ada URL nya dia sama perintah log in


aduhhh, ente ngerti code PHP gk sih emoticon-Ngakak emoticon-Ngakak

itu buat login ke social networknya terus liat list status buat di komen emoticon-Ngakak

makannya belajar PHP dulu sebelum ngomen bos emoticon-Ngakak
yo gan & sis,gabung rame-rame di sini.www.elangpoker.com
permainannya banyak,memuaskan & dapat dipercaya,prosesnya cepat & mudah
Cara pake ga dijelesin nih, pake Xampp kan emoticon-Big Grin
ente kasi skrip bot buat ningkatin traffic DC kan ? ane anak situ juga, gan emoticon-Big Grin, bot buat apa coba ? junk disitu ga pake capcay kan > ga pake waktu delay juga, buat apa make bot emoticon-Big Grin
maenan anak kecil emoticon-Stick Out Tongue
ngapain juga ngebot di DC emoticon-Cape d... (S)
gak ada manfaatnya gan
Quote:Original Posted By fanglisinaulan
mau make bot di DC buat ngapain gan, lagian kalo mau ngejang dsana ga pake capcay, n ga pake waktu delay, jadi ga perlu make bot gan emoticon-Big Grin


Quote:Original Posted By wasitmantab
di sana post banyak gak laku dijual ID ya emoticon-Ngakak


Quote:Original Posted By Demigod619
Cara pake ga dijelesin nih, pake Xampp kan emoticon-Big Grin
ente kasi skrip bot buat ningkatin traffic DC kan ? ane anak situ juga, gan emoticon-Big Grin, bot buat apa coba ? junk disitu ga pake capcay kan > ga pake waktu delay juga, buat apa make bot emoticon-Big Grin
maenan anak kecil emoticon-Stick Out Tongue


Quote:Original Posted By virose
ngapain juga ngebot di DC emoticon-Cape d... (S)
gak ada manfaatnya gan


ini bot komen di social network devilzc0de gan, bukan bot forumnya emoticon-Ngakakemoticon-Ngakak

baca dulu deh Title Thread nya "Bot social network devilzc0de.org" sebelum nge reply emoticon-Ngakak
masih belum paham gan . . . tuorialnya kurang
bagi teman2 yang mau main poker gabung ke sini yang di elangpoker poker online terbaik
di tunggu ya....??



[SPOILER= "do not open"]"TKP"[/SPOILER]
gag mudeng gan....
tutorialnya mana emoticon-Bingung (S) emoticon-Bingung (S)