Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 09/05/11 in all areas

  1. Am facut un "port-scanner" cu threaduuri in Python. Daca aveti timp si chef sa va dati cu parerea mi-ar fi de mare ajutor. import socket import threading import sys import string import os class ThreadingScan(threading.Thread): def __init__(self, target): threading.Thread.__init__(self) self.target=target def run(self): ping_parameter='ping '+self.target result=os.popen(ping_parameter) if (result): with open('log.txt', 'a', encoding='utf-8') as log_file: log_string=self.target+ ' is alive \n' log_file.write(log_string) print(self.target, ' is alive\n') port_scan=ThreadingPortScan(self.target) port_scan.start() class ThreadingPortScan(threading.Thread): def __init__(self, port_target): threading.Thread.__init__(self) self.port_target=port_target def run(self): target_ip=socket.gethostbyname(self.port_target) print(target_ip) print('starting port scanning') for i in range(1024): target_sock=socket.socket(socket.AF_INET, socket.SOCK_STREAM) result=target_sock.connect_ex((target_ip, i)) if (result==0): ##log_file=open('log.txt', 'a', encoding='utf-8') log_string=self.port_target+' has port '+ str(i)+ ' opened \n' print(log_string) #log_file.write(log_string) #log_file.close() target_sock.close() if __name__=='__main__': with open('host_file.txt', 'r', encoding='utf-8') as host_file: hosts=host_file.read() host_list=str.split(hosts) for i in range(len(host_list)): scanning=ThreadingScan(host_list[i]) scanning.start() Later edit: aveti nevoie de un fisier host_file.txt in care sa fie hosturile pe care vreti sa le scanati
    1 point
  2. Cursul se tine si online. Pentru cei interesati Introduction to Artificial Intelligence - Fall 2011 .
    1 point
  3. Mai sunt 2 cursuri online de la Stanford pe langa cel de AI. Introduction to Databases - Stanford University Machine Learning - Stanford University
    1 point
  4. Ar fi interesant un Off-Topic count.
    1 point
  5. Mda...mi-am lasat amprenta acolo
    -1 points
  6. Ce ai ma ratatule nu-ti convine, de cand faci tu regulile aici? Nu-ti convine cara-te. Esti liber @ pelican
    -1 points
  7. Carti, cursuri, tutoriale... Aplicatii_de_retea_in_internet.doc Size: 478 KB http://rapidshare.com/files/183113482/Aplicatii_de_retea_in_internet.doc Arhitectura_Calculatoarelor.rar Size: 3528 KB http://rapidshare.com/files/183113929/Arhitectura_Calculatoarelor.rar Arhitecturi_de_Retea.doc Size: 1416 KB http://rapidshare.com/files/183114236/Arhitecturi_de_Retea.doc Aspecte_de_securitate__n_retele_de_calculatoare.doc Size: 168 KB http://rapidshare.com/files/183114379/Aspecte_de_securitate__n_retele_de_calculatoare.doc AutoCad.doc Size: 219 KB http://rapidshare.com/files/185415598/AutoCad.doc Automatica.rar Size: 2208 KB http://rapidshare.com/files/185416057/Automatica.rar Capitolul_5_-_Criptografie.pdf Size: 302 KB http://rapidshare.com/files/185416740/Capitolul_5_-_Criptografie.pdf Cibernetica.rar Size: 1037 KB http://rapidshare.com/files/185417228/Cibernetica.rar Cine_sau_ce_este_root.doc Size: 37 KB http://rapidshare.com/files/185417437/Cine_sau_ce_este_root.doc Codul_hackerului.doc Size: 41 KB http://rapidshare.com/files/185419116/Codul_hackerului.doc Compresie_Video.doc Size: 247 KB http://rapidshare.com/files/185424068/Compresie_Video.doc Configurare_Bios_.doc Size: 64 KB http://rapidshare.com/files/185424247/Configurare_Bios_.doc Configurarea_unei_retele.pdf Size: 797 KB http://rapidshare.com/files/185424582/Configurarea_unei_retele.pdf Curs_ECDL.rar Size: 11937 KB http://rapidshare.com/files/185426456/Curs_ECDL.rar Curs_Flash.rar Size: 2398 KB http://rapidshare.com/files/185427133/Curs_Flash.rar Curs_Linux.doc Size: 276 KB http://rapidshare.com/files/185427710/Curs_Linux.doc Curs_Retele.rar Size: 534 KB http://rapidshare.com/files/185427982/Curs_Retele.rar Curs_Word.rar Size: 4415 KB http://rapidshare.com/files/185429092/Curs_Word.rar Fibre_optice.doc Size: 2225 KB http://rapidshare.com/files/185429780/Fibre_optice.doc Hackeri.doc Size: 68 KB http://rapidshare.com/files/185430124/Hackeri.doc Hard-Disk-ul.doc Size: 233 KB http://rapidshare.com/files/185430224/Hard-Disk-ul.doc Hardware.doc Size: 83 KB http://rapidshare.com/files/185430317/Hardware.doc Informatica.rar Size: 1438 KB http://rapidshare.com/files/185430576/Informatica.rar Inginerie_Sociala.pdf Size: 121 KB http://rapidshare.com/files/185430948/Inginerie_Sociala.pdf Inginerie_Software.rar Size: 547 KB http://rapidshare.com/files/185431125/Inginerie_Software.rar Initiere_Linux.doc Size: 3114 KB http://rapidshare.com/files/185431655/Initiere_Linux.doc Internetul.doc Size: 171 KB http://rapidshare.com/files/185431764/Internetul.doc Introducere_in_Retele_de_Calculatoare.ppt Size: 577 KB http://rapidshare.com/files/185431915/Introducere_in_Retele_de_Calculatoare.ppt Jargon_Informatic.htm Size: 731 KB http://rapidshare.com/files/185432108/Jargon_Informatic.htm Macromedia_Flash.rar Size: 86 KB http://rapidshare.com/files/185432254/Macromedia_Flash.rar Medii_de_transmisie.doc Size: 153 KB http://rapidshare.com/files/185433092/Medii_de_transmisie.doc Microprocesoarele.rtf Size: 89 KB http://rapidshare.com/files/185433180/Microprocesoarele.rtf Partitionarea_si_Formatarea_HDD.doc Size: 119 KB http://rapidshare.com/files/185433291/Partitionarea_si_Formatarea_HDD.doc Portul_Paralel.pdf Size: 308 KB http://rapidshare.com/files/185433422/Portul_Paralel.pdf Proiectarea___i_analiza_sistemelor_de_operare.doc Size: 480 KB http://rapidshare.com/files/185433569/Proiectarea___i_analiza_sistemelor_de_operare.doc Protocoale_de_Retea.ppt Size: 354 KB http://rapidshare.com/files/185433736/Protocoale_de_Retea.ppt Protocoalele_ARP__RARP__DHCP.rar Size: 2274 KB http://rapidshare.com/files/185434141/Protocoalele_ARP__RARP__DHCP.rar Retea_Token-Ring.ppt Size: 161 KB http://rapidshare.com/files/185434228/Retea_Token-Ring.ppt Re__eaua_de_calculatoare.doc Size: 105 KB http://rapidshare.com/files/185434315/Re__eaua_de_calculatoare.doc Retele_de_calculatoare.pdf Size: 205 KB http://rapidshare.com/files/185434406/Retele_de_calculatoare.pdf Retele_de_Calculatoare_-_Linux.pdf Size: 480 KB http://rapidshare.com/files/185434535/Retele_de_Calculatoare_-_Linux.pdf Retele_Locale_fara_Fir.pdf Size: 637 KB http://rapidshare.com/files/185434687/Retele_Locale_fara_Fir.pdf Retele_Virtual-LAN.doc Size: 223 KB http://rapidshare.com/files/185434767/Retele_Virtual-LAN.doc Schema_de_alocare_a_fisierelor_pe_medii_de_stocare.rar Size: 967 KB http://rapidshare.com/files/185435006/Schema_de_alocare_a_fisierelor_pe_medii_de_stocare.rar Securitatea_si_elemente_de_etica.doc Size: 793 KB http://rapidshare.com/files/185435184/Securitatea_si_elemente_de_etica.doc Serviciul_IRC_-_Internet_Relay_Chat.pdf Size: 350 KB http://rapidshare.com/files/185435383/Serviciul_IRC_-_Internet_Relay_Chat.pdf Sisteme_cu_Microprocesoare.doc Size: 629 KB http://rapidshare.com/files/185435566/Sisteme_cu_Microprocesoare.doc Sisteme_Operare_MS-DOS.doc Size: 268 KB http://rapidshare.com/files/185435681/Sisteme_Operare_MS-DOS.doc Studiu_asupra_sistemelor_de_autentificare_cu_baze_criptografice.pdf Size: 121 KB http://rapidshare.com/files/185435762/Studiu_asupra_sistemelor_de_autentificare_cu_baze_criptografice.pdf Switchul_de_retea.doc Size: 170 KB http://rapidshare.com/files/185435858/Switchul_de_retea.doc Totul_despre_Office_si_Visual_Basic.rar Size: 1271 KB http://rapidshare.com/files/185436128/Totul_despre_Office_si_Visual_Basic.rar Tutorial_IT.pdf Size: 4924 KB http://rapidshare.com/files/185436892/Tutorial_IT.pdf Continuati si voi
    -1 points
×
×
  • Create New...