Skip to content

Commit

Permalink
Add FTP docker service and integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
vpereira committed Nov 26, 2023
1 parent ed7c2fd commit eec745a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,16 @@ services:
- tail
- -f
- /dev/null
ftp:
image: fauria/vsftpd
environment:
FTP_USER: foo
FTP_PASS: bar
PASV_ADDRESS: 127.0.0.1
ports:
- "21:21"
- "30000-30009:30000-30009"

httpd:
build: docker/http_basic_auth
ports:
Expand Down
1 change: 1 addition & 0 deletions scripts/test_valid_use_cases.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@ $BRUCUTU -u pop3://email -l foo -p thepassword || exit -1
$BRUCUTU -u pop3://email -L samples/users.txt -P samples/passwd.txt || exit -1
# Giving false positive
$BRUCUTU -u http://httpd -l foo -p bar -f || exit -1
$BRUCUTU -u ftp://ftp -l foo -p bar -f || exit -1

exit 0

0 comments on commit eec745a

Please sign in to comment.