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

Add nmap-viewer and token-exploit #400

Open
psyray opened this issue Oct 13, 2024 · 4 comments
Open

Add nmap-viewer and token-exploit #400

psyray opened this issue Oct 13, 2024 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@psyray
Copy link
Contributor

psyray commented Oct 13, 2024

The needs

I've created 2 tools that you could integrate into Exegol to help pentesters

Description

Nmap-Viewer : A graphical Web UI made in React to quickly and easily extract useful informations on a wide scope with a lot of open ports
image

Token Exploiter : A graphical Web UI made in Python that retrieve all the useful informations about a leaked GitHub Token (GitLab token support is planned)
image

More info here
https://github.com/psyray/nmap-viewer
https://github.com/psyray/token-exploiter

Alternatives

No response

Additional context

No response

@psyray psyray added the enhancement New feature or request label Oct 13, 2024
@QU35T-code QU35T-code self-assigned this Oct 18, 2024
@QU35T-code
Copy link
Member

Hi @psyray !

First of all, thank you for proposing new tools ! We'll review all this and give you an update asap !

@ShutdownRepo
Copy link
Member

Agreed, will merge a PR
Or we'll do it ourselves when we find the time
Thank you @psyray, keeping the issue open until it's in Exegol

@cHJlaXpoZXI
Copy link
Contributor

Hi !

I made a PR for Token-Exploiter.

For Nmap-Viewer is more complicated : I really don't know why I doesn't to install without the bash script... I take every commands used but I have an error :

Failed to compile.

Unexpected end of JSON input


(node:8853) ExperimentalWarning: CommonJS module /root/.nvm/versions/node/v23.2.0/lib/node_modules/npm/node_modules/debug/src/node.js is loading ES Module /root/.nvm/versions/node/v23.2.0/lib/node_modules/npm/node_modules/supports-color/index.js using require().
Support for loading ES Module in require() is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)

changed 88 packages in 3s

24 packages are looking for funding
  run `npm fund` for details

If I install it with the function install in the bash script everything worked fine. So for now I cannot push a PR for that tool. This is the draft for Exegol installation :

    colorecho "Installing Nmap Viewer"
    git -C /opt/tools/ clone --depth 1 https://github.com/psyray/nmap-viewer
    cd /opt/tools/nmap-viewer || exit
    asdf plugin add nodejs
    NODEJS_VERSION=$(asdf latest nodejs)
    asdf install nodejs $NODEJS_VERSION
    asdf global nodejs $NODEJS_VERSION
    npm ci
    npm run build
    npm install -g serve
    add-aliases nmap-viewer
    add-history nmap-viewer
    add-test-command "nmap-viewer -h"
    add-to-list "nmap-viewer,https://github.com/psyray/nmap-viewer,Nmap Viewer is a web-based application designed to visualize and analyze the output of Nmap scans."

@psyray
Copy link
Contributor Author

psyray commented Dec 9, 2024

Hi !

I made a PR for Token-Exploiter.

For Nmap-Viewer is more complicated : I really don't know why I doesn't to install without the bash script... I take every commands used but I have an error :

Failed to compile.

Unexpected end of JSON input


(node:8853) ExperimentalWarning: CommonJS module /root/.nvm/versions/node/v23.2.0/lib/node_modules/npm/node_modules/debug/src/node.js is loading ES Module /root/.nvm/versions/node/v23.2.0/lib/node_modules/npm/node_modules/supports-color/index.js using require().
Support for loading ES Module in require() is an experimental feature and might change at any time
(Use `node --trace-warnings ...` to show where the warning was created)

changed 88 packages in 3s

24 packages are looking for funding
  run `npm fund` for details

If I install it with the function install in the bash script everything worked fine. So for now I cannot push a PR for that tool. This is the draft for Exegol installation :

    colorecho "Installing Nmap Viewer"
    git -C /opt/tools/ clone --depth 1 https://github.com/psyray/nmap-viewer
    cd /opt/tools/nmap-viewer || exit
    asdf plugin add nodejs
    NODEJS_VERSION=$(asdf latest nodejs)
    asdf install nodejs $NODEJS_VERSION
    asdf global nodejs $NODEJS_VERSION
    npm ci
    npm run build
    npm install -g serve
    add-aliases nmap-viewer
    add-history nmap-viewer
    add-test-command "nmap-viewer -h"
    add-to-list "nmap-viewer,https://github.com/psyray/nmap-viewer,Nmap Viewer is a web-based application designed to visualize and analyze the output of Nmap scans."

I will do some tests and make feedback

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

4 participants