Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17

Thread: Hacking with DOS?

  1. #11
    Senior Member
    Join Date
    Sep 2004
    Posts
    117
    yup....agree with you....

    u just told the kids something new

    i immagine the copy and paste.... wish there was a counter for that loool

  2. #12
    Senior Member
    Join Date
    Dec 2004
    Posts
    3,171
    beee, please read scratchINtheBOX's previous post ( that's the one right before yours on page one )

    Thanks,

    Eg

  3. #13
    AFLAAACKKK!!
    Join Date
    Apr 2004
    Posts
    1,066
    Ok, obviously some people don't get what scratchinthebox was trying to say, so I'll translate it:

    Don't post in 2 year old threads!!!
    I am the uber duck!!1
    Proxy Tools

  4. #14
    i'll make the post of Theduck even more clear

    Don't post in 2 year old threads!!! <--------------------
    Don't post in 2 year old threads without any wothwile answers or suggestions!!!:-D

  5. #15
    Senior Member
    Join Date
    Jan 2005
    Posts
    217

    Arrow READ THE FAQ

    beee,

    Now, I can see more reasons why the AO guys are pissed off and will probably NEG you some if you don't get yourself more AWARE of the FAQ.

    Yo!
    \"Life without FREEDOM is no life at all\". - William Wallace
    MyhomE MyboX StealtH (loop n. see loop.)
    http://www.geocities.com/sebeneleben/SOTBMulti.gif

  6. #16
    thank you for all your sugestions

  7. #17
    Junior Member
    Join Date
    Jan 2006
    Posts
    1
    I wrote an IP-Scanner in Batch, too. Look at this (long version/short version):



    ================================================================@ echo off

    if %1 == --help goto hlp

    set a=0
    set aa=0
    set b=%2
    set c=-n
    set d=-f

    del alive.txt
    del shared.txt

    :loop
    cls
    set a=%1
    set /a b = b + 1

    if %b% == %3 goto end

    echo testing %a%%b%
    ping -n 1 -i 1 -l 1 -w 1 %a%%b% |find /i "Empfangen = 1" || goto endofloop
    rem ===:::>>> der errorlevel beim ping gibt nicht immer 0 für erfolgreich aus, gelöst mit "||" (nachfolgendes bei fehlschlag des vorherigen ausführen)

    echo ==========================>>alive.txt
    echo %a%%b%>>alive.txt
    if %c% == %4 goto netname
    if %c% == %5 goto netname

    rem ===:::>>> durch die obige Funktion kann man die Parameter -n und -f in beliebiger Reihenfolge zueinander angeben

    goto 1

    :netname

    nslookup %a%%b% |find "Name:">>alive.txt


    :1

    if %d% == %4 goto share
    if %d% == %5 goto share
    goto endofloop

    :share

    echo ==========================>>shared.txt
    echo %a%%b%>>shared.txt
    net view %a%%b%>>shared.txt

    :endofloop
    cls

    goto loop

    :hlp

    echo .
    echo ===== Hilfe =====
    echo Parameter1: IP bis zur 3. Stelle, inkl. Punkt
    echo Parameter2: 4. Stelle der IP bei der der Scan starten soll
    echo Parameter3: 4. Stelle der IP bei der der Scan enden soll
    echo Parameter4: -n ; Namensaufloesung (auch von offline Rechnern da nslookup!)
    echo Parameter5: -f ; zeigt die Netzwerkfreigaben (experimentel)
    echo .
    echo Beispiele:
    echo ipscan 192.168.1. 0 66
    echo Das Netz 192.168.1.1-66 wird gescant.
    echo ipscan 192.168.1. 6 9 -n
    echo Das Netz 192.168.1.6-9 wird gescant + NetBIOS-Names werden ausgelesen
    goto end2


    :end
    cls
    type alive.txt

    :end2

    =========================================================
    =========================================================
    @echo off

    echo IP-Scan>ipscanlog
    echo Starttime:>>ipscanlog
    time /t>>ipscanlog
    set a=81.201.41.
    set b=1


    :loop
    set /a b=b+1
    if %b%==25 goto end
    ping %a%%b% -n 1 -l 10 -w 1|find "Empfangen = 1"
    if errorlevel 1 echo %a%%b% is dead>>ipscanlog
    if not errorlevel 1 echo %a%%b% is alive>>ipscanlog
    REM cls
    goto loop


    :end
    find "alive" ipscanlog
    echo Starttime:>>ipscanlog
    time /t>>ipscanlog
    find ":" ipscanlog
    echo.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •