mirror of
https://github.com/andrew-d/static-binaries.git
synced 2025-01-01 11:37:47 +08:00
Tweak README
This commit is contained in:
parent
efd9724871
commit
e9ebd6779b
13
README.md
13
README.md
@ -10,12 +10,23 @@ them. I generally just create these as I need them.
|
|||||||
- [ag / the_silver_searcher](https://github.com/ggreer/the_silver_searcher)
|
- [ag / the_silver_searcher](https://github.com/ggreer/the_silver_searcher)
|
||||||
- [nmap](http://nmap.org/)
|
- [nmap](http://nmap.org/)
|
||||||
|
|
||||||
|
## Building
|
||||||
|
|
||||||
|
Generally, if the directory contains a Dockerfile, you can run the build by
|
||||||
|
doing something like (where `FOO` is the directory name):
|
||||||
|
|
||||||
|
```
|
||||||
|
cd FOO
|
||||||
|
docker build -t static-binaries-FOO .
|
||||||
|
docker run -v `pwd`/../binaries:/output static-binaries-FOO
|
||||||
|
```
|
||||||
|
|
||||||
## Notes:
|
## Notes:
|
||||||
|
|
||||||
### nmap
|
### nmap
|
||||||
|
|
||||||
- In order to do script scans, Nmap must know where the various Lua files live.
|
- In order to do script scans, Nmap must know where the various Lua files live.
|
||||||
You can do this by setting the `NMAPDIR` environment variable:
|
You can do this by setting the `NMAPDIR` environment variable:
|
||||||
`NMAPDIR=/usr/share/nmap nmap -vvv -A www.target.com`
|
`NMAPDIR=/usr/share/nmap nmap -vvv -A www.target.com`
|
||||||
|
|
||||||
- The `nmap_centos5` binary isn't statically-linked; rather, it's built on
|
- The `nmap_centos5` binary isn't statically-linked; rather, it's built on
|
||||||
|
Loading…
x
Reference in New Issue
Block a user