Beefy Boxes and Bandwidth Generously Provided by pair Networks
Keep It Simple, Stupid
 
PerlMonks  

Re: Advice on script

by williams554 (Sexton)
on Oct 21, 2011 at 05:06 UTC ( #932819=note: print w/replies, xml ) Need Help??


in reply to Advice on script

Is there some reason you can't use nmap?

nmap -sU 10.0.0.0-254 -p 67-68

Just wondering...Rob

Replies are listed 'Best First'.
Re^2: Advice on script
by afresh1 (Hermit) on Oct 22, 2011 at 02:10 UTC

    DHCP requests are sent to a broadcast address so that you can find an IP without having one or at least without knowing the address of the DHCP server. In this case, the "good" network might be 10.0.0.0/24, and you could scan that, but when someone plugs in a random wireless router it is likely to have and hand out IPs in the 192.168.1.0/24 network which the nmap scan wouldn't find.

    l8rZ,
    --
    andrew
Re^2: Advice on script
by doylebobs (Novice) on Oct 23, 2011 at 23:09 UTC

    This was just an exercise to get more familiar with Perl. Bob

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://932819]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (1)
As of 2022-01-28 02:13 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (72 votes). Check out past polls.

    Notices?