This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ffmpeg -r 20 -pattern_type glob -i '*.png' test.mp4 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# (c) Barry Irwin <bvi@moria.org> | |
# November 2018 | |
# takes in a tcpdump input as below. prints out a lsit of the top sources. | |
# format expected | |
# 02:57:23.020317 IP A.B.C.D.SPORT > A.B.C.D.dport : Flags [S], seq 1995830557, win 14600, length 0 | |
cat - | awk '{print $3}' | awk -F. '{print $1"."$2"."$3"."$4}'| sort | uniq -c | sort -rn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# (c) Barry Irwin <bvi@moria.org> | |
# November 2018 | |
# takes in a tcpdump input as below. prints out a lsit of the destination ports sources. | |
# format expected (TCp/UDP only) | |
# 02:57:23.020317 IP A.B.C.D.SPORT > A.B.C.D.dport : Flags [S], seq 1995830557, win 14600, length 0 | |
cat - | awk '{print $5}' | awk -F. '{print $5}'| sed -e 's/://g' |sort | uniq -c | sort -rn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# (c) Barry Irwin <bvi@moria.org> | |
# November 2018 | |
# takes in a tcpdump input as below. prints out a lsit of the source ports. | |
# format expected (TCp/UDP only) | |
# 02:57:23.020317 IP A.B.C.D.SPORT > A.B.C.D.dport : Flags [S], seq 1995830557, win 14600, length 0 | |
cat - | awk '{print $3}' | awk -F. '{print $5}'| sed -e 's/://g' |sort | uniq -c | sort -rn |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# (c) Barry Irwin <bvi@moria.org> | |
# November 2018 | |
# takes in a tcpdump input as below. prints out a count of traffic by day. | |
# format expected tcpdump needs -tttt | |
# 2018-09-28 20:28:47.016856 IP A.B.C.D.SPORT > A.B.C.D.dport : Flags [S], seq 1995830557, win 14600, length 0 | |
cat - | awk '{print $1}' | sort | uniq -c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tcpdump -nqttttr pcapfile | \ | |
sed -e 's/IP/./g' -e 's/>/./g' -e 's/://g' | \ | |
awk -F. '{print $1" "$3"."$4"."$5"."$6" "$7" "$8"."$9"."$10" "$12}' |\ | |
awk '{print $1","$3","$4","$5","$6}' | |
Example output | |
#day, | |
2018-11-01,138.255.1.254,34462,165.213.254,88 | |
.... |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1) open CMD | |
2) findstr /si password *.txt | |
findstr /si password *.xml | |
dir /s *pass* == *cred* == *vnc* == *.config* | |
findstr /spin "password" *.* | |
reg query HKLM /f password /t REG_SZ /s | |
reg query HKCU /f password /t REG_SZ /s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
There's no \medium font size between \small and \large; you have \normalsize (which is the default font size). | |
The standard font size switches are: | |
\tiny, \scriptsize, \footnotesize, \small, \normalsize, \large, \Large, \LARGE, \huge, and \Huge. | |
You only need one font switch command inside the table and braces are not required since table forms a group, so you can simply say something like this: | |
\begin{table} | |
\small | |
\begin{tabular}{p{3.5cm}p{8cm}p{5cm}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
netsh wlan show profile name=WifiConnectionName key=clear |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
% requires fontawesome package for icon | |
%save old command | |
\let\orighref\href | |
%redefine the command without circular references | |
\renewcommand{\href}[2]{\orighref{#1}{{\small\faLink{}} #2}} | |
% generate a clickabel link with a link icon next to it. | |
\href{https://google.com}{moo} |
OlderNewer