mirror of
https://github.com/autistic-symposium/sec-pentesting-toolkit.git
synced 2025-08-01 19:26:16 -04:00
some small fixes
This commit is contained in:
parent
a5a6601a45
commit
0085af90dd
5 changed files with 110 additions and 11 deletions
68
Reverse_Engineering/COMMAND_LINE_TOOLS.md
Normal file
68
Reverse_Engineering/COMMAND_LINE_TOOLS.md
Normal file
|
@ -0,0 +1,68 @@
|
|||
COMMAND LINE TOOLS
|
||||
==================
|
||||
|
||||
|
||||
### Tricks:
|
||||
|
||||
- Files with spaces in the name + symbolinc links.
|
||||
|
||||
|
||||
### Searching
|
||||
|
||||
|
||||
```
|
||||
grep word f1
|
||||
|
||||
sort | uniq -c
|
||||
|
||||
diff f1 f2
|
||||
|
||||
find -size f1
|
||||
```
|
||||
|
||||
|
||||
### Encondings/ Binaries
|
||||
|
||||
```
|
||||
file f1
|
||||
|
||||
ltrace bin
|
||||
|
||||
strings f1
|
||||
|
||||
base64 -d
|
||||
|
||||
xxd -r
|
||||
```
|
||||
|
||||
|
||||
|
||||
### Compressed Files
|
||||
|
||||
|
||||
```
|
||||
zcat f1 > f2
|
||||
|
||||
gzip -d file
|
||||
|
||||
bzip2 -d f1
|
||||
|
||||
tar -xvf file
|
||||
```
|
||||
|
||||
|
||||
|
||||
### Connecting to a Server/Port
|
||||
|
||||
```
|
||||
echo 4wcYUJFw0k0XLShlDzztnTBHiqxU3b3e | nc localhost 30000
|
||||
|
||||
openssl s_client -connect localhost:30001 -quiet
|
||||
|
||||
nmap -p 31000-32000 localhost
|
||||
|
||||
telnet localhost 3000
|
||||
```
|
||||
|
||||
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue