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

A fast steganography command-line & web tool for concealing any file type within a JPG image.

License

NotificationsYou must be signed in to change notification settings

CleasbyCode/jdvrif-1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

A fast steganography command-line tool used for embedding and extracting any file type via aJPG image.

If you have any problems usingjdvrif, then please let me know:@cleasbycode.

There is also aWeb edition, which you can try immediately, as a convenient alternative to downloading and compiling the CLI source code. Web file uploads are limited to20MB.

Demo Image
Demo Image:"A place of concealment" /PIN: 17129461748195490639

Unlike the common steganography method of concealing data within the pixels of a cover image (LSB),jdvrif hides files withinapplication segments of aJPG image.

You can embed any file type up to2GB, although compatible sites (listed below) have their ownmuch smaller size limits and *other requirements.

For increased storage capacity and better security, your embedded data file is compressed withzlib/deflate and encrypted using thelibsodium cryptographic library.

jdvrif partly derives from thetechnique implemented by security researcherDavid Buchanan.

X_Twitter_CLI_JPG_TXT.mp4
X_Twitter_Web_App_JPG_TXT.mp4

Compatible Platforms

Posting size limit measured by thecombined size of thecover image +compressed data file:

Flickr (200MB),ImgPile (100MB),ImgBB (32MB),
PostImage (32MB),Reddit (20MB |-r option),Pixelfed (15MB).

Size limit measuredonly by thecompressed data file size:

Mastodon (~6MB),Tumblr (~64KB),X-Twitter (~10KB).

For example, withMastodon, if your cover image is1MB you can still embed a data file up to the~6MB size limit.

*Other: TheBluesky platform hasseparate size limits for thecover image and thecompressed data file:

Bluesky (-b option). Cover image size limit (800KB). Compressed data file size limit (~171KB).
● "bsky_post.py" script is required to post images onBluesky.More info on this further down the page.

For platforms such asX-Twitter &Tumblr, which have small size limits, you may want to focus on data that compress well, such as text files, etc.

Usage (Linux)

user1@mx:~/Downloads/jdvrif-main/src$sudo apt-get install libsodium-devuser1@mx:~/Downloads/jdvrif-main/src$sudo apt-get install libturbojpeg0-devuser1@mx:~/Downloads/jdvrif-main/src$chmod +x compile_jdvrif.shuser1@mx:~/Downloads/jdvrif-main/src$./compile_jdvrif.shuser1@mx:~/Downloads/jdvrif-main/src$Compilation successful. Executable'jdvrif' created.user1@mx:~/Downloads/jdvrif-main/src$sudo cp jdvrif /usr/binuser1@mx:~/Desktop$jdvrifUsage: jdvrif conceal [-b|-r] <cover_image> <secret_file>       jdvrif recover <cover_image>       jdvrif --infouser1@mx:~/Desktop$jdvrif conceal your_cover_image.jpg your_secret_file.docPlatform compatibility for output image:-  ✓ X-Twitter  ✓ Tumblr  ✓ Mastodon  ✓ Pixelfed  ✓ PostImage  ✓ ImgBB  ✓ ImgPile  ✓ FlickrSaved "file-embedded" JPG image: jrif_12462.jpg (143029 bytes).Recovery PIN: [***2166776980318349924***]Important: Keep your PIN safe, so that you can extract the hidden file.Complete!user1@mx:~/Desktop$jdvrif recover jrif_12462.jpgPIN: *******************Extracted hidden file: your_secret_file.doc (6165 bytes).Complete! Please check your file.

jdvrifmode arguments:

conceal - Compresses, encrypts and embeds your secret data file within aJPG cover image.
recover - Decrypts, uncompresses and extracts the concealed data file from aJPG cover image.

jdvrifconceal mode platform options:

"-b" - To create compatible "file-embedded"JPG images for posting on theBluesky platform, you must use the-b option withconceal mode.

$jdvrif conceal -b my_image.jpg hidden.doc

These images are only compatible for posting onBluesky. Your embedded data file will be removed if posted on a different platform.

You are required to use the Python script"bsky_post.py" (found in the reposrc folder) to post the image toBluesky.It will not work if you post images toBluesky via the browser site or mobile app.

You will also need to create anapp password from yourBluesky account, to use with thebsky_post.py script. (https://bsky.app/settings/app-passwords).

Here are some basic usage examples for thebsky_post.py script:

Standard image post to your profile/account.

$python3 bsky_post.py --handle you.bsky.social --password xxxx-xxxx-xxxx-xxxx --image your_image.jpg --alt-text"alt-text here (optional)""standard post text here (required)"

If you want to post multiple images (Max. 4).

$python3 bsky_post.py --handle you.bsky.social --password xxxx-xxxx-xxxx-xxxx --image img1.jpg --image img2.jpg --alt-text"alt_here""standard post text..."

If you want to post an image as a reply to another thread.

$python3 bsky_post.py --handle you.bsky.social --password xxxx-xxxx-xxxx-xxxx --image your_image.jpg --alt-text"alt_here" --reply-to https://bsky.app/profile/someone.bsky.social/post/8m2tgw6cgi23i"standard post text..."
BSKY_CLI_JPG_TXT.mp4
BSKY_Web_App_JPG.mp4

"-r" - To create compatible "file-embedded"JPG images for posting on theReddit platform, you must use the-r option withconceal mode.

$jdvrif conceal -r my_image.jpg secret.mp3

From theReddit site, select "Create Post" followed by "Images & Video" tab, to attach and post yourJPG image.

These images are only compatible for posting onReddit. Your embedded data file will be removed if posted on a different platform.

To correctly download images fromX-Twitter orReddit, click the image in the post to fully expand it, before saving.

Reddit_CLI_JPG_FLAC.mp4

Third-Party Libraries

This project makes use of the following third-party libraries:

  • libsodium: For cryptographic functions.
  • libjpeg-turbo (seeLICENSE file)
    • {This software is based in part on the work of the Independent JPEG Group.}
    • Copyright (C) 2009-2024 D. R. Commander. All Rights Reserved.
    • Copyright (C) 2015 Viktor Szathmáry. All Rights Reserved.
  • zlib: General-purpose compression library
    • License: zlib/libpng license (seeLICENSE file)
    • Copyright (C) 1995-2024 Jean-loup Gailly and Mark Adler

Releases

No releases published

Packages

No packages published

Languages

  • C79.4%
  • C++17.7%
  • Python2.8%
  • Shell0.1%

[8]ページ先頭

©2009-2025 Movatter.jp