3 ms·
I didn't use bypass tool you've mentioned. This small ruby script #!/usr/bin/ruby a, b, c, d = $*[0].split('.').map(&:to_i) i = a * 256**3 + b * 2
by lcedp 13y ago
I didn't use bypass tool you've mentioned.
This small ruby script
#!/usr/bin/ruby
a, b, c, d = $*[0].split('.').map(&:to_i)
i = a * 256**3 + b * 256**2 + c * 256 + d
puts "dec: http://#{i}"
puts "hex: http://0x#{i.to_s(16)}"
puts "oct: http://0#{i.to_s(8)}"
..yields the following:
% ip2dword 184.172.10.74
dec: http://3098282570
hex: http://0xb8ac0a4a
oct: http://027053005112
- nwh 13y agoMy apologies, I've removed that line.