RBT-4 Network
  
Home ::  Forum ::  Downloads ::  Cerca ::  No-Paste ::  Exploits ::  RBT-4 XSS DB ::  IT Wardriving DB ::  S.Code Bug Finder
3744681 hits 
 
::    [PDF] - Storia e realtà dell' Hacker italiano     ::    [PDF] - Sicurezza nella navigazione    ::    PyGTK - Programmazione Python GUI - Italiano    ::    Sicurezza nelle Wireless LAN - Giuseppe Paternò    ::    Il TCP/IP e la trasmissione dati su Internet    ::    Il linguaggio C - Guida pratica alla programmazione     ::    UnHash - MD5 or SHA1 Bruteforcer    ::    MD5 cracker BarsWF    ::    Joomla Security Scanner    ::    MySQL 64Bit HASH - Bruteforcer    ::    The Art Of Assembly Language - DOS16 Special Edition    ::    The Art Of Assembly Language - LINUX Special Edition    ::    The Art Of Assembly Language - Win32 Special Edition    ::    Carnivore-PersonalEdition+Source Code    ::    Sql-Injection Scanners + Guide alle Sql-Inj    ::    Huge Hackers Toolkit Suite 2006 - 48in1 (AIO)    ::    MSN Hacks All In One    ::    Web Shells Pack    ::    Man-in-the-middle attack (by blackhats security team)    ::    I Netowork X.25, comprensione della struttura di rete, tecniche di attacco ed identificazione delle     ::    Social Engeenering, una guida introduttiva (by blackhats security team)    ::    IBM Tivoli Provisioning Manager PRE AUTH Remote Exploit    ::    Apache 2.0.58 mod_rewrite Remote Overflow Exploit (win2k3)    ::    Rational Software Hidden Administrator 1.7 Auth Bypass Exploit    ::    TinyIdentD <= 2.2 Remote Buffer Overflow Exploit    ::    webdesproxy 0.0.1 (GET Request) Remote Root Exploit (exec-shield)    ::    webdesproxy 0.0.1 (GET Request) Remote Buffer Overflow Exploit    ::    GNU Mailutils imap4d 0.6 Remote Format String Exploit (exec-shield)    ::    MS Windows DNS RPC Remote Buffer Overflow Exploit (port 445) v2    ::    MS Windows DNS DnssrvQuery Remote Stack Overflow Exploit    ::    XAMPP for Windows <= 1.6.0a mssql_connect() Remote BoF Exploit    ::    MS Windows DNS RPC Remote Buffer Overflow Exploit (win2k SP4)    ::    Apache Mod_Rewrite Off-by-one Remote Overflow Exploit (win32)    ::    FileCOPA FTP Server <= 1.01 (LIST) Remote Buffer Overflow Exploit (2)    ::    IPSwitch IMail Server <= 8.20 IMAPD Remote Buffer Overflow Exploit    ::    IBM Lotus Domino Server 6.5 PRE AUTH Remote Exploit    ::    dproxy-nexgen Remote Root Buffer Overflow Exploit (x86-lnx)    ::    CA BrightStor Backup 11.5.2.0 (Mediasvr.exe) Remote Code Exploit    ::    NaviCOPA Web Server 2.01 Remote Buffer Overflow Exploit (meta)    ::    Easy File Sharing FTP Server 2.0 (PASS) Remote Exploit (Win2K SP4)    ::    WarFTP 1.65 (USER) Remote Buffer Overlow Exploit (multiple targets)    ::    Mercury Mail 4.0.1 (LOGIN) Remote IMAP Stack Buffer Overflow Exploit    ::    dproxy <= 0.5 Remote Buffer Overflow Exploit (meta 2.7)    ::    FutureSoft TFTP Server 2000 Remote SEH Overwrite Exploit    ::    Mercur Messaging 2005 <= SP4 IMAP Remote Exploit (egghunter mod)    ::    Mercur Messaging 2005 IMAP (SUBSCRIBE) Remote Exploit (win2k SP4)    ::    Helix Server 11.0.1 Remote Heap Overflow Exploit (win2k SP4)    ::    CA BrightStor ARCserve (msgeng.exe) Remote Stack Overflow Exploit    ::    WarFTP 1.65 (USER) Remote Buffer Overflow SEH Overflow Exploit    ::    WarFTP 1.65 (USER) Remote Buffer Overflow Exploit (win2k SP4)    ::    MailEnable Pro/Ent <= 2.37 (APPEND) Remote Buffer Overflow Exploit    ::    3Com TFTP Service <= 2.0.1 (Long Transporting Mode) Exploit (perl)    ::    IPSwitch WS-FTP 5.05 (XMD5) Remote Buffer Overflow Exploit (meta)    ::    Axigen eMail Server 2.0.0b2 (pop3) Remote Format String Exploit    ::    MailEnable Professional 2.35 Remote Buffer Overflow Exploit    ::    MailEnable Enterprise <= 2.32 - 2.34 Remote Buffer Overflow Exploit    ::    Lotus Domino <= R6 Webmail Remote Password Hash Dumper Exploit    ::    IP3 NetAccess < 4.1.9.6 Remote Arbitrary File Disclosure Vulnerability    ::    SunOS 5.10/5.11 in.telnetd Remote Authentication Bypass Exploit    ::    MySQL 4.x/5.0 User-Defined Function Command Execution Exploit (win)    ::    Imail 8.10-8.12 (RCPT TO) Remote Buffer Overflow Exploit (meta)    ::    Imail 8.10-8.12 (RCPT TO) Remote Buffer Overflow Exploit    ::    CA BrightStor ARCserve (lgserver.exe) Remote Stack Overflow Exploit    ::    CA BrightStor ARCserve (msgeng.exe) Remote Heap Overflow Exploit 2    ::    CA BrightStor ARCserve (msgeng.exe) Remote Heap Overflow Exploit    ::    3Com TFTP Service <= 2.0.1 Remote Buffer Overflow Exploit (meta)    ::    Sami FTP Server 2.0.2 (USER/PASS) Remote Buffer Overflow Exploit    ::    Mercur Messaging 2005 IMAP Remote Buffer Overflow Exploit    ::    TFTPDWIN 0.4.2 Remote Buffer Overflow Exploit    ::    FileCOPA FTP Server <= 1.01 (LIST) Remote BoF Exploit (meta)    ::    Berlios GPSD <= 2.7 Remote Format String Exploit (meta)    ::    NaviCOPA Web Server 2.01 (GET) Remote Buffer Overflow Exploit meta    ::    CA BrightStor ARCserve (tapeeng.exe) Remote Buffer Overflow Exploit    ::    QK SMTP <= 3.01 (RCPT TO) Remote Buffer Overflow Exploit (pl)    ::    Durian Web Application Server 3.02 Remote Buffer Overflow Exploit    ::    MS Windows ASN.1 Remote Exploit (MS04-007)    ::    ProFTPD <= 1.2.9 rc2 (ASCII File) Remote Root Exploit    ::    GNU InetUtils ftpd 1.4.2 (ld.so.preload) Remote Root Exploit    ::    OpenLDAP <= 2.4.3 (KBIND) Remote Buffer Overflow Exploit    ::    AT-TFTP <= 1.9 (Long Filename) Remote Buffer Overflow Exploit    ::    3Com TFTP Service <= 2.0.1 (Long Transporting Mode) Overflow Exploit    ::    ProFTPD 1.3.0 (sreplace) Remote Stack Overflow Exploit (meta)    ::    MS Windows NetpManageIPCConnect Stack Overflow Exploit (py)    ::    Omni-NFS Server 5.2 (nfsd.exe) Remote Stack Overflow Exploit (meta)    ::    Easy File Sharing Web Server 4 Remote Information Stealer Exploit    ::    PrivateWire Gateway 3.7 Remote Buffer Overflow Exploit (win32)    ::    Novell eDirectory 8.8 NDS Server Remote Stack Overflow Exploit    ::    QK SMTP <= 3.01 (RCPT TO) Remote Buffer Overflow Exploit    ::    AEP SmartGate 4.3b (GET) Arbitrary File Download Exploit    ::    Ipswitch IMail Server 2006 / 8.x (RCPT) Remote Stack Overflow Exploit    ::    McAfee ePo 3.5.0 / ProtectionPilot 1.1.0 (Source) Remote Exploit    ::    NaviCOPA Web Server 2.01 (GET) Remote Buffer Overflow Exploit    ::    MS Windows NetpIsRemote() Remote Overflow Exploit (MS06-040) (2k3)    ::    Mercur Mailserver 5.0 SP3 (IMAP) Remote Buffer Overflow Exploit (2)    ::    RaidenHTTPD 1.1.49 (SoftParserFileXml) Remote Code Execution Exploit    ::    IBM Director < 5.10 (Redirect.bat) Directory Transversal Vulnerability    ::    MS Windows NetpIsRemote() Remote Overflow Exploit (MS06-040) (2)    ::    MDaemon POP3 Server < 9.06 (USER) Remote Heap Overflow Exploit    ::    Easy File Sharing FTP Server 2.0 (PASS) Remote Exploit (PoC)    ::    WFTPD 3.23 (SIZE) Remote Buffer Overflow Exploit    ::    
NoPaste Service
Language: Python
Author: SiD
Description: PyCalc 0.4
Date: 04/09/08 16:20
import math



