Finished watching a movie online ? save the movie in your machine without downloading

alright. I’ve been watching TV series for the paste couple of days non-stop . one of the things keep bothering me is to save the file after finish watching it online . So I thought I’ll just write a script to do it for me . (I know this can be done in couple of lines . but I added some function which made the code bigger than I thought )

so the script can be found at HERE (Only tested in Ubuntu 12.10 – Chromium. Feel free to change the code for your requirements )

its easy but you need to have ruby installed and the gem “readline”

install Ruby on Ubuntu

sudo apt-get install ruby

install Readline Gem

sudo gem install readline

Ok now we have ruby and readline gem installed now lets go trough the installation process

cd /tmp
wget -O  flash_save
chmod -x flash_save
sudo mv flash_save /usr/local/bin/flash_save
cd ~/

Ok to run flash_save just type “flash_save” and it will get your home folder and save the file in there
or you can give a instruction.

flash_player /home/nuke/Video/big_bang_theory_S1_E01.flv
[+] saved in /home/nuke/Video/big_bang_theory_S1_E01.flv

and if you have multiple videos in your browser it will give you a prompt to select what video to save . use the “help” command to get the instructions . using “list” command you will be able to get the no list of the loaded files and “play ” will play the selected video so can check before downloading and finally “save ” will save the video to the path given

nuke@ihackmybox:~/$ flash_save /home/nuke/Videos/big_bang_theory_S3-E11.flv
[!] You have more than one flash player loaded in your browser
> help
help          : gets the list of the commands
list          : list the number of the vid file
play  : will play the selected file with the given player
save          : will save the file
quit          : exit the prompt
> list
> play 24
VLC media player 2.0.1 Twoflower (revision 2.0.1-0-gf432547)
[0x1f19108] main libvlc: Running vlc with the default interface. Use 'cvlc' to use vlc without interface.
> save 24
[+] saved in /home/nuke/Videos/big_bang_theory_S3-E11.flv
> quit

Using VLC as the media player

@@default_player = 'vlc' <= Change that to "vlc"
@@mem_id = 12624
@@files = []
@@path = Dir.home # You can change the path to anyplace you want
@@file_name = "#{rand(6)}.flv"
@@list_item = []

Alright mates have fun


Metasploitable 2 FTP Exploitation (vsftpd backdoor) SESSION 1

Metasploitable 2 has been released for a while I didn’t had a chance to use it . so I tried it today and I thought of writing  what I’m trying on metaploitable on the blog .

so I started with a simple PING nmap scan on the internal network to see what are the hosts which is running at the moment

Starting Nmap 6.01 ( ) at 2013-03-04 08:47 EST
Nmap scan report for
Host is up (0.00093s latency).
MAC Address: D8:6H:4C:EA:BB:B1 (Tp-link Technologies Co.)
Nmap scan report for
Host is up.
Nmap scan report for
Host is up (0.00022s latency).
MAC Address: 00:64:BE:8M:YD:12 (Sony)
Nmap scan report for
Host is up (0.0010s latency).
MAC Address: 08:00:27:A2:76:F2 (Cadmus Computer Systems)
Nmap done: 256 IP addresses (4 hosts up) scanned in 3.48 seconds

Continue reading