Tag: how to

Microsoft Windows

Monitor the changes made to OS by the installation of new software

Attack Surface Analyzer takes a snapshot of your system state before and after the installation of product(s) and displays the changes to a number of key elements of the Windows attack surface. Allows: – Developers to view changes in the attack surface resulting from the introduction of their code on to the Windows platform – …

Backtrack, Cracking, Wordlist

How to make a wordlist in BackTrack

Crunch is a wordlist generator where you can specify a standard character set or a character set you specify. crunch can generate all possible combinations and permutations. Features crunch generates wordlists in both combination and permutation ways it can breakup output by number of lines or file size now has resume support pattern now supports …

Linux, Sniffing, Wireshark

Run Wireshark as a user rather than root – Ubuntu

Messages from wireshark: Running as user “root” and group “root”. This could be dangerous. Lua: Error during loading: [string “/usr/share/wireshark/init.lua”]:45: dofile has been disabled To fix them and run wireshark as normal user and not as root which is very dangerous do the following: sudo chgrp adm /usr/bin/dumpcapsudo chgrp adm /usr/bin/dumpcap sudo chmod 750 /usr/bin/dumpcapsudo …


Upgrade from BackTrack 5 R2 to BackTrack 5 R3

1. Execute apt-get update && apt-get dist-upgradeapt-get update && apt-get dist-upgrade to make sure that your system is fully updated. 2. Install new tools 32 bit tools apt-get install libcrafter blueranger dbd inundator intersect mercury cutycapt trixd00r artemisa rifiuti2 netgear-telnetenable jboss-autopwn deblaze sakis3g voiphoney apache-users phrasendrescher kautilya manglefizz rainbowcrack rainbowcrack-mt lynis-audit spooftooph wifihoney twofi truecrack …

Linux, Ubuntu

Change the hostname or computer name in linux

1. Open a terminal window. 2. Type the following command and hit Enter: sudo gedit /etc/hostnamesudo gedit /etc/hostname 3. Replace the current computer name with the desired new name and save. 4. Type the following command: sudo gedit /etc/hostssudo gedit /etc/hosts 5. Change the old line to your new hostname. 6. Reboot

C#, Microsoft Windows

Dynamically create textbox and label at runtime – C#

Let’s see how we can create dynamically a panel and add two controls into it, a label and a textbox. Panel panel = new Panel(); panel.Location = new System.Drawing.Point(30, 20); panel.Name = "panel1"; panel.AutoSize = true; panel.Size = new System.Drawing.Size(230, 20);   Label l = new Label(); l.AutoSize = true; l.Location = new System.Drawing.Point(3, 5); …


Computer virus and other malware in simple words

A computer virus is a computer program, malicious software, that can replicate itself and spread from one computer to another. Viruses can increase their chances of spreading to other computers by infecting files on a network file system or a file system that is accessed by other computers. Malware also includes  computer worms, Trojan horses, rootkits, …

Microsoft Windows

Start or Stop Windows Service using batch file

Start Windows Service Open notepad and create a new file named for ex start_my_service.bat. Paste in file the following lines: @echo off echo "starting my_service" net start "my_service" echo "done" @echo on   pause@echo off echo "starting my_service" net start "my_service" echo "done" @echo on pause Save the file, right click on it and select …