GithubHelp home page GithubHelp logo

dwisiswant0 / ppfuzz Goto Github PK

View Code? Open in Web Editor NEW
564.0 7.0 55.0 70 KB

A fast tool to scan client-side prototype pollution vulnerability written in Rust. ๐Ÿฆ€

License: MIT License

Rust 86.82% JavaScript 13.18%
rust-tools prototype-pollution bugbounty bugbounty-tool bugbountytips vulnerability-scanners rust security security-tools chromium

ppfuzz's Issues

fix

Nuclei templates not work

Can not Execute Binary File

I am using preinstalled version. I have chrome installed too but when i try to execute ppfuzz from /usr/local/bin it says binary not executable and when it is placed somewhere else it says command not found. I have also tried chmod +x ppfuzz command but still same error.

unresolved imports

unresolved imports clap::crate_authors, clap::crate_description, clap::crate_name, clap::crate_version
--> src/parser.rs:5:3
|
5 | crate_authors,
| ^^^^^^^^^^^^^ no crate_authors in the root
6 | crate_description,
| ^^^^^^^^^^^^^^^^^ no crate_description in the root
7 | crate_name,
| ^^^^^^^^^^ no crate_name in the root
8 | crate_version,
| ^^^^^^^^^^^^^ no crate_version in the root

error: cannot determine resolution for the macro crate_name
--> src/parser.rs:30:4
|
30 | crate_name!(), "FILE", "[OPTIONS]"
| ^^^^^^^^^^
|
= note: import resolution is stuck, try simplifying macro imports

error: cannot determine resolution for the macro crate_authors
--> src/parser.rs:33:12
|
33 | .author(crate_authors!())
| ^^^^^^^^^^^^^
|
= note: import resolution is stuck, try simplifying macro imports

error: cannot determine resolution for the macro crate_description
--> src/parser.rs:34:11
|
34 | .about(crate_description!())
| ^^^^^^^^^^^^^^^^^
|
= note: import resolution is stuck, try simplifying macro imports

error: cannot determine resolution for the macro crate_name
--> src/parser.rs:35:10
|
35 | .name(crate_name!())
| ^^^^^^^^^^
|
= note: import resolution is stuck, try simplifying macro imports

error: cannot determine resolution for the macro crate_version
--> src/parser.rs:36:13
|
36 | .version(crate_version!())
| ^^^^^^^^^^^^^
|
= note: import resolution is stuck, try simplifying macro imports

warning: use of deprecated macro load_yaml: Deprecated in Issue #3087, maybe clap::Parser would fit your use case?
--> src/parser.rs:27:14
|
27 | let yaml = load_yaml!("cli.yaml");
| ^^^^^^^^^
|
= note: #[warn(deprecated)] on by default

warning: use of deprecated macro clap::load_yaml: Deprecated in Issue #3087, maybe clap::Parser would fit your use case?
--> src/parser.rs:9:3
|
9 | load_yaml,
| ^^^^^^^^^

error[E0308]: mismatched types
--> src/parser.rs:32:23
|
32 | let app = App::from(yaml)
| ^^^^ expected struct App, found &yaml_rust::yaml::Yaml

Some errors have detailed explanations: E0308, E0432.
For more information about an error, try rustc --explain E0308.
warning: ppfuzz (lib) generated 2 warnings
error: could not compile ppfuzz due to 7 previous errors; 2 warnings emitted

[Enhancement] Latest version download automation

Hi,
first of all I need to thank you for your effort made on this awesome tool.

Can you please delete the version number from the compiled binaries names?
We, in reconftw, trying to automate the installation of tools but if the binaries for every new version will have a different name, that's will complicate installing the latest version of ppfuzz.

for exemple the names can be as below:

ppfuzz-aarch64
ppfuzz-armv7
ppfuzz-linux
ppfuzz-linux-i386
ppfuzz-osx
ppfuzz-windows.exe

Otherwise, we need to update the installation script for every new ppfuzz version.
thanks in advnce
Bilel Eljaamii

Error while building the resources

Hello. I used the command cargo build --release for building the resources after cloning it in my directory. Everything went fine till nearly 175 resources, later I am getting the following error
error

RUSTSEC-2023-0065: Tungstenite allows remote attackers to cause a denial of service

Tungstenite allows remote attackers to cause a denial of service

Details
Package tungstenite
Version 0.17.3
URL snapview/tungstenite-rs#376
Date 2023-09-25
Patched versions >=0.20.1

