Comments (7)
@poon64 would appear you don't have file permissions. You have three options.
- change file permissions: sudo chown -R /usr/lib/python2.7/site-packages/smmap
- install via root: sudo pip install truffleHog
- install via local user scheme: pip install --user truffleHog
from trufflehog.
I guess that you mean chmod in stead of chown :)
But the file smmap doesn't exist in the system.
When I tried to install again I got other problems now,
-bash-4.2$ git remote -v
origin https://github.com/dxa4481/truffleHog.git (fetch)
origin https://github.com/dxa4481/truffleHog.git (push)
-bash-4.2$ git pull
Already up-to-date.
-bash-4.2$ pip install truffleHog
Collecting truffleHog
Exception:
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/pip/basecommand.py", line 215, in main
status = self.run(options, args)
File "/usr/lib/python2.7/site-packages/pip/commands/install.py", line 335, in run
wb.build(autobuilding=True)
File "/usr/lib/python2.7/site-packages/pip/wheel.py", line 749, in build
self.requirement_set.prepare_files(self.finder)
File "/usr/lib/python2.7/site-packages/pip/req/req_set.py", line 380, in prepare_files
ignore_dependencies=self.ignore_dependencies))
File "/usr/lib/python2.7/site-packages/pip/req/req_set.py", line 554, in _prepare_file
require_hashes
File "/usr/lib/python2.7/site-packages/pip/req/req_install.py", line 278, in populate_link
self.link = finder.find_requirement(self, upgrade)
File "/usr/lib/python2.7/site-packages/pip/index.py", line 465, in find_requirement
all_candidates = self.find_all_candidates(req.name)
File "/usr/lib/python2.7/site-packages/pip/index.py", line 423, in find_all_candidates
for page in self._get_pages(url_locations, project_name):
File "/usr/lib/python2.7/site-packages/pip/index.py", line 568, in _get_pages
page = self._get_page(location)
File "/usr/lib/python2.7/site-packages/pip/index.py", line 683, in _get_page
return HTMLPage.get_page(link, session=self.session)
File "/usr/lib/python2.7/site-packages/pip/index.py", line 792, in get_page
"Cache-Control": "max-age=600",
File "/usr/lib/python2.7/site-packages/pip/_vendor/requests/sessions.py", line 488, in get
return self.request('GET', url, **kwargs)
File "/usr/lib/python2.7/site-packages/pip/download.py", line 386, in request
return super(PipSession, self).request(method, url, *args, **kwargs)
File "/usr/lib/python2.7/site-packages/pip/_vendor/requests/sessions.py", line 475, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python2.7/site-packages/pip/_vendor/requests/sessions.py", line 596, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python2.7/site-packages/pip/_vendor/cachecontrol/adapter.py", line 47, in send
resp = super(CacheControlAdapter, self).send(request, **kw)
File "/usr/lib/python2.7/site-packages/pip/_vendor/requests/adapters.py", line 390, in send
conn = self.get_connection(request.url, proxies)
File "/usr/lib/python2.7/site-packages/pip/_vendor/requests/adapters.py", line 290, in get_connection
proxy_manager = self.proxy_manager_for(proxy)
File "/usr/lib/python2.7/site-packages/pip/_vendor/requests/adapters.py", line 184, in proxy_manager_for
**proxy_kwargs
File "/usr/lib/python2.7/site-packages/pip/_vendor/requests/adapters.py", line 43, in SOCKSProxyManager
raise InvalidSchema("Missing dependencies for SOCKS support.")
InvalidSchema: Missing dependencies for SOCKS support.
from trufflehog.
@poon64 Follow https://dzone.com/articles/cloud-security-best-practices-finding-securing-and for installing truffleHog. Even I was facing the same issue. This solved my issues.
from trufflehog.
Following the instructions from the link above gives me the following error:
Traceback (most recent call last):
File "truffleHog.py", line 19, in <module>
from truffleHogRegexes.regexChecks import regexes
ModuleNotFoundError: No module named 'truffleHogRegexes'
from trufflehog.
same as for @outkaj
from trufflehog.
Hey there, we've just released the next major version of TruffleHog!
It is a complete rewrite that scans more data sources and now supports detecting and verifying over 600 credentials.
Please check it out when you can.
https://trufflesecurity.com/blog/introducing-trufflehog-v3
We're no longer maintaining v2 so I am closing this issue.
from trufflehog.
@poon64 would appear you don't have file permissions. You have three options.
1. change file permissions: sudo chown -R /usr/lib/python2.7/site-packages/smmap 2. install via root: sudo pip install truffleHog 3. install via local user scheme: pip install --user truffleHog
num 2 worked.. thank you very much
from trufflehog.
Related Issues (20)
- AWS Session Key detector error HOT 6
- Installation script: Support automatic checksum signature verification
- Improve multipart secret data output
- Github Actions with config properties
- TruffleHog Powershell
- --json flag still does not output as JSON standard HOT 1
- The Slack Webhook verifier returns False even for active secrets. HOT 1
- Orgs People HOT 2
- GitHub `--include-members` always logs 0 members
- Git handle binary error: Not a valid object name
- [archive] Gracefully handle EOF when max size is reached
- Add `--include-paths` and `--exclude-paths` flags for Docker scan
- unable to mine secrets in js files
- Unable to mine secrets in JavaScript files HOT 1
- Create a decoder for HTML entites
- Update feature
- [bug] Relative filepaths in GHA no longer work HOT 2
- [bug] Github Action fails if any commit msg contains a single quote HOT 2
- Avoid verifying the same key multiple times in a session HOT 4
- Adding Datadog secrets checks for all regions
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 trufflehog.