Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding support for ftps #868

Merged
merged 3 commits into from
May 20, 2024
Merged

Adding support for ftps #868

merged 3 commits into from
May 20, 2024

Conversation

Mzack9999
Copy link
Member

Closes #748

@Mzack9999 Mzack9999 added the Type: Enhancement Most issues will probably ask for additions or changes. label May 8, 2024
@Mzack9999 Mzack9999 self-assigned this May 8, 2024
@Mzack9999 Mzack9999 linked an issue May 8, 2024 that may be closed by this pull request
Copy link
Member

@ehsandeep ehsandeep left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

./interactsh-server -d hackwithautomation.com -ftp

    _       __                       __       __  
   (_)___  / /____  _________ ______/ /______/ /_ 
  / / __ \/ __/ _ \/ ___/ __ '/ ___/ __/ ___/ __ \
 / / / / / /_/  __/ /  / /_/ / /__/ /_(__  ) / / /
/_/_/ /_/\__/\___/_/   \__,_/\___/\__/____/_/ /_/

                projectdiscovery.io

[INF] Current interactsh version 1.1.9 (latest)
[INF] Public IP: 157.230.223.165
[INF] Outbound IP: 157.230.223.165
[INF] Client Token: xxx
[INF] Loading existing SSL Certificate for:  [*.hackwithautomation.com, hackwithautomation.com]
[INF] Listening with the following services:
[FTPS] Listening on TCP 157.230.223.165:0
[DNS] Listening on TCP 157.230.223.165:53
[LDAP] Listening on TCP 157.230.223.165:389
[SMTP] Listening on TCP 157.230.223.165:25
[HTTP] Listening on TCP 157.230.223.165:80
[HTTPS] Listening on TCP 157.230.223.165:443
[FTP] Listening on TCP 157.230.223.165:21
[SMTPS] Listening on TCP 157.230.223.165:587
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x9b1e97]

goroutine 47 [running]:
goftp.io/server/v2.(*Server).ListenAndServe(0x0)
        /root/go/pkg/mod/goftp.io/server/[email protected]/server.go:258 +0x17
github.com/projectdiscovery/interactsh/pkg/server.(*FTPServer).ListenAndServe.func1()
        /root/interactsh/pkg/server/ftp_server.go:89 +0x49
created by github.com/projectdiscovery/interactsh/pkg/server.(*FTPServer).ListenAndServe in goroutine 42
        /root/interactsh/pkg/server/ftp_server.go:84 +0x86

@Mzack9999
Copy link
Member Author

# go run . -d hackwithautomation.com -ftp

    _       __                       __       __
   (_)___  / /____  _________ ______/ /______/ /_
  / / __ \/ __/ _ \/ ___/ __ '/ ___/ __/ ___/ __ \
 / / / / / /_/  __/ /  / /_/ / /__/ /_(__  ) / / /
/_/_/ /_/\__/\___/_/   \__,_/\___/\__/____/_/ /_/

                projectdiscovery.io

[INF] Current interactsh version 1.1.9 (latest)
[INF] Public IP: 157.230.223.165
[INF] Outbound IP: 157.230.223.165
[INF] Client Token: xxx
[INF] Loading existing SSL Certificate for:  [*.hackwithautomation.com, hackwithautomation.com]
1.716195531192295e+09   info    maintenance     started background certificate maintenance      {"cache": "0xc000179a00"}
[INF] Listening with the following services:
[FTP] Listening on TCP 157.230.223.165:21
[FTPS] Listening on TCP 157.230.223.165:990
[SMTPS] Listening on TCP 157.230.223.165:587
[DNS] Listening on TCP 157.230.223.165:53
[HTTPS] Listening on TCP 157.230.223.165:443
[HTTP] Listening on TCP 157.230.223.165:80
[DNS] Listening on UDP 157.230.223.165:53
[SMTP] Listening on TCP 157.230.223.165:25
[LDAP] Listening on TCP 157.230.223.165:389
...

image

@Mzack9999 Mzack9999 requested a review from ehsandeep May 20, 2024 10:27
@ehsandeep ehsandeep merged commit 9ecf933 into dev May 20, 2024
8 checks passed
@ehsandeep ehsandeep deleted the feat-748-ftps branch May 20, 2024 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Enhancement Most issues will probably ask for additions or changes.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

No interactions received over FTP 21 with TLS
2 participants