Disguised-Webqwest: A sample code for chrome impersonated requests and websocket connections.
Building Disguised-Webqwest requires a linux environment with Rust.
To run the build, run:
$ cargo build
After building Disguised-Webqwest, you can run its main function:
$ cargo run
Compiling bindgen v0.69.4
Compiling boring-sys-imp v2.1.0
Compiling boring-imp v2.1.1
Compiling tokio-boring-imp v2.1.5
Compiling hyper-boring-imp v2.1.7
Compiling reqwest-impersonate v0.11.86
Compiling disguised-webqwest v0.1.0 (/root/Documents/Workspace/disguised-webqwest)
Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.46s
Running `target/debug/disguised-webqwest`
Status Code: 200
received: Request served by 1781505b56ee58
received: Hello, World! #1
received: Hello, World! #2
received: Hello, World! #3
received: Hello, World! #4
received: Hello, World! #5
The directory structure of this project is:
js-replacer/
├── Cargo.toml
├── README.md
├── src/
| └── main.rs
└── target/
Entry | Purpose |
---|---|
Cargo.toml |
The Cargomanifest file, which informs the cargo command. |
README.md |
This file. |
src/ |
The directory tree containing the Rust source code for the project. |
main.rs |
Entry point for the Rust source code. |
target/ |
Binary artifacts generated by the Rust build. |
Learn more about:
- Rust.