Compare commits
2 commits
f02994f32c
...
4168e8ea9b
Author | SHA1 | Date | |
---|---|---|---|
![]() |
4168e8ea9b | ||
![]() |
68c8772d23 |
2 changed files with 107 additions and 0 deletions
59
README.md
59
README.md
|
@ -0,0 +1,59 @@
|
|||
# LOIC
|
||||
|
||||
A DDOS tool that can be used to attack Kubernetes services and arbitrary URLs.
|
||||
|
||||
## Installation
|
||||
|
||||
Instructions on how to install and set up LOIC.
|
||||
|
||||
```bash
|
||||
# Clone the repository
|
||||
git clone https://forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/Daniel.Sy/loic-go.git
|
||||
|
||||
# Navigate to the project directory
|
||||
cd loic-go
|
||||
|
||||
# Install dependencies
|
||||
go mod tidy
|
||||
```
|
||||
|
||||
## Building with Go
|
||||
|
||||
Instructions on how to build and start LOIC using Go.
|
||||
|
||||
```bash
|
||||
# Build LOIC
|
||||
go build -o loic
|
||||
|
||||
# Start LOIC
|
||||
./loic start
|
||||
```
|
||||
|
||||
## Usage
|
||||
|
||||
Instructions on how to LOIC.
|
||||
|
||||
```bash
|
||||
# Start an attack
|
||||
./loic start --target http://example.com -c 10 -d 1m -r 30s
|
||||
|
||||
# Get the status of LOIC
|
||||
./loic status
|
||||
|
||||
# Start the Web UI
|
||||
./loic web
|
||||
|
||||
# Stop LOIC
|
||||
./loic stop
|
||||
```
|
||||
|
||||
## Contributing
|
||||
|
||||
Guidelines for contributing to the project.
|
||||
|
||||
1. Fork the repository.
|
||||
2. Create a new branch (`git checkout -b feature-branch`).
|
||||
3. Make your changes.
|
||||
4. Commit your changes (`git commit -m 'Add some feature'`).
|
||||
5. Push to the branch (`git push origin feature-branch`).
|
||||
6. Open a pull request.
|
48
go.mod
Normal file
48
go.mod
Normal file
|
@ -0,0 +1,48 @@
|
|||
module forgejo.edf-bootstrap.cx.fg1.ffm.osc.live/Daniel.Sy/loic-go
|
||||
|
||||
go 1.24.1
|
||||
|
||||
require (
|
||||
github.com/gin-gonic/gin v1.10.0
|
||||
github.com/spf13/cobra v1.9.1
|
||||
go.opentelemetry.io/otel v1.35.0
|
||||
go.opentelemetry.io/otel/exporters/stdout/stdoutmetric v1.35.0
|
||||
go.opentelemetry.io/otel/metric v1.35.0
|
||||
go.opentelemetry.io/otel/sdk v1.35.0
|
||||
go.opentelemetry.io/otel/sdk/metric v1.35.0
|
||||
)
|
||||
|
||||
require (
|
||||
github.com/bytedance/sonic v1.13.2 // indirect
|
||||
github.com/bytedance/sonic/loader v0.2.4 // indirect
|
||||
github.com/cloudwego/base64x v0.1.5 // indirect
|
||||
github.com/gabriel-vasile/mimetype v1.4.8 // indirect
|
||||
github.com/gin-contrib/sse v1.0.0 // indirect
|
||||
github.com/go-logr/logr v1.4.2 // indirect
|
||||
github.com/go-logr/stdr v1.2.2 // indirect
|
||||
github.com/go-playground/locales v0.14.1 // indirect
|
||||
github.com/go-playground/universal-translator v0.18.1 // indirect
|
||||
github.com/go-playground/validator/v10 v10.25.0 // indirect
|
||||
github.com/goccy/go-json v0.10.5 // indirect
|
||||
github.com/google/uuid v1.6.0 // indirect
|
||||
github.com/inconshreveable/mousetrap v1.1.0 // indirect
|
||||
github.com/json-iterator/go v1.1.12 // indirect
|
||||
github.com/klauspost/cpuid/v2 v2.2.10 // indirect
|
||||
github.com/leodido/go-urn v1.4.0 // indirect
|
||||
github.com/mattn/go-isatty v0.0.20 // indirect
|
||||
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
|
||||
github.com/modern-go/reflect2 v1.0.2 // indirect
|
||||
github.com/pelletier/go-toml/v2 v2.2.3 // indirect
|
||||
github.com/spf13/pflag v1.0.6 // indirect
|
||||
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
|
||||
github.com/ugorji/go/codec v1.2.12 // indirect
|
||||
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
|
||||
go.opentelemetry.io/otel/trace v1.35.0 // indirect
|
||||
golang.org/x/arch v0.15.0 // indirect
|
||||
golang.org/x/crypto v0.36.0 // indirect
|
||||
golang.org/x/net v0.37.0 // indirect
|
||||
golang.org/x/sys v0.31.0 // indirect
|
||||
golang.org/x/text v0.23.0 // indirect
|
||||
google.golang.org/protobuf v1.36.6 // indirect
|
||||
gopkg.in/yaml.v3 v3.0.1 // indirect
|
||||
)
|
Loading…
Reference in a new issue