Skip to content

Commit

Permalink
fix: Dockerfile broken apt install (#407)
Browse files Browse the repository at this point in the history
  • Loading branch information
ocervell authored Jun 5, 2024
1 parent ae56aa6 commit c023279
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ RUN apt update -y && \
jq \
openssl \
proxychains \
proxychains-ng \
&& rm -rf /var/lib/apt/lists/*
proxychains-ng

# Install Metasploit framework
RUN curl https://raw.githubusercontent.com/rapid7/metasploit-omnibus/master/config/templates/metasploit-framework-wrappers/msfupdate.erb > msfinstall
Expand All @@ -43,5 +42,8 @@ RUN secator install addons mongodb
RUN secator install addons redis
RUN secator install addons dev

# Cleanup
RUN rm -rf /var/lib/apt/lists/*

# Set entrypoint
ENTRYPOINT ["secator"]
2 changes: 1 addition & 1 deletion secator/output_types/progress.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
@dataclass
class Progress(OutputType):
duration: str
percent: int
percent: int = 0
errors: list = field(default_factory=list)
extra_data: dict = field(default_factory=dict)
_source: str = field(default='', repr=True)
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/outputs.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
_source='dnsx'
),
Record(
name='v=spf1 include:wikimedia.org ~all',
name='v=spf1 -all',
type='TXT',
host='wikipedia.org',
_source='dnsx'
Expand Down

0 comments on commit c023279

Please sign in to comment.