lgvlgv Posted December 5, 2012 Share Posted December 5, 2012 (edited) Im looking for a script that can 1. send a "FAKE (the server would have a static ip)" DHCP request broadcast 2. then send a release. The reason i would want to do this would be to see if there are adresses availeble. The DHCP servers could be my own as well as OTHER ISP providers,,, Is it possible to make a fake request and then pic it up in autoIT? Anyone have any idea how to approch that? //Regards Lasse PS. it could also be dangerus if some one fake the MAC addresses and pick up every availeble addresses in the scope.. maybe its a stupid approtch Edited December 5, 2012 by lgvlgv Link to comment Share on other sites More sharing options...
spudw2k Posted December 6, 2012 Share Posted December 6, 2012 There's a good chance you'll get the same ip "depending on the dhcp server" but you'll also effectively reduce the ip pool by one for the duration of lease time (if not longer) even if you don't use it. Looking at the DHCP process as explained on the wikipedia article it may be possible to send a discovery request and listen for a DHCP offer but not continue the process (request, retrieve ack), but I don't know how to script it myself. If you come up with something i'd be interested in seeing it. Spoiler Things I've Made: Always On Top Tool ◊ AU History ◊ Deck of Cards ◊ HideIt ◊ ICU ◊ Icon Freezer ◊ Ipod Ejector ◊ Junos Configuration Explorer ◊ Link Downloader ◊ MD5 Folder Enumerator ◊ PassGen ◊ Ping Tool ◊ Quick NIC ◊ Read OCR ◊ RemoteIT ◊ SchTasksGui ◊ SpyCam ◊ System Scan Report Tool ◊ System UpTime ◊ Transparency Machine ◊ VMWare ESX BuilderMisc Code Snippets: ADODB Example ◊ CheckHover ◊ Detect SafeMode ◊ DynEnumArray ◊ GetNetStatData ◊ HashArray ◊ IsBetweenDates ◊ Local Admins ◊ Make Choice ◊ Recursive File List ◊ Remove Sizebox Style ◊ Retrieve PNPDeviceID ◊ Retreive SysListView32 Contents ◊ Set IE Homepage ◊ Tickle Expired Password ◊ Transpose ArrayProjects: Drive Space Usage GUI ◊ LEDkIT ◊ Plasma_kIt ◊ Scan Engine Builder ◊ SpeeDBurner ◊ SubnetCalcCool Stuff: AutoItObject UDF ◊ Extract Icon From Proc ◊ GuiCtrlFontRotate ◊ Hex Edit Funcs ◊ Run binary ◊ Service_UDF Link to comment Share on other sites More sharing options...
nitekram Posted December 6, 2012 Share Posted December 6, 2012 Don't know if this is what you were looking for, but thought I would post and see if you can use it. http://serverfault.com/questions/23724/any-way-to-find-unused-ip-addresses-on-my-network 2¢ All by me:"Sometimes you have to go back to where you started, to get to where you want to go." "Everybody catches up with everyone, eventually" "As you teach others, you are really teaching yourself." From my dad "Do not worry about yesterday, as the only thing that you can control is tomorrow." WIKI | Tabs; | Arrays; | Strings | Wiki Arrays | How to ask a Question | Forum Search | FAQ | Tutorials | Original FAQ | ONLINE HELP | UDF's Wiki | AutoIt PDF AutoIt Snippets | Multple Guis | Interrupting a running function | Another Send StringRegExp | StringRegExp Help | RegEXTester | REG TUTOR | Reg TUTOT 2 AutoItSetOption | Macros | AutoIt Snippets | Wrapper | Autoit Docs SCITE | SciteJump | BB | MyTopics | Programming | UDFs | AutoIt 123 | UDFs Form | UDF Learning to script | Tutorials | Documentation | IE.AU3 | Games? | FreeSoftware | Path_Online | Core Language Programming Tips Excel Changes ControlHover.UDF GDI_Plus Draw_On_Screen GDI Basics GDI_More_Basics GDI Rotate GDI Graph GDI CheckExistingItems GDI Trajectory Replace $ghGDIPDll with $__g_hGDIPDll DLL 101? Array via Object GDI Swimlane GDI Plus French 101 Site GDI Examples UEZ GDI Basic Clock GDI Detection Ternary operator Link to comment Share on other sites More sharing options...
JohnOne Posted December 6, 2012 Share Posted December 6, 2012 A few years back I needed to get a new IP for some reason. The only way which worked (with my ISP at least) was to change/spoof my NIC MAC address with (smac I think it was), leave my modem off for a few hours (or until lease expired) and reconnect. It never worked first time, but it did the second. probably does not help you though. AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans. Link to comment Share on other sites More sharing options...
lgvlgv Posted December 6, 2012 Author Share Posted December 6, 2012 thx for the replys, think i found something interesting in this threed just have to figure out all the right values in the broadcasts.. it working good for me to see request and server reply, just need to figure out the hole communication between server and client. //Thx all Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now