Skip to content

Commit 2031499

Browse files
committed
refinement: formatting.
1 parent e07225e commit 2031499

File tree

6 files changed

+18
-10
lines changed

6 files changed

+18
-10
lines changed

README.md

+6-3
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,14 @@
22

33
[![Latest Tag][6]][5] [![CI][3]][4] [![Go Report][1]][2] ![GitHub Releases][8]
44

5-
Experimental Go language CSGO exploit proof-of-concept. Automated tests utilizing stubbed external processes.
5+
Experimental Go language CSGO exploit proof-of-concept.
66

77
## Features
88

9-
- Trigger Bot (hold shift)
10-
- Bunny Hop (hold space)
9+
- Trigger Bot (hold shift).
10+
- Bunny Hop (hold space).
11+
- Offsets Autoupdate From [Hazedumper][9].
12+
- Automated tests utilizing stubbed external processes to avoid needing binary compatability.
1113

1214
## Screenshots
1315

@@ -46,3 +48,4 @@ go install github.com/jamesmoriarty/gohack
4648
[6]: https://img.shields.io/github/v/tag/jamesmoriarty/gohack.svg?logo=github&label=latest
4749
[7]: https://github.com/1jz/csgo-go-bhop
4850
[8]: https://img.shields.io/github/downloads/jamesmoriarty/gohack/total
51+
[9]: https://github.com/frk1/hazedumper

cmd/gohack.go

+2-1
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@ package main
22

33
import (
44
"fmt"
5+
"os"
6+
57
"github.com/jamesmoriarty/gohack"
68
log "github.com/sirupsen/logrus"
7-
"os"
89
)
910

1011
func PrintBanner() {

gohack_windows.go

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ package gohack
22

33
import (
44
"errors"
5+
56
"github.com/jamesmoriarty/gohack/internal/gohack"
67
"github.com/jamesmoriarty/gomem"
78
log "github.com/sirupsen/logrus"

internal/gohack/bhop.go

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
package gohack
22

33
import (
4-
"github.com/jamesmoriarty/gomem"
5-
"time"
64
"runtime"
5+
"time"
76
"unsafe"
7+
8+
"github.com/jamesmoriarty/gomem"
89
)
910

1011
func RunBHOP(client *Client) {

internal/gohack/offsets.go

+3-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,10 @@ package gohack
22

33
import (
44
"errors"
5-
"gopkg.in/yaml.v2"
65
"io/ioutil"
76
"net/http"
7+
8+
"gopkg.in/yaml.v2"
89
)
910

1011
const (
@@ -19,7 +20,7 @@ type Offsets struct {
1920
OffsetdwForceAttack uintptr `yaml:"dwForceAttack"`
2021
} `yaml:"signatures"`
2122
Netvars struct {
22-
Offsetm_fFlags uintptr `yaml:"m_fFlags"`
23+
Offsetm_fFlags uintptr `yaml:"m_fFlags"`
2324
Offsetm_iCrosshairId uintptr `yaml:"m_iCrosshairId"`
2425
} `yaml:"netvars"`
2526
}

internal/gohack/trigger.go

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
11
package gohack
22

33
import (
4-
"github.com/jamesmoriarty/gomem"
5-
"time"
64
"runtime"
5+
"time"
76
"unsafe"
7+
8+
"github.com/jamesmoriarty/gomem"
89
)
910

1011
func RunTrigger(client *Client) {

0 commit comments

Comments
 (0)