#PyCalc

#@By SiD, 2008

#Se copiate o modificate questo programma, riportate il mio nome, grazie ;-)



calcoli_oggi = []



def add():

    try:

        add = input("\nInserisci il primo numero: ")

        add2 = input("\nInserisci il secondo numero: ")

        if 'Addizione' in calcoli_oggi:

            calcoli_oggi.append('+ Addizione')

        else:

            calcoli_oggi.append('Addizione')

    except:

        print 'Errore..'

    else:

        ris = add+add2

        print '\nRisultato >> ', add+add2, '\n'

        create = raw_input('\nVuoi anche creare un log in txt con il risultato? (s/n): ')

        if create=='s':

                create_file = open('pycalc_calcoli.txt','a')

                create_file.write('Calcolo: '+str(add)+'+'+str(add2)+'  Risultato: '+str(ris)+'\n')

                create_file.close()

        else:

            print

    menu()



def sott():

    try:

        sott = input('\nInserisci il primo numero: ')

        sott2 = input('\nInserisci il secondo numero: ')

        if 'Sottrazione' in calcoli_oggi:

            calcoli_oggi.append('+ Sottrazione')

        else:

            calcoli_oggi.append('Sottrazione')

    except:

        print 'Errore..'

    else:

        ris = sott-sott2

        print '\nRisultato >> ', sott-sott2

        create = raw_input('\nVuoi anche creare un log in txt con il risultato? (s/n): ')

        if create=='s':

                create_file = open('pycalc_calcoli.txt','a')

                create_file.write('Calcolo: '+str(sott)+'-'+str(sott2)+'  Risultato: '+str(ris)+'\n')

                create_file.close()

        else:

            print

    menu()    



