Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to run/install modules.image #1

Closed
johnnymiranda opened this issue Apr 1, 2017 · 4 comments
Closed

Unable to run/install modules.image #1

johnnymiranda opened this issue Apr 1, 2017 · 4 comments

Comments

@johnnymiranda
Copy link

johnnymiranda commented Apr 1, 2017

When attempting to run stegoVeritas.py I am consistently receiving this error. Is this normal? I've installed all dependencies.

Type:	Windows Bitmap
Mode:	RGB

Traceback (most recent call last):
  File "stegoveritas.py", line 69, in <module>
    import modules.image
ImportError: No module named 'modules.image'; 'modules' is not a package

in the ~/stegoVeritas/modules folder should an __init.py__ be placed?

@bannsec
Copy link
Owner

bannsec commented Apr 1, 2017

Oops... Yeah, sorry this isn't a proper package atm.

$ export PATH=$PATH:/path/to/stegoVeritas/root

Going to keep this open as a reminder that I need to actually make this pip installable, which would take care of that.

@huanglitong123
Copy link

When attempting to run stegoVeritas.py I am consistently receiving this error. Is this normal? I've installed all dependencies
OS:WINDOWS 7 x64
Python 3.5.2 (v3.5.2:4def2a2901a5, Jun 25 2016, 22:01:18) [MSC v.1900 32 bit (In
tel)] on win32
F:\steganography\stegoVeritas-master>python3 stegoveritas.py "miao~870F6C667A6CD
C0D1F533859E72C48E0.jpg"
Type: JPEG (ISO 10918)
Mode: RGB

Checking Meta Data

Exif Data

Image XResolution: 144
Image YCbCrPositioning: Centered
Image Artist: key:m1a0@888
Image ResolutionUnit: Pixels/Inch
Image YResolution: 144

Checking for trailing data
Running image filters
Attempting to brute force LSB items
Trying 0.0.0
Traceback (most recent call last):
File "stegoveritas.py", line 70, in
modules.image.run(fArray,args)
File "F:\steganography\stegoVeritas-master\modules\image_init_.py", line 98
, in run
autoAnalysis(f,args)
File "F:\steganography\stegoVeritas-master\modules\image_init_.py", line 37
, in autoAnalysis
modules.image.imageLSB.auto(f,args)
File "F:\steganography\stegoVeritas-master\modules\image\imageLSB.py", line 12
7, in auto
testOutput(o,args)
File "F:\steganography\stegoVeritas-master\modules\image\imageLSB.py", line 25
, in testOutput
out = subprocess.check_output(["file",TEMPFILE])
File "C:\Users\Admin\AppData\Local\Programs\Python\Python35-32\lib\subprocess.
py", line 626, in check_output
**kwargs).stdout
File "C:\Users\Admin\AppData\Local\Programs\Python\Python35-32\lib\subprocess.
py", line 693, in run
with Popen(*popenargs, **kwargs) as process:
File "C:\Users\Admin\AppData\Local\Programs\Python\Python35-32\lib\subprocess.
py", line 947, in init
restore_signals, start_new_session)
File "C:\Users\Admin\AppData\Local\Programs\Python\Python35-32\lib\subprocess.
py", line 1224, in _execute_child
startupinfo)
FileNotFoundError: [WinError 2] The system can not find the file 。

Thank you.

@bannsec
Copy link
Owner

bannsec commented Apr 25, 2017

Ah. Yeah. So I need to change my file dependency over to a python based one. Opening a new issue.

@bannsec
Copy link
Owner

bannsec commented Feb 18, 2019

Well, this has lingered.. Anyway, there's an entirely refactored version of this that should alleviate this issue.

$ pip3 install stegoveritas
$ stegoveritas_install_deps

or

$ sudo docker run -it --rm bannsec/stegoveritas

If this is still an issue, feel free to re-open :-)

@bannsec bannsec closed this as completed Feb 18, 2019
bannsec pushed a commit that referenced this issue Jul 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants