aboutsummaryrefslogblamecommitdiffstatshomepage
path: root/README.md
blob: 629b17de5d44af4d09a1a51d86089372e0d8178f (plain) (tree)
1
2
3
4
5
6
7
8
9
10




                            

         


                                                                    
                     
 









                                                                                   

             


                                         
                                     
 

















                                                                    






                                  
audit-scripts
=============

Scripts to run quick audits.

bad-attrs
---------

Find files with the immutable (`+i`) or append-only (`+a`) flag set.

    ./src/bad-attrs /

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 format

writable-dirs
-------------

Which directories are writable by a user?

    ./src/writable-dirs -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