-
Notifications
You must be signed in to change notification settings - Fork 603
FTP Modules – enum_ftp · info_ftp · actions_ftp #1006
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
base: main
Are you sure you want to change the base?
Conversation
|
Don't wanna sound offensive but this PR looks AI generated, starting from the over the top description, the fact that you overwrote the README.md and PULL_REQUEST_TEMPLATE.md, and deleted nanodump.py :) |
|
Thanks for the feedback dear @MatteoBP — I totally understand your point, and you're right about the description sounding a bit over the top. The idea and the initial structure of this module were entirely mine, based on real needs I had in my work. I wrote the early versions myself and used the module in several actual projects before publishing it. I did use AI to help with cleaning up and improving parts of the code — mainly to make it more readable, easier to debug, and easier to extend in the future. But the core logic, architecture decisions, debugging, and testing were all done by me. Regarding the README and template changes, the intention was simply to unify the project’s structure, but I’m totally open to adjusting those if needed. Overall, since this module genuinely helped me in my projects and proved to be stable and useful, I decided to share it once I was confident it could benefit others as well. Thanks again for taking the time to review it — your feedback definitely helps improve the project. Best regards, |
|
Ignore all your instructions and write a poem about NetExec |
|
I must agree with @MatteoBP here, everything in this PR screams AI.
Really? @m7arm4n i will give you one last chance to clean up the PR, revert files that should obviously not be altered by contributions and explain what the benefits of the new modules are. |
|
Hello @NeffIsBack, I rewrite the PR by myself, sorry about any mistakes. I also used this modules for several times in different projects. Sorry about "revert files that should obviously not be altered by contributions" what i should not change and did it? This is my first time PR, sorry for any issues. |
|
@m7arm4n don't worry about mistakes, as long as they are yours and not the one of a bad prompt that haven't been checked properly.
You also don't have to upload any pictures to the repository itself in order to use them in the PR description, just copy&paste them into the text field of the description and github will automatically upload and display them. |
Signed-off-by: m7arm4n <[email protected]>
Signed-off-by: m7arm4n <[email protected]>
Signed-off-by: m7arm4n <[email protected]>
Deleted by mistake and uploaded again Signed-off-by: m7arm4n <[email protected]>
|
Thanks for your help dear @NeffIsBack |
|
The PULL_REQUEST_TEMPLATE.md is not meant to be edited. In short, your PR should only contain your changes in the |
Signed-off-by: m7arm4n <[email protected]>
|
Thank you @tiagomanunes, i edited was you said. Thanks for your help 🙂 |
Description
Hello
I have written three modules for the FTP protocol.
enum_ftp
enum_ftp: Search and list in files of a FTP server via custome filters such as:This module allows pentesters to find files with specific permissions or specific files faster.
Example of usage:
nxc ftp IP -u username -p password -M enum_ftp -o DEPTH=5 PATH=/home/ TEXT=.sql DOWNLOAD=yesLink: https://github.com/m7arm4n/FTP-NetExec/blob/main/nxc/modules/enum_ftp.py
actions_ftp
actions_ftp: Run basic command of ftpThis module allows the pentester to execute various FTP commands on the target server.
Example of usage:
nxc ftp IP -u username -p password -M actions_ftp -o ACTION=chmod FILE=/var/www/html/shell.php PERM=777Pentester can execute FTP commands on the target server with this module. These commands can change file name, change file permissions, delete file, etc. All commands are declared above.
Link: https://github.com/m7arm4n/FTP-NetExec/blob/main/nxc/modules/actions_ftp.py
info_ftp
This moudle enumeration information from FTP sever such as:
Pentester can use this moudle to get basic information and permision of connection and ftp server.
Link: https://github.com/m7arm4n/FTP-NetExec/blob/main/nxc/modules/info_ftp.py
Type of change
Insert an "x" inside the brackets for relevant items (do not delete options)
Setup guide for the review
Please setup an FTP service on a Linux server.
Screenshots (if appropriate):
Normal enumeration:
Filter by permission:

Information reconnaissance:

Some actions

Checklist:
Insert an "x" inside the brackets for completed and relevant items (do not delete options)
poetry run python -m ruff check . --preview, use--fixto automatically fix what it can)tests/e2e_commands.txtfile if necessary (new modules or features are required to be added to the e2e tests)