Category Archives: GENERAL

script kiddie blocker

this post is in continutation to the thread here : http://www.garage4hackers.com/f11/script-kiddie-blocker-2581.html

based on the details that i have gathered so far here …

Here is a htaccess code which you can use.

#Script kiddie blocker start 
#License: GPLv2 or later
#License URI: http://www.gnu.org/licenses/gpl-2.0.html
RewriteEngine On  
<IfModule mod_rewrite.c> 
RewriteCond %{HTTP_USER_AGENT} ^w3af.sourceforge.net [NC,OR] 
RewriteCond %{HTTP_USER_AGENT} dirbuster [NC,OR] 
RewriteCond %{HTTP_USER_AGENT} nikto [NC,OR]
RewriteCond %{HTTP_USER_AGENT} SF [OR]
RewriteCond %{HTTP_USER_AGENT} sqlmap [NC,OR] 
RewriteCond %{HTTP_USER_AGENT} fimap [NC,OR] 
RewriteCond %{HTTP_USER_AGENT} nessus [NC,OR] 
RewriteCond %{HTTP_USER_AGENT} whatweb [NC,OR] 
RewriteCond %{HTTP_USER_AGENT} Openvas [NC,OR] 
RewriteCond %{HTTP_USER_AGENT} jbrofuzz [NC,OR] 
RewriteCond %{HTTP_USER_AGENT} libwhisker [NC,OR] 
RewriteCond %{HTTP_USER_AGENT} webshag [NC,OR] 
RewriteCond %{HTTP:Acunetix-Product} ^WVS 
RewriteRule ^.* http://127.0.0.1 [R=301,L] 
</IfModule> 

#Script kiddie blocker End

This is a basic setup where we are redirecting these skiddies to there own system’s so that would be a fun to look at :P

I will keep adding more and more enteries as time progresses

 

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 @ http://code.google.com/p/ubuntu-system-panel/ <- This also has some plugin’s to display on

Its Launchpad Link is https://launchpad.net/usp

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 : http://www.howtogeek.com/howto/ubuntu/assign-custom-shortcut-keys-on-ubuntu-linux/

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.

BLOG camp Pune : an overview

Blog camp pune (27th june 2009) So finally i was able to attend the first unconference of my life and as expected it was fun filled day as a large gathering turned up with varied flavours in blogging. When i entered in i was a bit uncomfortable but on my way to the 7th floor of atur center i met Shahid Mukadam another blogger offcourse who claims to have a cheesy name for his blog and hence was a bit shy to publically say it loud( if you want to know just hover over his name), then along with him i came in contact with Abhinav Sonkar (another techMighty) and Himanshu Chanda of BizDharma Along with us was Sachin more And then at around 10:05 AM the conference started. Tarun Chandel kicked the event with an introduction to BLOGCAMP concept and then moving on to what and why’s of blogging.The best part was

Continue reading

Debian 5 Lenny : installation prelude

its been a long time since i posted on my blog..

Been hell lot busy on my work… but guess what as soon as i got some time i get this simply superb news…

Debian 5.0 lenny is out i have been eying for this distro for a long time using the unstable repos to get the taste of lenny and now finally lenny is here..

Continue reading

EXT2IFS : linux files on windows…..

Many of us who are dual booting their PCs have a pain when it comes to sharing resources between windows and Linux.

Let’s see what options do we have when it comes to data sharing between two o.s.

1) keep a separate partition as FAT32 for complete interoperability and then keep common data in that partition.

2) second solutions comes easy when we need to access files from windows partition in Linux,
we have native support for FAT32 as well as native read only support for NTFS (extendable to full RW (read Write) support using ntfs-3g) more on this later.

But lets today focus on the other side of the sharing…..

WHAT if you wish to access files from Linux partition while running a windows partition.

AT THIS POINT I WOULD like to introduce you to EXT2IFS which stands for EXT2 Installable File System for windows.


ifsdrive


From the official site

It installs a pure kernel mode file system driver Ext2fs.sys, which actually extends the Windows NT/2000/XP/2003/Vista operating system to include the Ext2 file system. Since it is executed on the same software layer at the Windows NT operating system core like all of the native file system drivers of Windows (for instance NTFS, FASTFAT, or CDFS for Joliet/ISO CD-ROMs), all applications can access directly to Ext2 volumes. Ext2 volumes get drive letters (for instance O:). Files, and directories of an Ext2 volume appear in file dialogs of all applications. There is no need to copy files from or to Ext2 volumes in order to work with them.

details can be seen at http://www.fs-driver.org/index.html

download EXT2IFS

although there remains some issues,

  1. file system gets case insensitive (due to inherent limitation of windows.)
  2. files with starting “.” which symbolizes hidden files are all available for public access.
  3. security and user group permission becomes invalid because windows is unable to understand and hence all the files are accessible in windows (including /root to /home folder for all person’s using the system while on windows.

Instead of providing screen shots of my own i would like to redirect you all to the official screenshots

ALSO this is not an open source product this is a freeware.
Open source product that is under development is EXT2FSD.

Reblog this post [with Zemanta]

orkut updates : themes and photo-tagging finally.

Orkut has recently done a lot of changes to its UI  engine,

most prominent being

1)light version of orkut comming to thewild covered here 

2) Theming Engine (finally out in wild)

3) Photo tagging feature : one of the few features of facbook which should have long been imported to orkut.

So this post is to let everyone know that they can now decorate their orkut profile with legitimate themes and not those creepy greasemonkey based themes.

for this you have to go to profile -> themes tab. or click here

or just select change theme on the top right hand  side.

currently orkut has a limited set of themes they will be increasing them, but the actual fun will start as soon as they start letting user’s build their own themes. (just like blogger.)

NOTE : one thing i would like to remove from all themes is the big header, it realy takes up quite a lot of screen portion.

PHOTO TAGGING.

A very much awaited feature which was one of the reason’s why i liked facebook a lot.

This will help those who are looking for old picture’s or unable to find their group photographs to catalog their pics properly.

and this also removes the limitation of uploading pics again and again on each profile (in case of group pics) , you jsut tag the pics properly and it will let everyone know that tagging is done (i.e a pic is found with thier name in it.)

NOTE : if some one tagged you in his pics you get a notification on your mail id that  you have been tagged.

TAGGING IN ACTION

I hope orkut keeps improving on its standard’s

orkut silently added light edition

hello orkut freaks,

in a silent move today orkut has introduced a new feature in its User Interface.

Now users with low bandwidth has an option to switch to light edition and this is prominently placed by a banner display if the page loading time exceed certain limit.

also the feature can be accessed through  setting also.

This low bandwidth version or what we can call lite  edition of orkut has following features most prominently visible one’s

1) Pictures ae not shown except profile pic.

2)  birthday list turns into a calender with name’s listing only.

Also Apps are by default minimized now and on selecting particular app its data is fetched.

In short by removing these picture’s a lot of bandwidth can be saved

But a lot more could have been saved if embedded object’s could have been reduced to links.