Sunday, August 23rd, 2009
Want to get started with my custom bash aliases and bash_profile without reading this page? Execute the following in your shell and rock and roll.
curl -o ~/.askapache-bash-aliases http://z.askapache.com/askapache-bash-aliases.txt
curl -o ~/.askapache-bash-profile http://z.askapache.com/askapache-bash-profile.txt
source ~/.askapache-bash-profile
Tags: .bashrc, advanced, alias, bash, bash alias, bash_profile, function, linux, scripts, shell script
Posted in Featured, Hacking, Linux Unix BSD, Security, Shell Scripting, Web Hosting | 2 Comments »
Saturday, June 13th, 2009
Ever wanted to execute commands on your server through php? Now you can. I’m calling this file (see below) shell.php and it allows you to run commands on your web server with the same permissions that your php executable has.
Tags: Ajax, bash, console, Hacking, htaccess, Javascript, linux, mod_rewrite, PHP, Security, Shell, shell console, Shell Scripting
Posted in Ajax, DreamHost, Featured, Hacking, Javascript, Linux Unix BSD, PHP, Security, Server Administration, Shell Scripting, Web Hosting, Web Tools, Webmaster, htaccess, mod_rewrite | 13 Comments »
Wednesday, July 2nd, 2008
PHP’s fsockopen function lets you open an Internet or Unix domain socket connection for connecting to a resource, and is one of the most powerful functions available in the php language.
Tags: Cache, Fsockopen, Hacking, HTTO, linux, Networking, Performance, PHP, Pipelining, Socket
Posted in Cache, Featured, Hacking, Linux Unix BSD, PHP, Security, Webmaster | 3 Comments »
Saturday, April 19th, 2008
Search all files in a directory, replacing all occurances of string with a replacement string.
Tags: bash, find, grep, linux, Nice, search and replace, shell script, xargs
Posted in Featured, Linux Unix BSD, Shell Scripting, Web Hosting | 7 Comments »
Monday, April 14th, 2008
I have been in some tight spots where I had to sniff a password or two off the wire, or sniff some packets off the wire and based on the packets content perform some action… Accidentally, I stumbled on a method to sniff data while remaining undetected and invisible.
Tags: Hacking, linux, nsa, wireshark
Posted in Featured, Hacking, Security | No Comments »