Category Archives: GNU / LINUX

All Articles Related to GNU Softwares, Linux Kernel, GNU / Linux Distro’s, HURD goes in This category

IronWasp on Linux

Those looking for how to download and install IRONWASP on linux.

One Line copy paste code.

wget -O ~/ && sh ~/

Those looking for some read can continue from here.

This post will talk about running IronWasp on Linux. So a little background.

IRONWASP : (from

IronWASP (Iron Web application Advanced Security testing Platform) is an open source system for web application vulnerability testing. It is designed to be customizable to the extent where users can create their own custom security scanners using it. Though an advanced user with Python/Ruby scripting expertise would be able to make full use of the platform, a lot of the tool’s features are simple enough to be used by absolute beginners.

Where does Linux comes into picture?

IronWASP is based on fiddlercore and uses .net for UI Designing. Hence running on linux was a bit hard. Mono is out of question here as fiddler core doesn’t play well with mono. Me and Lava did worked on checking if mono can support but the efforts didn’t work out. Then Came the crossoveroffice Give away Sale and a surprise tweet from R3dsm0k3 about being able to run ironwasp successfully through crossover office on MAC


From that time i was wondering why only crossover office we should be able to do it directly in wine. Finally today i got some time to sit and see how crossover do it and what could be done with Wine. and here is the output.

Disclaimer : this is in no ways a fully baked script, its bits and pieces joined overnight to get things working. I can’t promise that a new release will be done but would surely help anyone who wants to work on it.

Once you run this script all you need to do is click on next next finish for .net 20 installations and soon you will find an icon on your Linux desktop named IWASP which will launch Ironwasp for you. in the Background script will be automatically downloading and installing various dependencies required and configuring the system

Prerequsites : wine version >= 1.4 and internet connectivity.

Will try to see if i can make a video for the same setup till them this texual output should be enough.

Note: During setup if there is a prompt to restart now or later please select restart now. your system won’t reboot just wine restarts.

Download Link :

One Liner

wget -O ~/ && sh ~/


Feel free to suggest changes or comment.


1) UI-Designer doesn’t work for drag and drop UI building, for 32 bit Linux(working on 64 bit linux). (Mac working is confirmed by r3dsm0k3)


22-01-2013 :
1) r3dsm0k3 confirmed that script works on Mac too.
2) Code added modified to add reference.
3) Shortcut details updated to correct few issues when the api tree was not visible on right side.
4) dos2unix converted web edit’s caused script to go dos.
5) wineprefix specifically marked as 32bit.


1) Customization to make script work on 64bit linux instances.


In case you observe that after running the script here is an error from wine suggesting to install mono for linux / windows i would suggest rerunning the script but this time comment out the wget url for cnet and uncomment the wget url for microsoft downloads. both url are used to download .net sp2 but someone one goes down and i had better sucess ratio with cnet link. However YMMV. Feel free to add a comment here in case of any issue but make sure to include the entire output of the about listed command. This helps in quickly solving the issue.

In case you don’t want to add a lot of junk in comment i would suggest email me with the details at [email protected]

Howto add PPA in debian

I am back with some more scripting fun.

I have been working on configuring my new debian machine and found one utility very lacking in debian and that was add-apt-repository.
So i set down and took my time out and finally i am able to mix match this simple script.

Disclaimer: I know adding ppa can have adverse effects on debian machines

At this point the work that this script performs is

  1. add the repository of the ppa. (here i am using lucid as the distribution of choice, coz i am using squeeze as my debian version)
  2. add the gpg key to the keyring.


  • This script is at this pointed tested only on one machine. debian Squeeze (mint Flavoured.)

File :

Steps to install this.

  1. Download file

$ wget

2.  Save this file in /usr/sbin/

$ cp /usr/sbin/add-apt-repository

3.  Change permissions to execute

$ chmod o+x /usr/sbin/add-apt-repository

4.  Change ownership to root

$chown root:root /usr/sbin/add-apt-repository

5.  Now when ever you need to execute command type

$ sudo add-apt-repository ppa:ppa-name

Opening this script to larger audience so that we can crowdsource efforts if someone likes it.

hope this can help someone

File :

Change Log

