Converting images VirtualBox to VMWare

Sunday, 3 January 2010 1 comment

Suppose that we have a virtual disk that we have created with VirtualBox, where we already have our operating system installed and all the applications that we need to working perfectly, but now we need to use this same virtual machine, in VMWARE.

The idea is to migrate the disk created with VirutalBox to VMWare, without losing anything (so we don't have to reinstall everything).
Read more...

Categories: Techs Tags: ,

Putting a little more wave to the history of linux

Saturday, 21 November 2009 No comments

Setting the environment variable HISTTIMEFORMAT we can give you the format you want to use in the history of the users in linux .. since by default only records the commands executed .. but not the date, time, etc...

Read more...

Categories: Techs Tags: , , ,

Using SSH through the TOR network

Tuesday, 17 November 2009 No comments

Many times we need that our IP is a different one to the one we have now .. either for testing, pentests, to circumvent any blocking by geoip, etc..

The idea of this howto is to use SSH through the TOR network, this way we will reach the ssh server from an IP random that we assigned in the TOR network.

Read more...

Categories: Techs Tags: , ,

Doing backups with rsync & python in a simple way

Monday, 16 November 2009 No comments

This is a python script that basically runs rsync for each of the folders that we specify, making a mirror against the target server, within the directory specified.

(that is, copy the SOURCE directory, the TARGET directory on the server that you specify, leaving both directories are exactly the same)
Read more...

Categories: Techs Tags: , , ,

Doing the cleaning in your “Debian” then do upgrades

Thursday, 22 October 2009 No comments

Then do several dist-upgrades, upgrade, etc, our distro is going to accumulate a amount of porqueria important.
All of this that I detail below, serves to purge a little bit about our distro, deleting files, configs old no longer used, packages, orphans, etc
Of course all this must be done very carefully, for every case is a different world, but in large strokes, serves.

Read more...

Categories: Techs Tags: ,

Show the applications that are using the internet connection, at a particular time

Tuesday, 6 October 2009 No comments

Util commanline (taken from http://www.commandlinefu.com) that shows you all the programs that are using the internet connection at the time the script is run:

lsof -P -i -n | cut -f 1 -d " "| uniq | tail -n +2

Returns something type..
Read more...

Categories: Techs Tags: , ,

Upgrade Debian Etch to Lenny

Tuesday, 29 September 2009 1 comment

This is a guide to re-basic to update your distribution Debian Etch to Debian Lenny.

Before doing any of the steps in this guide, you have to be updated all the packages in Etch. This means:

Read more...

Categories: Techs Tags: ,

Do an upgrade of all the perl modules installed via Cpan

Thursday, 24 September 2009 No comments

I have here another beautiful commandline to do an upgrade of all the modules of perl that you have installed on our system, via CPan:

perl -MCPAN -e 'CPAN::Shell->install(CPAN::Shell->r)'
Categories: Techs Tags: , ,

Shiretoko / IceWeasel vs Facebook

Saturday, 19 September 2009 No comments

If you're a user of Debian / Ubuntu, you must have noticed that your Firefox in those distros is not called so, it has different names as to be ‘Shiretoko’ (in Ubuntu) or IceWeasel (in Debian). This is a topic of licences/trademarks (see http://2tu.us/te8).
At a glance this should not bother/cause problems to anyone, except.. for some sites that use the user-agent (http://2tu.us/te9) of the browser to display certain content.
One of those sites is nothing less than Facebook, which, if you enter using Shiretoko/Iceweasel, you change the chat windows by a horrible one that opens in the background, huge size, etc.. when in truth, the browser is 100% compatible with FF, and everything works all the same.

Read more...

Categories: Techs Tags:

To use SSH connections as proxies, SOCK5 with putty

Monday, may 11, 2009 1 comment

This is a mini tutorial to explain how to create an SSH tunnel, to be used as a proxy for browsing with Firefox (can be adapted to any thing q allow proxies SOCKS)

Read more...

Categories: Techs Tags: , ,