Comments (8)
I believe there's something wrong with your rubygems, can you try a clean Kali install?
iostruct (0.0.4)
zpng (0.3.2)
from zsteg.
try newer version 0.2.4
from zsteg.
Thank you for the reply @zed-0xff!
Still getting the same error however:
/var/lib/gems/2.7.0/gems/zsteg-0.2.3/lib/zsteg/result.rb:11:in `<module:Result>': uninitialized constant ZSteg::Result::IOStruct (NameError)
Did you mean? ZSteg::Result::Struct
from /var/lib/gems/2.7.0/gems/zsteg-0.2.3/lib/zsteg/result.rb:3:in `<module:ZSteg>'
from /var/lib/gems/2.7.0/gems/zsteg-0.2.3/lib/zsteg/result.rb:2:in `<top (required)>'
from /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:72:in `require'
from /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:72:in `require'
from /var/lib/gems/2.7.0/gems/zsteg-0.2.3/lib/zsteg.rb:9:in `<top (required)>'
from /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require'
from /usr/lib/ruby/2.7.0/rubygems/core_ext/kernel_require.rb:92:in `require'
from /var/lib/gems/2.7.0/gems/zsteg-0.2.3/bin/zsteg:6:in `<top (required)>'
from /usr/local/bin/zsteg:23:in `load'
from /usr/local/bin/zsteg:23:in `<main>'
Distro info:
PRETTY_NAME="Kali GNU/Linux Rolling"
NAME="Kali GNU/Linux"
ID=kali
VERSION="2020.4"
VERSION_ID="2020.4"
VERSION_CODENAME="kali-rolling"
ID_LIKE=debian
ANSI_COLOR="1;31"
HOME_URL="https://www.kali.org/"
SUPPORT_URL="https://forums.kali.org/"
BUG_REPORT_URL="https://bugs.kali.org/"
from zsteg.
Can you also post the exact ruby version?
from zsteg.
Ruby version:
ruby 2.7.2p137 (2020-10-01 revision 5445e04352) [x86_64-linux-gnu]
from zsteg.
I've just tried fresh Kali VirtualBox image, and it worked just fine.
btw, why you installed with --force
flag?
Try to remove gems iostruct
& zsteg
and reinstall zsteg
without --force
flag.
from zsteg.
Peculiar!
Uninstalled (iostruct
& zsteg
) and reinstalled (zsteg 0.24
without --force
flag) and the following happens:
/var/lib/gems/2.7.0/gems/zpng-0.3.2/lib/zpng/string_ext.rb:7:in `block (2 levels) in <class:String>': undefined method `color' for #<String:0x00005618bf08ad80> (NoMethodError)
from /var/lib/gems/2.7.0/gems/zpng-0.3.2/lib/zpng/image.rb:140:in `_from_io'
from /var/lib/gems/2.7.0/gems/zpng-0.3.2/lib/zpng/image.rb:37:in `initialize'
from /var/lib/gems/2.7.0/gems/zpng-0.3.2/lib/zpng/image.rb:72:in `new'
from /var/lib/gems/2.7.0/gems/zpng-0.3.2/lib/zpng/image.rb:72:in `block in load'
from /var/lib/gems/2.7.0/gems/zpng-0.3.2/lib/zpng/image.rb:71:in `open'
from /var/lib/gems/2.7.0/gems/zpng-0.3.2/lib/zpng/image.rb:71:in `load'
from /var/lib/gems/2.7.0/gems/zsteg-0.2.4/lib/zsteg/cli/cli.rb:175:in `load_image'
from /var/lib/gems/2.7.0/gems/zsteg-0.2.4/lib/zsteg/cli/cli.rb:156:in `block in run'
from /var/lib/gems/2.7.0/gems/zsteg-0.2.4/lib/zsteg/cli/cli.rb:151:in `each'
from /var/lib/gems/2.7.0/gems/zsteg-0.2.4/lib/zsteg/cli/cli.rb:151:in `each_with_index'
from /var/lib/gems/2.7.0/gems/zsteg-0.2.4/lib/zsteg/cli/cli.rb:151:in `run'
from /var/lib/gems/2.7.0/gems/zsteg-0.2.4/lib/zsteg.rb:30:in `run'
from /var/lib/gems/2.7.0/gems/zsteg-0.2.4/bin/zsteg:8:in `<top (required)>'
from /usr/local/bin/zsteg:23:in `load'
from /usr/local/bin/zsteg:23:in `<main>'
Which zpng
version do you use?
from zsteg.
Sounds about right, moved all files and started from scratch - now it works!
Thank you for your time & help!
from zsteg.
Related Issues (15)
- If you're still here, I have a question about inflating extracted data from a steg file HOT 9
- [Feature Request] Extract all encoutered hidden files HOT 1
- getting this error when running zsteg on a png HOT 1
- Getting error messages on installing HOT 2
- Files causing abnormal behavior HOT 1
- check_*.sh HOT 1
- zsteg executable won't run with 'require' error HOT 2
- How to extract `b10000000,r,lsb,yx` ? HOT 1
- Bug HOT 1
- Keep getting "stack level too deep (SystemStackError)" while trying to scan a png. HOT 12
- SyntaxError when trying to run zsteg HOT 2
- Zsteg does not find a full solution HOT 1
- --no-color causes uninitialized constant ZSteg::CLI::Cli::Sickill HOT 1
- Cross platform incompatibility due to reliance on linux "file" command HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zsteg.