Skip to content

Commit

Permalink
Merge pull request #10 from thewhiteh4t/master
Browse files Browse the repository at this point in the history
Update
  • Loading branch information
cbk914 authored Sep 20, 2020
2 parents e109e59 + 90093a6 commit 2bace71
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ RUN rm -rf /var/cache/apk/*
WORKDIR /root
RUN git clone https://github.com/thewhiteh4t/finalrecon.git
WORKDIR /root/finalrecon/
RUN pip3 install wheel
RUN pip3 install --upgrade pip
RUN pip3 install -r requirements.txt
ENTRYPOINT ["python3", "finalrecon.py"]
ENTRYPOINT ["python3", "finalrecon.py"]
3 changes: 2 additions & 1 deletion finalrecon.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@
pass
else:
pass
path_to_script = os.path.dirname(os.path.realpath(__file__))

with open('requirements.txt', 'r') as rqr:
with open(path_to_script + '/requirements.txt', 'r') as rqr:
pkg_list = rqr.read().strip().split('\n')

print('\n' + G + '[+]' + C + ' Checking Dependencies...' + W + '\n')
Expand Down

0 comments on commit 2bace71

Please sign in to comment.