blog.ant0i.net - my little techie blog
Showing posts with label tips-and-tricks. Show all posts
Showing posts with label tips-and-tricks. Show all posts
Tuesday, July 23, 2013

Perl TCP Listener

›
As a note to self, comes in handy whenever you're missing netcat: #!/usr/bin/perl -w use IO::Socket; use Net::hostent; $...
Saturday, June 16, 2012

How to enable IP Forwarding in Mac OS X

›
Another note to self: how to enable IP forwarding in Mac OS X: sudo sysctl -w net.inet.ip.forwarding=1 (credit: Stack Exchange )
Thursday, May 24, 2012

How to disable ASLR in Linux

›
Quick note to self on how to disable ASLR (address space layout randomization) in Ubuntu Linux: $ sudo sh -c "echo 0 > /proc/sys/k...
Wednesday, April 4, 2012

How to get a List of Installed JVMs on a Mac

›
I got this tip from a fellow worker: $ /usr/libexec/java_home -V This command will get you the list of installed Java Virtual Machines inst...
Sunday, April 1, 2012

Inspecting the Process Environment Variables with GDB

›
While trying to solve the 4th level of the vortex wargame , I found it was necessary to learn how to inspect the location and content of the...
Friday, October 21, 2011

how to (quickly) perform a dns lookup without nslookup, dig, etc

›
Use perl for example: $ perl -e 'use Socket; print inet_ntoa(inet_aton("example.com"));'
1 comment:
›
Home
View web version

About Me

antoinet
View my complete profile
Powered by Blogger.