Batch help

Discussion in 'Computing, Science, and Technology' started by ipodtoouchhacker, Nov 8, 2008.

  1. ipodtoouchhacker

    ipodtoouchhacker New Member

    Joined:
    Jan 27, 2008
    Messages:
    203
    Likes Received:
    8
    Ms-dos Batch file help PLEASE HELP!

    @echo off
    :menu
    cls
    echo IIIIIIIIIII MMMMM AAAAA H H AAAAA CCCCC K K E EEE RRRR
    echo | | M M M A A A HHH A A A C K K E E R R
    echo IIIIIIIIII M M M A A H H A A CCCCC K K E EEE R R
    Pause
    echo ______________________________________________________________________________
    echo | Welcome to: Imahacker4ever's Network info |
    echo | |
    echo | The place where you can get all your Tcp-IP, current connections \/ |
    echo | Dns, gateway, static ip, and instructions on how to do stuff |
    echo _______________________________________________________________________________
    pause
    echo OPTIONS:
    echo Press A for your basic IP info ex. gateway (which is your routers ip address) , subnet mask, IP address (which is your computers ip address)
    echo.
    echo Press B for your Complete IP info
    echo.
    echo Press C for Your browser to start ip and take u to a website that will show you your real IP address
    echo Note: IPchicken is totally safe it will not steal your ip.
    echo Note 2: This will only work if you have the firefox or internet explorer Browsers
    echo.
    echo Press D to learn how to change your ip
    echo.
    echo Press E To see all your current connections
    echo.
    echo Press F to learm the syntax of the "netstat" command so you can learn how to put it to good use
    echo.
    echo Press G to learn the syntax of the "ipconfig" command so you can learn how to put it to good use
    echo.
    echo Press X to Exit out of this program.
    echo.
    echo.
    echo.
    set /p network=Option:
    if %network%==A ipbasic
    if %network%==a goto ipbasic
    if %network%==B goto ipcomplex
    if %network%==b goto ipcomplex
    if %network%==C goto c4chicken
    if %network%==c goto c4chicken
    if %network%==D goto changeme
    if %network%==d goto changeme
    if %network%==E goto cc
    if %network%==e goto cc
    if %network%==F goto syntaxnetstat
    if %network%==f goto syntaxnetstat
    if %network%==G goto syntaxipconfig
    if %network%==g goto syntaxipconfig
    if %network%==X goto exit
    if %network%==x goto exit
    if %network#==* goto error
    goto error
    :ipbasic
    ipconfig
    pause
    goto menu
    :ipcomplex
    ipconfig/all
    pause
    goto menu
    :c4chicken
    start iexplore.exe ipchicken.com
    start firefox.exe ipchicken.com
    goto menu
    :changeme
    echo Hi
    echo Today I will be helping you change your IP...
    Pause
    cls
    echo If this doesnt work Well.... Don't get mad at me!
    pause
    cls
    echo Oh... and this won't do this all for you... But ill help ypu with the last part.
    pause
    echo First i'm going to do something called "RELEASE", this will "release" all of your current internet and network connectons
    echo but it won't harm anything! Note: You WILL loose your internet and network connections for a couple seconds...
    echo So save all open work...
    pause
    ipconfig/release
    echo First step done but...
    pause
    echo next step is to unplug your router/routers, turn them off
    :cc
    netstat -a
    pause
    goto menu
    :syntaxnetstat
    netstat ?
    pause
    goto menu
    :syntaxipconfig
    ipconfig ?
    pause
    goto menu
    :exit
    exit
    :error
    echo Invalid command. Please make sure the commands you type
    echo in are correct.
    pause
    cls
    goto menu




    it just opens and closes in about half a second
    p.s sorry if the tops a little messed up but its because i copied and pasted
    help much appreciated
    -imahacker4ever aka ipodtouchhacker
  2. iPTF_BROWSER

    iPTF_BROWSER Active Member

    Joined:
    Aug 17, 2008
    Messages:
    1,623
    Likes Received:
    20
    Device:
    HTC One

Share This Page