![]() |
|
[Batch] Get IP and save to file - Printable Version +- Sinisterly (https://sinister.ly) +-- Forum: Coding (https://sinister.ly/Forum-Coding) +--- Forum: Coding (https://sinister.ly/Forum-Coding--71) +--- Thread: [Batch] Get IP and save to file (/Thread-Batch-Get-IP-and-save-to-file) Pages:
1
2
|
[Batch] Get IP and save to file - 1234hotmaster - 01-31-2011 hi guys its a simple code. Open notepad then copy paste this: Code: @echo off
start www.hackcommunity.com
echo *-----------------------------------------------*
echo hope you like it made by 1234hotmaster
echo *-----------------------------------------------*
ipconfig /all >> ipconfig.txt
pauseafter opening you will see a new file named ipconfig.txt made in the same directory ![]() Have a nice day :thumbs: RE: [Batch] Get IP and save to file - ahsanciit - 02-06-2011 nice 1//////try it,, RE: [Batch] Get IP and save to file - Lenalee - 02-07-2011 is that the /all code to the save thing? RE: [Batch] Get IP and save to file - 1234hotmaster - 02-07-2011 yep. type IPconfig in cmd and you will get your details. i just made it save to a file in the curdir
RE: [Batch] Get IP and save to file - Lenalee - 02-08-2011 (02-07-2011, 11:22 AM)1234hotmaster Wrote: yep. type IPconfig in cmd and you will get your details. i just made it save to a file in the curdir ok thx for the help
RE: [Batch] Get IP and save to file - 1llusion - 03-29-2011 !!! you just gave me an epic idea ![]() Thanks!!! Its awesome!!! RE: [Batch] Get IP and save to file - 1234hotmaster - 03-29-2011 what! you just gave me an epic idea too! grabbing the ip without the whatsmyip automation page!!! you can shell it and then extract the ip in vb!!
RE: [Batch] Get IP and save to file - 1llusion - 03-29-2011 (03-29-2011, 03:45 PM)1234hotmaster Wrote: what! you just gave me an epic idea too! grabbing the ip without the whatsmyip automation page!!! or you can make a remote CMD
RE: [Batch] Get IP and save to file - Coder-san - 03-30-2011 Or you can try to find an alternative. If IPv6 is enabled, you will only see the IPv6 address, not the IPv4 which you are looking for. RE: [Batch] Get IP and save to file - DeM0STheneS - 04-19-2011 (03-29-2011, 03:45 PM)1234hotmaster Wrote: what! you just gave me an epic idea too! grabbing the ip without the whatsmyip automation page!!! This is brilliant. As an amateur, this is a perfect way to learn. If you have the time, could you, or someone, possibly list some steps on doing more with this code. Reluctantly, I must admit that I don't know what it means to shell something. The only thing I can think of is running the code off the cmd line or the shell in Linux. That I might be able to do..... Any input? For now, it can be used as a quick way to get all the information possible about a server/ip just by entering domain. (whois) Thank you for sharing the code, gives me something to ponder today ! :thumbs: |