def molt():

    try:

        molt = input('\nInserisci il primo numero: ')

        molt2 = input('\nInserisci il secondo numero: ')

        if 'Moltiplicazione' in calcoli_oggi:

            calcoli_oggi.append('+ Moltiplicazione')

        else:

            calcoli_oggi.append('Moltiplicazione')

    except:

        print 'Errore..'

    else:

        ris = molt*molt2

        print '\nRisultato >> ', molt*molt2

        create = raw_input('\nVuoi anche creare un log in txt con il risultato? (s/n): ')

        if create=='s':

                create_file = open('pycalc_calcoli.txt','a')

                create_file.write('Calcolo: '+str(molt)+'x'+str(molt2)+'  Risultato: '+str(ris)+'\n')

                create_file.close()

        else:

            print

    menu()      



def div():

    try:

        div = input('\nInserisci il primo numero: ')

        div2 = input('\nInserisci il secondo numero: ')

        if 'Divisione' in calcoli_oggi:

            calcoli_oggi.append('+ Divisione')

        else:

            calcoli_oggi.append('Divisione')

    except:

        print 'Errore..'

    else:

        ris = div/div2

        print '\nRisultato >> ', div/div2

        create = raw_input('\nVuoi anche creare un log in txt con il risultato? (s/n): ')

        if create=='s':

                create_file = open('pycalc_calcoli.txt','a')

                create_file.write('Calcolo: '+str(div)+'/'+str(div2)+'  Risultato: '+str(ris)+'\n')

                create_file.close()

        else:

            print

    menu()



def potenza():

        try:

            elev = input('\nInserisci il numero da elevare: ')

            quanto = input('\nA quale potenza?: ')

            if 'Potenza' in calcoli_oggi:

                calcoli_oggi.append('+ Potenza')

            else:

                calcoli_oggi.append('Potenza')

        except:

            print 'Errore..'

        else:

            ris = elev**quanto

            print '\nRisultato >> ', elev**quanto

            create = raw_input('\nVuoi anche creare un log in txt con il risultato? (s/n): ')

            if create=='s':

                create_file = open('pycalc_calcoli.txt','a')

                create_file.write('Calcolo: '+str(elev)+' alla potenza '+str(quanto)+'  Risultato: '+str(ris)+'\n')

                create_file.close()

            else:

                print

        menu()

   

