Comments (5)
The same can be done for system packages:
- Provide a single
apt-get install
command - Check the packages at runtime
import apt
cache = apt.Cache()
packages = ["nbtscan", "python-scapy", "tcpdump", "nmap", "ppp", "netdiscover", "macchanger"]
def check_missing_packages():
for package in packages:
print package
try:
if cache[package].is_installed:
continue
except KeyError:
print('%s is NOT installed') % package
check_missing_packages()
from warberry.
Thank you the suggestions. This is something i am looking into and should be done soon.
from warberry.
the above 2 examples will only check for the missing packages not install them correct?
from warberry.
No they will only check them. If you wish to install them I could provide some code, but it is my opinion that the user should be in control and manualy do this. This should not be done in the background.. what do you think?
from warberry.
added both methods for manual and auto installation. thank you
from warberry.
Related Issues (20)
- Error after running Recon HOT 1
- Binary file (Standard Output) error HOT 1
- launch script warberry.py HOT 7
- installing dnspython via pip fails HOT 1
- error while launching fresh installation HOT 2
- No such option: -a HOT 4
- Scan stops whilst waiting for Responder HOT 4
- Viewing Data HOT 4
- Why sudo HOT 1
- ModelPi UnboundLocalError HOT 2
- struct.error: cannot convert argument to integer HOT 4
- nmap PortScannerError
- cme returns helpo HOT 4
- bootstrap.sh missing? HOT 2
- Getting warberry into kali-linux-arm-image HOT 2
- rest_bypass.py HOT 1
- Hostnames not shown correctly? HOT 2
- No module named requests.packages.urllib3 HOT 3
- CrackMapExec :cme: error: HOT 1
- error running warberry.py -h 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 warberry.