Tuesday, August 14, 2012

Interesting Linux Programs

wipe: It is a secure file wiping utility 

shred: Delete a file securely, first overwriting it to hide its contents. 
autokey:  text replacement tool
blat:  Send emails from the command line
wget:  download files from the command line
 
tcpdump: a powerful command-line packet analyzer

ngrep:  strives to provide most of GNU grep's common features, applying them to the network layer. ngrep is a pcap-aware tool that will allow you to specify extended regular or hexadecimal expressions to match against data payloads of packets. It currently recognizes IPv4/6, TCP, UDP, ICMPv4/6, IGMP and Raw across Ethernet, PPP, SLIP, FDDI, Token Ring and null interfaces, and understands BPF filter logic in the same fashion as more common packet sniffing tools, such as tcpdump and snoop.

Snippits: This is Ruby program that will type text for you. It uses 'snippits', small text files with a simple syntax to determine what to type

dmidecode: Typing sudo dmidecode into a terminal will give you a giant list of information about your machine that you can browse through, or you can use the -s flag and a keyword to get a specific piece of information.


MTR:
MTR isn’t your father’s Traceroute. It’s the ultimate command line tool for finding out where those tasty little packets are getting lost. From bash issue mtr –report-wide –curses and your destination of choice.
mtr –report-wide –curses 8.8.8.8
MTR will bring up a curses terminal interface with a constantly updating report on hops and pings, complete with hostname, best and average latency, and percentage of packets lost at each link.






Partition Recovery

Linux programs for partition recovery:


testdisk
foremost
scalpel

chntpw


chntpw version 0.99.3 040818, (c) Petter N Hagen
chntpw: change password of a user in a NT SAM file, or invoke registry editor.
chntpw [OPTIONS] <samfile> [systemfile] [securityfile] [otherreghive] [...]
 -h          This message
 -u <user>   Username to change, Administrator is default
 -l          list all users in SAM file
 -i          Interactive. List users (as -l) then ask for username to change
 -e          Registry editor. Now with full write support!
 -d          Enter buffer debugger instead (hex editor), 
 -t          Trace. Show hexdump of structs/segments. (deprecated debug function)
 -v          Be a little more verbose (for debuging)
 -L          Write names of changed files to /tmp/changed
 -N          No allocation mode. Only (old style) same length overwrites possible

taskkill


Ends one or more tasks or processes. Processes can be killed by process ID or image name.

Syntax

taskkill [/s Computer] [/u Domain\User [/p Password]]] [/fi FilterName] [/pid ProcessID]|[/im ImageName] [/f][/t]

Top of page 
Parameters

/s   Computer   : Specifies the name or IP address of a remote computer (do not use backslashes). The default is the local computer.

/u   Domain \ User   : Runs the command with the account permissions of the user specified by User or Domain\User. The default is the permissions of the current logged on user on the computer issuing the command.

/p   Password   : Specifies the password of the user account that is specified in the /u parameter.

/fi   FilterName   : Specifies the types of process(es) to include in or exclude from termination. The following are valid filter names, operators, and values.

Learn How to Code this Weekend [Weekendhacker]

Learn How to Code this Weekend [Weekendhacker]:

Whether you just want to be able to hack a few scripts or make a feature-rich application, writing code can be a little overwhelming with the massive amount of information available. Here are some resources to help get you started. More »


Learn to Code: The Full Beginner's Guide [Night School]

Learn to Code: The Full Beginner's Guide [Night School]:
If you've been looking to learn how to code, we can help you get started. Here are 4.5 lessons on the basics and extra resources to keep you going. More »


Programmer 101: Teach Yourself How to Code

Programmer 101: Teach Yourself How to Code:
You've always wanted to learn how to build software yourself—or just whip up an occasional script—but never knew where to start. Luckily, the web is full of free resources that can turn you into a programmer in no time. More »