def log():

    try:

        num = input('\nInserisci il numero da cui ricavare il logaritmo: ')

        if 'Logaritmo' in calcoli_oggi:

            calcoli_oggi.append('+ Logaritmo')

        else:

            calcoli_oggi.append('Logaritmo')

    except:

        print 'Errore..'

    else:

        ris = math.log(num)

        print '\nRisultato >> ', math.log(num)

        create = raw_input('\nVuoi anche creare un log in txt con il risultato? (s/n): ')

        if create=='s':

            create_file = open('pycalc_calcoli.txt','a')

            create_file.write('Calcolo (numero): '+str(num)+'  Logaritmo: '+str(ris)+'\n')

            create_file.close()

        else:

            print

    menu()



def gradi():

    try:

        angolo = input("\nInserisci l'angolo in radiante da convertire in gradi: ")

        if 'Angolo [to_gradi]' in calcoli_oggi:

            calcoli_oggi.append('+ Angolo [to_gradi]')

        else:

            calcoli_oggi.append('Angolo [to_gradi]')

    except:

        print 'Errore..'

    else:

        ris = math.degrees(angolo)

        print '\nRisultato >> ', math.degrees(angolo)

        create = raw_input('\nVuoi anche creare un log in txt con il risultato? (s/n): ')

        if create=='s':

            create_file = open('pycalc_calcoli.txt','a')

            create_file.write('Angolo: '+str(angolo)+'  Gradi da radiante: '+str(ris)+'\n')

            create_file.close()

        else:

            print

    menu()



def rad():

    try:

        angolo = input("\nInserisci l'angolo in gradi da convertire in radiante: ")

        if 'Angolo [to_radiante]' in calcoli_oggi:

            calcoli_oggi.append('+ Angolo [to_radiante]')

        else:

            calcoli_oggi.append('Angolo [to_radiante]')

    except:

        print 'Errore..'

    else:

        ris = math.radians(angolo)

        print '\nRisultato >> ', math.radians(angolo)

        create = raw_input('\nVuoi anche creare un log in txt con il risultato? (s/n): ')

        if create=='s':

            create_file = open('pycalc_calcoli.txt','a')

            create_file.write('Angolo: '+str(angolo)+'  Radiante da gradi: '+str(ris)+'\n')

            create_file.close()

        else:

            print

    menu()



def lista():

    listn = 0

    if len(calcoli_oggi) > 0:

        while listn < len(calcoli_oggi):

            print '>', calcoli_oggi[listn]

            listn = listn + 1

    else:

        print '\nNon hai ancora fatto operazioni!\n'

    menu()



def help():

    print '\n\nPyCalc\nAuthor: SiD\nwww.cyber-sec.helloweb.eu\n'

    print 'I comandi disponibili sono da 1 a 10 e le operazioni disponibili sono:\nAddizione, sottrazione, moltiplicazione, divisione, potenza, logaritmo, calcolo gradi da angolo in radiante e calcolo radiante da angolo in gradi\n'

    menu()

   

def menu():

    print '\nPyCalc # Author: SiD #\nPer Info e Aiuto digita "help"\n'

    print '1. Addizione'

    print '2. Sottrazione'

    print '3. Moltiplicazione'

    print '4. Divisione'

    print '5. Potenza'

    print '6. Logaritmo'

    print '7. Ricava angolo in gradi (da radiante)'

    print '8. Ricava una radiante (da gradi)'

    print '9. Visualizza le operazioni di oggi'

    print '10. Esci'

    menu = raw_input('Command (1 to 10 or help): ')

    if menu == '1':

        add()

    elif menu == '2':

        sott()

    elif menu == '3':

        molt()

    elif menu == '4':

        div()

    elif menu == '5':

        potenza()

    elif menu == '6':

        log()

    elif menu == '7':

        gradi()

    elif menu == '8':

        rad()

    elif menu == '9':

        print

        lista()

    elif menu == '10':

        print '\nGrazie per aver usato PyCalc! @Author: SiD'

    elif menu == 'help':

        help()

    else:

        print '\nComando invalido!'



menu()