Compare commits
No commits in common. "945e21b6a41f3a162e18a100775ff4f922f5ea31" and "78df09a91df3c4ff70643a38bbab8b7e13e9e6b6" have entirely different histories.
945e21b6a4
...
78df09a91d
23
README.md
23
README.md
@ -114,9 +114,8 @@ Only main chapters:
|
|||||||
- **[Hacking/Penetration Testing](#hackingpenetration-testing-toc)**
|
- **[Hacking/Penetration Testing](#hackingpenetration-testing-toc)**
|
||||||
- **[Your daily knowledge and news](#your-daily-knowledge-and-news-toc)**
|
- **[Your daily knowledge and news](#your-daily-knowledge-and-news-toc)**
|
||||||
- **[Other Cheat Sheets](#other-cheat-sheets-toc)**
|
- **[Other Cheat Sheets](#other-cheat-sheets-toc)**
|
||||||
- **[Shell One-liners](#shell-one-liners-toc)**
|
- **[One-liners](#one-liners-toc)**
|
||||||
- **[Shell Tricks](#shell-tricks-toc)**
|
- **[Shell functions](#shell-functions-toc)**
|
||||||
- **[Shell Functions](#shell-functions-toc)**
|
|
||||||
|
|
||||||
## :trident: The Book of Secret Knowledge (Chapters)
|
## :trident: The Book of Secret Knowledge (Chapters)
|
||||||
|
|
||||||
@ -263,7 +262,6 @@ Only main chapters:
|
|||||||
:small_orange_diamond: <a href="https://github.com/OJ/gobuster"><b>gobuster</b></a> - is a free and open source directory/file & DNS busting tool written in Go.<br>
|
:small_orange_diamond: <a href="https://github.com/OJ/gobuster"><b>gobuster</b></a> - is a free and open source directory/file & DNS busting tool written in Go.<br>
|
||||||
:small_orange_diamond: <a href="https://github.com/ssllabs/ssllabs-scan"><b>ssllabs-scan</b></a> - command-line reference-implementation client for SSL Labs APIs.<br>
|
:small_orange_diamond: <a href="https://github.com/ssllabs/ssllabs-scan"><b>ssllabs-scan</b></a> - command-line reference-implementation client for SSL Labs APIs.<br>
|
||||||
:small_orange_diamond: <a href="https://github.com/mozilla/http-observatory"><b>http-observatory</b></a> - Mozilla HTTP Observatory cli version.<br>
|
:small_orange_diamond: <a href="https://github.com/mozilla/http-observatory"><b>http-observatory</b></a> - Mozilla HTTP Observatory cli version.<br>
|
||||||
:small_orange_diamond: <a href="https://hurl.dev"><b>Hurl</b></a> - is a command line tool to run and test HTTP requests with plain text.<br>
|
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
##### :black_small_square: SSL
|
##### :black_small_square: SSL
|
||||||
@ -572,7 +570,7 @@ Only main chapters:
|
|||||||
##### :black_small_square: Privacy
|
##### :black_small_square: Privacy
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
:small_orange_diamond: <a href="https://www.privacyguides.org/"><b>privacyguides.org</b></a> - provides knowledge and tools to protect your privacy against global mass surveillance.<br>
|
:small_orange_diamond: <a href="https://www.privacytools.io/"><b>privacytools.io</b></a> - provides knowledge and tools to protect your privacy against global mass surveillance.<br>
|
||||||
:small_orange_diamond: <a href="https://dnsprivacy.org/wiki/display/DP/DNS+Privacy+Test+Servers"><b>DNS Privacy Test Servers</b></a> - DNS privacy recursive servers list (with a 'no logging' policy).<br>
|
:small_orange_diamond: <a href="https://dnsprivacy.org/wiki/display/DP/DNS+Privacy+Test+Servers"><b>DNS Privacy Test Servers</b></a> - DNS privacy recursive servers list (with a 'no logging' policy).<br>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
@ -1670,7 +1668,7 @@ _Encoding_
|
|||||||
text :arrow_right: encoded<br>
|
text :arrow_right: encoded<br>
|
||||||
text :arrow_left: encoded
|
text :arrow_left: encoded
|
||||||
|
|
||||||
#### Shell One-liners [<sup>[TOC]</sup>](#anger-table-of-contents)
|
#### One-liners [<sup>[TOC]</sup>](#anger-table-of-contents)
|
||||||
|
|
||||||
##### Table of Contents
|
##### Table of Contents
|
||||||
|
|
||||||
@ -2328,7 +2326,6 @@ ___
|
|||||||
```bash
|
```bash
|
||||||
vimdiff file1 file2
|
vimdiff file1 file2
|
||||||
```
|
```
|
||||||
|
|
||||||
###### Compare two JSON files
|
###### Compare two JSON files
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
@ -2336,7 +2333,6 @@ vimdiff <(jq -S . A.json) <(jq -S . B.json)
|
|||||||
```
|
```
|
||||||
|
|
||||||
###### Compare Hex dump
|
###### Compare Hex dump
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
d(){ vimdiff <(f $1) <(f $2);};f(){ hexdump -C $1|cut -d' ' -f3-|tr -s ' ';}; d ~/bin1 ~/bin2
|
d(){ vimdiff <(f $1) <(f $2);};f(){ hexdump -C $1|cut -d' ' -f3-|tr -s ' ';}; d ~/bin1 ~/bin2
|
||||||
```
|
```
|
||||||
@ -4355,17 +4351,6 @@ perl -p -i -e 's/\t/ /g' filename
|
|||||||
perl -lne '$i++; $in += length($_); END { print "$i lines, $in characters"; }' filename
|
perl -lne '$i++; $in += length($_); END { print "$i lines, $in characters"; }' filename
|
||||||
```
|
```
|
||||||
|
|
||||||
#### Shell Tricks [<sup>[TOC]</sup>](#anger-table-of-contents)
|
|
||||||
|
|
||||||
When you get a shell, it is generally not very clean, but after following these steps, you will have a fairly clean and comfortable shell to work with.
|
|
||||||
|
|
||||||
1) `script /dev/null -c bash`
|
|
||||||
2) Ctrl-Z (to send it to background)
|
|
||||||
3) `stty raw -echo; fg` (returns the shell to foreground)
|
|
||||||
4) `reset` (to reset terminal)
|
|
||||||
5) `xterm` (when asked for terminal type)
|
|
||||||
6) `export TERM=xterm; export SHELL=bash`
|
|
||||||
|
|
||||||
#### Shell functions [<sup>[TOC]</sup>](#anger-table-of-contents)
|
#### Shell functions [<sup>[TOC]</sup>](#anger-table-of-contents)
|
||||||
|
|
||||||
##### Table of Contents
|
##### Table of Contents
|
||||||
|
Loading…
Reference in New Issue
Block a user