Comments (4)
@lohithmv019 this is very specific issue you're experiencing due to your current gemset configuration I can't solve.
You can try to use a fresh gemset to install dawn.
from dawnscanner.
@thesp0nge I am using fresh install of ruby(ruby 2.1) just to install this gem.All the gems I mentioned above are used by your gem only(I am not using them for any purpose.).Let me know if I am missing anything here.
from dawnscanner.
I am experiencing this same issue while trying to evaluate dawn. I am using Kali Linux, with very few gems installed. Additionally, the claim is backed by the Gemnasium dependencies linked to in the readme.
The problematic dependency tree:
codesake-dawn (https://gemnasium.com/codesake/codesake-dawn)
- codesake-commons ~> 0.95.0
- mechanize >= 0 (newest is 2.7.3)
- mime-types ~> 2.0
- mechanize >= 0 (newest is 2.7.3)
- grit >= 0 (newest is 2.5.0)
- mime-types ~> 1.15
The problem appears to be that codesake-dawn depends on the grit library, which is unmaintained and has old dependencies. https://github.com/mojombo/grit says "Grit is no longer maintained. Check out libgit2/rugged"
from dawnscanner.
It's the codesake-commons
gem that I think is bringing in the problem. It requires any version of mechanize
and as tecknicaltom says the current version is 2.7.3 where the dependency on mime-types
switched to version 2. You could try hacking the gem spec of your copy of code sake-commons
to specify an older version of mechanize
, i.e. gem.add_dependency 'mechanize', '<= 2.7.2'
in codesake-commons.gemspec
. I just encountered the same problem myself and this temporarily fixed it by getting the slightly older version of mechanize
installed.
The long term solution is probably to switch to Rugged
rather than Grit
from dawnscanner.
Related Issues (20)
- Rewrite CVE_2011_0995
- Rewrite CVE_2013_0256
- Rewrite CVE_2013_6461
- Rewrite cve_2015_1840
- Fix hardcoded knowledge base path HOT 1
- ptools 1.3.6 check_bom: undefined method HOT 3
- Cannot run dawnscanner against the src code of a ruby applcation HOT 2
- `--json` outputs invalid JSON
- Issue with Ruby 3.0.0
- Uninitialized constant FileUtils HOT 1
- File.exists is removed from ruby 3.2 (was deprecated in 2.7). HOT 1
- kb.yaml signature mismatch for thesp0nge/dawnscanner_knowledge_base 1.0.0 HOT 2
- Parsing support with 'parser' gem
- Make KB path configurable
- Redesign knowledge base upgrade procedure
- Integrate CVSS gem as internal code
- Removing dawnscanner Rake tasks
- guess_mvc': can't read pyth-agent-1.4.0/Gemfile.lock (ArgumentError)
- Hackweek 2023: parse a simple sinatra application
- Hackweek 2023: allow a single file to be a good target
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 dawnscanner.