7 – Jan – 2011 : Updated the tutorial to place the file @ /usr/sbin as suggested at various during comments.

6 – Aug – 2011 : Updated the script to deal with the security hole (although not easily exploitable) as suggested by 7eggert at comment no 23

10 Sep – 2011 : bin corrected to sbin in step 3 and 4..  : thanks to Craig for pointing that out

Innovative and interesting usage of Linux Live Disk's


Photo by bulinna

While searching for some stuff on Internet i came across this post about interesting usage of ubuntu livecd and was wondering how many more methods are possible.

So some basic usage of live cd that everyone understands and atleast expects from a live disk.

  • Bootable Operating system disk

On top of that a large array of disk’s also work in various ways possible some of them listed here :

So Here is a non exhaustive list of innovative usage of Live CD’s (already implemented or non implemented.)

  • Banks Providing Live CD with Browser Homepaged to Bank Website.
  • Internet Cafe’s operating on Live CD, Refer Internet Kiosk link here
  • To Setup Diskless dumb terminals / Thin clients booting on Live Disk for cheap workstation alternative. LTSP will be a good alternative
  • Ethical Hacking
  • Un Ethical Hacking or Cracking.
  • Disaster Recovery.
  • Forensic evidence collection.
  • Testing any Distro before switching to it.
  • OS on the RUN (when using Live USB mode)(or custom build)
  • Portable Electronic Workbench. <- Preinstalled toolkit for electronics development.
  • Portable Testing Workbench. <- complete with software testing tools installed
  • Portable bio informatics workbench
  • Quick Deployable bastion host
  • Quick Deployable / Easily Resettable Firewall.
  • Portable WebServer with demo (for web development organizations.) (Browser opening and showing the webpages)
  • Live Gaming Disc for LAN parties / Software Demo.
  • Backup O.S. in case of Hardware failure.
  • Backup, rescue and recovery of files from corrupt OS / Corrupt Partition / deleted files.
  • mass setup / replication of system in corporate or other large scale setup
  • System Migration. (burn a disk in one and reinstall in second)
  • Dedicated partitioning tool for hardware vendors and enthusiast’s
  • Cluster on Live CD / Load balancer on live Disk.
  • Virus cleaning Kit. (antivirus, rootkit checker, togen and malware detector.)

some other very innovative usage that came in during discussion including

  • Coasters
  • Wheels
  • Frisbee

I large number of usage have been collected by the community effort using following threads in various forums :

So what do you thing what else could be done if you have to opportunity to create a  Live Disk

Better UBUNTU : menu customization and hotkeys

Last few Days i was busy customizing GNOME to match up with my windows 7 setup as i like to have similar interface

One of the most important part of this customization will be the Menu.

Gnome menu with three icon interface is standard (“Application” “Places” and “System”) But then at times i found looking for a unified menu, i used to satisfy my needs with a gnome-main-menu on taskbar giving me a unified menu. but with windows vista and windows 7 quick search feature in place i was finding lack of facility in ubuntu-main-menu too.

Menu interface similar to Windows 7 menu

My Search finally took me to UBUNTU System Panel.

available @ <- This also has some plugin’s to display on

Its Launchpad Link is

Next Stop : Enable hotkeys

In Windows I use hotkeys a lotmost common keys are

Win + E – Open Explorer

Win + D – Minimize all and show desktop.

and one shortcut which i thought i must add in linux

Win + T – to open terminal window

So i started with search on how to add such keys.

Win+ D => gconftool-2 -t str –set /apps/metacity/global_keybindings/show_desktop “d”

Win + T => gconftool-2 -t str –set /apps/metacity/global_keybindings/run_command_terminal “t”

For more details we can refer this simple post :

I know it’s not exactly what your after but if you go to…

System > Preferences > Keyboard Shortcuts

…and select “Launch home directory”, you can assign Win+e to load your home folder. If you’ve set up the sidebar in nautilus as directory structure, you should be set.

Hope that’s of some use.

set browser to Win W

set terminal to Win T

Also you can map windows Key to the Menu but then it will not be available for other actions.

so i went ahead and marked my right Win key for menu an left winows key remain intact for my shortcuts to work.

Note : to mark right win key as USP_Hotkey  use Super_R a the identifier.