Comments (1)
A better description would be “isKali() check fails” though yes I found this while investigating why screenshots failed.
Your proposed fix would not fix the check on my system. A better check would be on the version string which could be added without breaking the existing check like so:
release = str(platform.uname().release).lower()
version = str(platform.uname().version).lower()
return "kali" in release or "kali" in version
Also note that the kali package does not actually require eyewitness which the screenshooter.py will attempt when isKali() returns true. The control file offers an OR in the depends which meant on my system Legion was installed without it as cutyacapt was installed and met the dependency.
Seems like the screenshooter.py code could use some serious refactoring overall as selenium has deprecated PhantomJS.
I would suggest instead of hardcoding the method by platform to instead to test for what is installed in order of preference by shutil.which().
from legion.
Related Issues (20)
- IndexError: list index out of range HOT 18
- please help me i found a little problem with legion tool with QT plugin HOT 2
- Legion crashes when adding a new scope HOT 1
- "Process (x) exited with code 11" HOT 34
- All Scans Crashing HOT 4
- Brute not displaying successful creds
- Can´r save and reopen saved *.legion files HOT 1
- Error Legion
- Missing link under OSX using XQuartz. HOT 1
- KeyError edbid HOT 1
- Please fix website screenshot function HOT 1
- neverending stage 3 HOT 1
- Kali package development and discussion on some patches HOT 2
- Legion 0.43 crashes after nmap stage 3 - cve import HOT 10
- Legion 0.4.3-1700529501 crashes on scan starting stage 3
- crash in stage 4 HOT 1
- Error execution legion HOT 3
- Docker Images no Longer Available
- Screenshooter.py 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 legion.