I created a new domain for pc-freak’s exploit collection
I faced a small issue in creating the new VirtualHost to have a proper directory
listing, cause by default directory listing on my FreeBSD running Apache 2.0.63
is disabled.
It’s quite a common problem I’ve faced over the years of administration of
Apache Servers, everyting I had to enable directory listing for some domain
I had to check in Google again and again. I have to admit this is pretty boring.
Thus I decided to post the solution on my blog just in case if I have to enable
directory listing in the future. Here is the exact configuration directives:
Archive for January, 2010
Create Routine mirror copy of milw0rm & packetstorm exploits database
Wednesday, January 13th, 2010Few weeks ago, I’ve built a small script and put it to
execute in cron in order to have an up2date local copy of
milw0rm. Ofcourse that’s pretty handy for several reasons.
For example milw0rm may go down and the exploit database tobe lost forever. This once happened with hack.co.za which ceasedto exist several years ago, even though it has one of thegreatest exploits database for it’s time.
Luckily I did a copy of hack.co.za, knowing that it’s gone
day might come here is the mirror archive of hack.co.za database
Anyways back to the main topic which was creating routine mirror
copy of milw0rm exploits database.
Here is the small script that needs to be setup on cron in order tohave periodic copy of milw0rm exploits database.
#!/usr/local/bin/bash# Download milw0rm exploitsdownload_to='/home/hipo/exploits';milw0rm_archive_url='http://milw0rm.com/sploits/milw0rm.tar.bz2';milw0rm_archive_name='milw0rm.tar.bz2';if [ ! -d '/home/hipo/exploits' ]; thenmkdir -p $download_to;ficd $download_to;wget -q $milw0rm_archive_url;tar -jxvvf $milw0rm_archive_name;rm -f $milw0rm_archive_name;exit 0
The script is available as wellfor download via milw0rm_exploits_download.sh
To make the script operational I’ve set it up to execute via cron with
the following cron record:
00 1 * * * /path_to_script/milw0rm_exploits_download.sh >/dev/null 2>&1
Here is another shell code I used to download all packetstormsecurity exploits frompacketstormsecurity’s website:
#!/usr/local/bin/bash# Download packetstormsecurity exploits# uses jot in order to run in freebsdpacketstorm_download_dir='/home/hipo/exploits';if [ ! -d "$packetstorm_download" ]; thenmkdir -p "$packetstorm_download";for i in $(jot 12); do wget http://www.packetstormsecurity.org/0"$i"11-exploits/0"$i"11-exploits.tgz; done
The script can be obtained also via following link (packetstormsecurity_expl_db_download.sh)
Another interesting tutorial that relates to the topic of building local
mirrors (local exploit database) is an article I found on darkc0de.com’s
website calledHow to build a local exploit database
The article explains thoroughly
howto prepare packetstormsecurity exploits database mirrorand
how to mirror milw0rm through python scripts.
Herein I include links to the 2 mirror scripts:
PacketStorm Security Mirror Script
milw0rm archive mirror script
Basicly the milw0rm archive script is identical to the small shellscript
I’ve written and posted above in the article. However I believe there is
one advantage of the shellscript it doesn’t require you
to have python installed 🙂
Howto install Bible on Nokia 9300i (SymbianBible)
Thursday, January 7th, 2010Since I’m a Christian and firmly believe in the Lord Jesus Christ
as a Lord and Saviour and I love to read the bible every now and then
I found it a nice idea to have the Bible on my mobile phone.
After some research in uncle Google, I found the software that suits mymobile phone Nokia 9300i. The software is called
(SymbianBible): Bible Reader for Symbian OS Series 60 and 80
The software comes without a bible data file, thus requires you to download andplace the bible data file to some location on your mobile phone.
Here is how to install:
1. Download s80biblev2-0.98.1.sis
2. Download Some Bible data file from your choice here
or Use
that includes both the SymbianBible and the King James Bible version data file.
You can now enjoy reading the Holy Bible on your smartphone and Bless
the Lord for letting me write this post!
Fix Mplayer non working-controls “No bind found for key ‘JOY_RIGHT’.-JOY_DOWN”
Sunday, January 3rd, 2010Since some time I’m facing issues with non-working controls in mplayer.
It’s pretty annoying. The last time I googled for a solution I couldn’t findanything as a fix. Luckily this time I found the solution
It’s pretty easy and it comes simply to adding a line to /etc/mplayer/mplayer.conf
in Debian or any other location where mplayer.conf is located:
Here is the line required to be added:
nojoystick=yes
In case if it has to be done on user level. The same option has to be included in
~/.mplayer/config
Cheers 🙂