The Tungstenite crate through 0.20.0 for Rust allows remote attackers to cause
a denial of service (minutes of CPU consumption) via an excessive length of an
HTTP header in a client handshake. The length affects both how many times a parse
is attempted (e.g., thousands of times) and the average amount of data for each
parse attempt (e.g., millions of bytes).

See advisory page for additional details.

Unable to launch browser:

ppfuzz -l list.txt


| x | x | / _..___
| | | | | |/ // /
|
| |
| |
|`//_/

Prototype Pollution Fuzzer
@dwisiswant0

[ERRO] Unable to launch browser: Request timed out..
[INFO] Use '-h' flag for more info about command.

Error on building

There is an error when building from source code and from cargo.
Different one from this other issue
Here is the error:

Compiling ppfuzz v1.0.1
error[E0658]: binding by-move and by-ref in the same pattern is unstable
--> /home/jusepe/.cargo/registry/src/github.com-1ecc6299db9ec823/ppfuzz-1.0.1/src/fuzzer.rs:53:37
|
53 |         if let Ok((ref url, vuln, is_err, detail, gadgets)) = res {
|                    -------                ^^^^^^  ^^^^^^^ by-move pattern here
|                    |                      |
|                    |                      by-move pattern here
|                    by-ref pattern here
|
= note: see issue #68354 <https://github.com/rust-lang/rust/issues/68354> for more information

error: aborting due to previous error

For more information about this error, try `rustc --explain E0658`.
error: could not compile `ppfuzz`.

To learn more, run the command again with --verbose.
warning: build failed, waiting for other jobs to finish...
error: failed to compile `ppfuzz v1.0.1`, intermediate artifacts can be found at `/tmp/cargo-installRpiuBb`

Caused by:
build failed

Cargo version:

cargo 1.46.0

value: Timeout

Can you help me to fix this error
Thanks

thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Timeout', /root/.cargo/registry/src/github.com-1ecc6299db9ec823/ppfuzz-0.0.1/src/browser.rs:23:10
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Capture

problem install on macbookpro m1

`cargo build --release

Compiling ppfuzz v1.0.1 (/Users/azhariramadhan/Documents/pentest-tools/reconftw/ppfuzz)
error[E0432]: unresolved imports clap::crate_authors, clap::crate_description, clap::crate_name, clap::crate_version
--> src/parser.rs:5:3
|
5 | crate_authors,
| ^^^^^^^^^^^^^ no crate_authors in the root
6 | crate_description,
| ^^^^^^^^^^^^^^^^^ no crate_description in the root
7 | crate_name,
| ^^^^^^^^^^ no crate_name in the root
8 | crate_version,
| ^^^^^^^^^^^^^ no crate_version in the root

error: cannot determine resolution for the macro crate_name
--> src/parser.rs:30:4
|
30 | crate_name!(), "FILE", "[OPTIONS]"
| ^^^^^^^^^^
|
= note: import resolution is stuck, try simplifying macro imports

error: cannot determine resolution for the macro crate_authors
--> src/parser.rs:33:12
|
33 | .author(crate_authors!())
| ^^^^^^^^^^^^^
|
= note: import resolution is stuck, try simplifying macro imports

error: cannot determine resolution for the macro crate_description
--> src/parser.rs:34:11
|
34 | .about(crate_description!())
| ^^^^^^^^^^^^^^^^^
|
= note: import resolution is stuck, try simplifying macro imports

error: cannot determine resolution for the macro crate_name
--> src/parser.rs:35:10
|
35 | .name(crate_name!())
| ^^^^^^^^^^
|
= note: import resolution is stuck, try simplifying macro imports

error: cannot determine resolution for the macro crate_version
--> src/parser.rs:36:13
|
36 | .version(crate_version!())
| ^^^^^^^^^^^^^
|
= note: import resolution is stuck, try simplifying macro imports

error[E0308]: mismatched types
--> src/parser.rs:32:23
|
32 | let app = App::from(yaml)
| --------- ^^^^ expected struct App, found &yaml_rust::yaml::Yaml
| |
| arguments to this function are incorrect
|
note: associated function defined here

Some errors have detailed explanations: E0308, E0432.
For more information about an error, try rustc --explain E0308.
error: could not compile ppfuzz due to 7 previous errors
`

Chromium

Chromium still running in the background after ppfuzz's scanning which ate the ram.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.