nmap example.
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
FROM kapow
|
||||
RUN apk add nmap
|
||||
COPY nmap.kapow .
|
||||
CMD kapow nmap.kapow
|
||||
@@ -0,0 +1,3 @@
|
||||
POST /list/{ip} {
|
||||
nmap -sL @value:request/match/ip > @fifo:response/body
|
||||
}
|
||||
@@ -1,21 +0,0 @@
|
||||
|
||||
from setuptools import setup
|
||||
|
||||
setup(
|
||||
name='kapow',
|
||||
version='0.0.1',
|
||||
py_modules=['kapow'],
|
||||
include_package_data=True,
|
||||
install_requires=[
|
||||
'aiofiles==0.4.0',
|
||||
'aiohttp==3.5.4',
|
||||
'pyparsing==2.3.1',
|
||||
'Click==7.0'
|
||||
],
|
||||
zip_safe=True,
|
||||
entry_points={
|
||||
'console_scripts': [
|
||||
'kapow = kapow:main',
|
||||
]
|
||||
}
|
||||
)
|
||||
Reference in New Issue
Block a user