# CTF Tool

## <mark style="color:green;">1</mark>. <mark style="color:blue;">Steganography</mark>

### <mark style="background-color:green;">Stegsolve</mark>

```
java -jar stegsolve.jar
```

### <mark style="background-color:green;">Steghide</mark>

```
steghide --extract -sf image.jpg
```

### <mark style="background-color:green;">Hexeditor</mark>

Online - [https://hexed.it/](https://hexed.it/)

```
hexeditor <file.extension>
```

### <mark style="background-color:green;">RAR</mark>

```
unrar e flag.zip
```

### <mark style="background-color:green;">ZIP</mark>

```
unzip file.zip
```

###

#### <mark style="color:yellow;">Aperisolve</mark>

* Extract and check on file (jpg/png/pdf)

> [https://www.aperisolve.com/](https://www.aperisolve.com/)





***

## <mark style="color:blue;">2. Cryptography</mark>

### <mark style="background-color:green;">Cyber Chef</mark>

> [https://gchq.github.io/CyberChef/](https://gchq.github.io/CyberChef/)

### <mark style="background-color:green;">Cipher Identifier</mark>

Magic in Cyber Chef

Dcode Cipher Identifier - [https://www.dcode.fr/cipher-identifier](https://www.dcode.fr/cipher-identifier)



### <mark style="background-color:green;">Decode</mark>

#### <mark style="color:yellow;">Base64</mark>

```
base64 -d <<<"base64_encoded_string"
```



***

## <mark style="color:blue;">3. Web</mark>

<mark style="background-color:green;">Browser</mark>

* Robots.txt
* Inspect
* View-source

<mark style="background-color:green;">Burp Suite</mark>

* Proxy
* Repeater
* Decoder



***

## <mark style="color:blue;">4. OSINT</mark>

***

## <mark style="color:blue;">5. Forensic</mark>



### <mark style="background-color:green;">Crack</mark>

#### <mark style="color:yellow;">ZIP file</mark>

```
zip2john file.rar > hash.txt
```

#### <mark style="color:yellow;">RAR file</mark>

```
rar2john file.rar > hash.txt
```

#### <mark style="color:yellow;">John Crack</mark>

```
john --wordlist=rockyou.txt hash.txt
```

#### <mark style="color:yellow;">Hashcat</mark>

```
hashcat -m 13000 hash.txt -a 0 rockyou.txt
```

mode reference:&#x20;

> [https://hashcat.net/wiki/doku.php?id=example\_hashes](https://hashcat.net/wiki/doku.php?id=example_hashes)

***

## <mark style="color:blue;">6. Misc</mark>

### <mark style="background-color:green;">Audacity</mark>

Install (Windows/MacOS/Linux) - [https://www.audacityteam.org/download/](https://www.audacityteam.org/download/)

Online - [<mark style="color:blue;">https://wavacity.com/</mark>](https://wavacity.com/)

### <mark style="background-color:green;">Sonic Visualiser</mark>



***

## <mark style="color:blue;">7. Reverse Eng</mark>

### <mark style="background-color:green;">oletools</mark>

[<mark style="color:blue;">https://github.com/decalage2/oletools</mark>](https://github.com/decalage2/oletools)





***

## <mark style="color:blue;">8. Linux</mark>

### <mark style="background-color:green;">Find</mark>

* To find a file
* "–name" --> look for files with that name

```
find –name file.txt
```

* Case sensitive
* "–iname" --> gnore Case sensitive

```
find –iname “name_of_file”
```

### <mark style="background-color:green;">XXD</mark>

```
xxd file.png | head
```

```
xxd file.png | tail
```

***

## <mark style="color:blue;">9. Binary</mark>
