Check These Out
This command takes an application name as an argument and then it will listen to the tcp traffic and capture packets matching the process Id of the application.
The output shows:
local address / local port / Remote Address / Remote port / State / Owning Process ID
Since systemd-resolved was implemented, add a DNS server have become weirder and harder than before. With this command, you can add a DNS server on-the-fly tied to an specific interface
'jot' does not come with most *nix distros, so we need to use seq to make it work. This version tested good on Fedora 11.
Should work on all systems that use dpkg and APT package management.
A null operation with the name 'comment', allowing comments to be written to HISTFILE. Prepending '#' to a command will *not* write the command to the history file, although it will be available for the current session, thus '#' is not useful for keeping track of comments past the current session.
Decrypt MD5 , replace 1cb251ec0d568de6a929b520c4aed8d1 with the MD5 string you want to decrypt
This is what I came up to generate XKCD #936 style four-word password.
Since first letter of every word is capitalized it looks a bit more readable to my eyes.
Also strips single quotes.
And yes - regex is a bit of a kludge, but that's the bes i could think of.
NOTE: When opening the files you might need to strip the very top line with notepad++ as its a mistake header
This is useful when the local machine where you need to do the packet capture with tcpdump doesn?t have enough room to save the file, where as your remote host does
tcpdump -i eth0 -w - | ssh forge.remotehost.com -c arcfour,blowfish-cbc -C -p 50005 "cat - | gzip > /tmp/eth0.pcap.gz"
Your @ PC1 doing a tcpdump of PC1s eth0 interface and its going to save the output @ PC2 who is called save.location.com to a file /tmp/eth0-to-me.pcap.gz again on PC2
More info @: http://www.kossboss.com/linuxtcpdump1
Note:
1) -n option of watch accepts seconds
2) -t option of notify-send accepts milliseconds
3) All quotes stated in the given example are required if notification
message is more than a word.
4) I couldn't get this to run in background (use of & at the end fails). Any
suggestions/improvements welcome.