Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

Commit

Permalink
Fix sv_pure_bypass_8 (#43)
Browse files Browse the repository at this point in the history
  • Loading branch information
szmarczak authored Dec 10, 2020
1 parent 832f4e5 commit d15340b
Show file tree
Hide file tree
Showing 5 changed files with 195 additions and 187 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ Why post stuff like this in public? Valve doesn't care anymore, see the [model_b
| sv_pure_bypass_3 | Yes | 24-07-2020 | [06-08-2020](https://blog.counter-strike.net/index.php/2020/08/31269/) | [DepoSit](https://www.youtube.com/watch?v=aL2rQzhFTn4), [@mbhound](https://github.com/mbhound) and [@szmarczak](https://github.com/szmarczak) |
| sv_pure_bypass_4 | Yes | 06-08-2020 | [17-08-2020](https://blog.counter-strike.net/index.php/2020/08/31374/) | [@szmarczak](https://github.com/szmarczak) and [@mbhound](https://github.com/mbhound) |
| sv_pure_bypass_5 | Yes | 06-08-2020 | [17-09-2020](https://blog.counter-strike.net/index.php/2020/09/31687/) | [@szmarczak](https://github.com/szmarczak) |
| sv_pure_bypass_5_2 | Yes | 18-09-2020 | [04-12-2020](https://blog.counter-strike.net/index.php/2020/12/31908/) | [@szmarczak](szmarczak) |
| sv_pure_bypass_5_2 | Yes | 18-09-2020 | [03-12-2020](https://blog.counter-strike.net/index.php/2020/12/31908/) | [@szmarczak](szmarczak) |
| sv_pure_bypass_6 | Yes | 21-08-2020 | [01-09-2020](https://blog.counter-strike.net/index.php/2020/09/31532/) | [@kkthxbye-code](https://github.com/kkthxbye-code) |
| sv_pure_bypass_7 | Yes | 10-08-2020 | [17-09-2020](https://blog.counter-strike.net/index.php/2020/09/31687/) | [@szmarczak](szmarczak) |
| sv_pure_bypass_7_2 | Yes | 18-09-2020 | [03-12-2020](https://blog.counter-strike.net/index.php/2020/12/31908/) | [@szmarczak](szmarczak) |
| sv_pure_bypass_8 | No | 04-12-2020 | | [@szmarczak](szmarczak) |
| sv_pure_bypass_8 | No | 04-12-2020 | | [@szmarczak](szmarczak) and [@Billar42](https://github.com/Billar42) |
| con_logfile_tricks | Yes | ??-??-2018 | [01-09-2020](https://blog.counter-strike.net/index.php/2020/09/31532/) | [@kkthxbye-code](https://github.com/kkthxbye-code) |
| netcon_stuff | Yes | ??-03-2020 | [26-08-2020](https://blog.counter-strike.net/index.php/2020/08/31476/) | [@403-fruit](https://github.com/403-Fruit) and [@szmarczak](https://github.com/szmarczak) |
| netcon_hitmarker | Yes | 10-08-2020 | [01-09-2020](https://blog.counter-strike.net/index.php/2020/09/31532/) | [DepoSit](https://youtu.be/T7ShZxNGr5E?t=226) and [@szmarczak](https://github.com/szmarczak) |
52 changes: 28 additions & 24 deletions sv_pure_bypass_8/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,44 +4,48 @@ It took Valve 3 months to fix the recent (`sv_pure_bypass_5_2` and `sv_pure_bypa

While they mostly fixed it, they have left something behind... Danger Zone.

#### Compile mirror.exe (optional)

**Note:** This note is only for Windows users.

**Note:** This is optional. You can use the precompiled `mirror.exe` instead.

If you don't trust our modified `mirror.exe` (a Dokany example), you can compile one by yourself:

Replace

https://github.com/dokan-dev/dokany/blob/6ae6188e61df3f7a1448591a3675c130c4d22bc7/samples/dokan_mirror/mirror.c#L396

with

```c
CreateFile(filePath, genericDesiredAccess, 3,
```
then recompile with Visual Studio.
**Update 10th December 2020:** It now works on Competetive and Wingman. Have fun!

### Steps

0. Install [`Node.js`](https://nodejs.org/en/download/current/).
1. If you're not running Windows, skip this step.
1. Install [Dokany](https://github.com/dokan-dev/dokany) (necessary for mirroring the VPK files) - [Download from GitHub](https://github.com/dokan-dev/dokany/releases/download/v1.4.0.1000/Dokan_x64.msi)
2. Reboot the computer.
3. Download [`mirror.exe`](mirror.exe) or compile it using the instructions above.
1. Install [WinFSP](https://github.com/billziss-gh/winfsp/releases/tag/v1.9B1) (necessary for mirroring the VPK files)
2. Download pre-compiled [`passthrough-x64.exe`](passthrough-x64.exe) or compile it [yourself](https://github.com/billziss-gh/winfsp/tree/v1.9B1/tst/passthrough-cpp).
2. Add `-netconport 2121` to launch options.
3. Update `CSGO_EXE_DIR` and `VIDEO_FILE` constants in the `wallhack.js` file.
Note that on Windows you need to use `\\` to add a backslash.
4. Run `node wallhack.js`
5. Wait till you see `Connecting to port 2121...`
6. Run CS:GO and connect to any Danger Zone server.
6. Run CS:GO and connect to any server.
7. Profit!
8. To revert changes either close CS:GO or press CTRL+C in the terminal (this will close CS:GO on Windows).

Please note that it does **not** work on Competitive and Wingman. It rarely works on Deathmatch and Casual. Always works on Danger Zone.
**Note:** If the wallhacks don't turn on within 10s after you connect to a server you need to change shader settings manually.

### Maps

* Danger Zone (all)

* Nuke: CTs & Ts

* Mirage: CTs
* Vertigo: CTs
* Inferno: CTs
* Office: CTs
* Agency: CTs

* Overpass: Ts
* Cache: Ts

* Dust: none
* Train: none
* Anubis: none
* Ancient: none

### Credits

* [@szmarczak](https://github.com/szmarczak) for discovering the bug.
* [@Billar42](https://github.com/Billar42) for noticing that replacing other VPK files will enable wallhacks on more maps.

**Note:** Previous bypasses used [Dokany](https://github.com/dokan-dev/dokany). It got dropped because WinFSP is more stable.
Binary file removed sv_pure_bypass_8/mirror.exe
Binary file not shown.
Binary file added sv_pure_bypass_8/passthrough-x64.exe
Binary file not shown.
Loading

0 comments on commit d15340b

Please sign in to comment.