Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Resolve IP from /etc/hosts
danielhilst
Jun 27th, 2012
144
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
text
0.17 KB
| None
|
0
0
raw
download
clone
embed
print
report
#!/usr/bin/perl
use Socket;
print "$ARGV[0]\n";
$iaddr = inet_aton($ARGV[0]); # or whatever address
$name = gethostbyaddr($iaddr, AF_INET);
print "Host name is $name\n";
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
the format
7 min ago | 0.58 KB
⭐ Exploit Documentation ⭐
CSS | 27 min ago | 1.04 KB
✅ API Flaw Money Method
CSS | 28 min ago | 1.04 KB
This month smells like money
CSS | 28 min ago | 1.04 KB
z66is_archive.zip.txt
57 min ago | 2.02 MB
COmpREss compressor for data compression
8 hours ago | 2.47 KB
Plato and Skinner - a fiction
14 hours ago | 4.54 KB
puter.tor.gif.txt
22 hours ago | 1,013.93 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!