Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbc73ba5

Browse files
committed
add more advanced features to steganography tutorial 2
1 parente509ed6 commitbc73ba5

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

‎ethical-hacking/steganography/README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,3 +39,21 @@ To run this:
3939
[+] Decoding...
4040
[+] Decoded data: This is some secret data.
4141
```
42+
43+
- To encode the `foo.pdf` file into the `image.PNG` image:
44+
```
45+
$ python steganography_advanced.py -e image.PNG -f foo.pdf -b 1
46+
```
47+
**Output:**
48+
```
49+
[*] Maximum bytes to encode: 125028
50+
[*] Data size: 84158
51+
[*] Encoding data...
52+
[+] Saved encoded image.
53+
```
54+
- Now decoding it into a file `foo_decoded.pdf`:
55+
```
56+
python steganography_advanced.py -d image_encoded.PNG -f foo_decoded.pdf -b 1
57+
[+] Decoding...
58+
[+] File decoded, foo_decoded.pdf is saved successfully.
59+
```

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp