https://github.com/egor-tensin/audit-scripts
Scripts to run quick audits
https://github.com/egor-tensin/audit-scripts
Last synced: 7 months ago
JSON representation
Scripts to run quick audits
- Host: GitHub
- URL: https://github.com/egor-tensin/audit-scripts
- Owner: egor-tensin
- License: mit
- Created: 2018-05-13T18:23:12.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2023-03-17T22:43:09.000Z (over 2 years ago)
- Last Synced: 2025-01-11T21:23:30.237Z (9 months ago)
- Language: Python
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
audit-scripts
=============Scripts to run quick audits.
bad-attrs.py
------------Find files with the immutable (`+i`) or append-only (`+a`) flag set.
./src/bad-attrs.py /
open-ports.sh
-------------List open ports for a host.
./src/open-ports.sh HOST # Scan all ports
./src/open-ports.sh -6 HOST # Resolve domains to IPv6 addresses
./src/open-ports.sh -t 1000 HOST # Scan the top 1000 most popular ports
./src/open-ports.sh -p 8080-8100 HOST # Specify port ranges in the nmap formatwritable-dirs.py
----------------Which directories are writable by a user?
./src/writable-dirs.py -u USERNAME /
Ubuntu
------Ubuntu-specific (or Debian-specific) scripts.
### check-integrity.sh
Use `debsums` to verify file integrity against the package database.
./src/ubuntu/check-integrity.sh
### unmanaged.sh
Use `cruft` to view a list of unmanaged files and directories.
Some common directories are excluded automatically../src/ubuntu/unmanaged.sh
License
-------Distributed under the MIT License.
See [LICENSE.txt] for details.[LICENSE.txt]: LICENSE.txt