Skip to content

Commit 9bbc5f9

Browse files
author
AutoAR Bot
committed
Document AWS SDK S3 integration and CGO/pcap requirements
1 parent 7406ffc commit 9bbc5f9

2 files changed

Lines changed: 29 additions & 10 deletions

File tree

Dockerfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,12 @@ COPY templates/ ./templates/
6464
COPY autoar.sample.yaml ./
6565
COPY env.example ./
6666

67+
# Clone submodules directly
68+
RUN cd /app && \
69+
rm -rf nuclei_templates Wordlists && \
70+
git clone --depth 1 https://github.com/h0tak88r/nuclei_templates.git nuclei_templates && \
71+
git clone --depth 1 https://github.com/h0tak88r/Wordlists.git Wordlists
72+
6773
# Copy Go tools from builder stage
6874
COPY --from=builder /go/bin/ /usr/local/bin/
6975
# Copy main autoar binary

README.md

Lines changed: 23 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ AutoAR is a comprehensive, modular security automation toolkit designed for bug
1717
- **React2Shell Scanner**: React Server Components RCE detection (CVE-2025-55182) with WAF bypass methods, source code exposure checks, and DoS testing
1818
- **WordPress Plugin Confusion**: Automated WP plugin/theme confusion attack detection
1919
- **Dependency Confusion**: GitHub repository dependency confusion scanning
20-
- **S3 Bucket Enumeration**: AWS S3 bucket discovery and analysis
20+
- **S3 Bucket Enumeration**: AWS S3 bucket discovery and analysis (pure Go via AWS SDK v2, no aws CLI required)
2121
- **SQL Injection Testing**: SQLMap integration for automated SQLi testing
2222
- **XSS Detection**: Dalfox integration for cross-site scripting detection
2323
- **Backup File Discovery**: Automated backup file and sensitive file discovery
@@ -129,14 +129,14 @@ sudo apt install golang-go # Ubuntu/Debian
129129
Only required if you run AutoAR **directly on your host**.
130130
The official Docker images install these automatically.
131131
Most scanners are still invoked as external binaries; several tools like `next88`, `apkX`,
132-
`confused2`, `fuzzuli`, `dalfox`, `gf`, `urlfinder`, `jsfinder`, `kxss`, `naabu`, and `misconfig-mapper`
133-
are embedded as Go libraries and do **not** need separate installation.
132+
`confused2`, `fuzzuli`, `dalfox`, `gf`, `urlfinder`, `jsfinder`, `kxss`, `naabu`, `misconfig-mapper`,
133+
and the JWT engine (`jwthack`) are embedded as Go libraries and do **not** need separate installation.
134134
```bash
135135
# Go-based tools (external binaries AutoAR still calls via CLI)
136136
go install -v github.com/projectdiscovery/nuclei/v3/cmd/nuclei@latest
137137

138-
# Rust-based tools
139-
cargo install jwt-hack # JWT vulnerability scanner
138+
# System packages (for Naabu/pcap when building locally on Linux)
139+
sudo apt-get update && sudo apt-get install -y libpcap-dev
140140

141141
# Decompiler used by embedded apkX engine
142142
curl -L "https://github.com/skylot/jadx/releases/download/v1.4.7/jadx-1.4.7.zip" -o /tmp/jadx.zip
@@ -146,6 +146,11 @@ sudo ln -sf /opt/jadx/bin/jadx /usr/local/bin/jadx
146146
rm /tmp/jadx.zip
147147
```
148148

149+
**Note on AWS integration**
150+
151+
- S3 enumeration and scanning are implemented in pure Go using **AWS SDK for Go v2**.
152+
- You **do not** need the `aws` CLI; just configure standard AWS credentials (`AWS_ACCESS_KEY_ID`, `AWS_SECRET_ACCESS_KEY`, or IAM role / shared config).
153+
149154
3. **Build AutoAR**:
150155
```bash
151156
# Clone repository
@@ -607,11 +612,19 @@ AutoAR/
607612
│ │ ├── entrypoint/ # Docker entrypoint (Go binary)
608613
│ │ ├── config/ # Configuration management
609614
│ │ └── utils/ # Utility functions
610-
│ └── tools/ # Tool integrations/wrappers
611-
│ ├── confused2/ # Dependency confusion scanner helper
612-
│ ├── next88/ # React2Shell/Next.js RCE scanner (embedded Go library)
613-
│ ├── fuzzuli/ # Backup file discovery wrapper (CLI helper)
614-
│ └── apkx/ # Embedded apkX Android/iOS analysis engine
615+
│ └── tools/ # Tool integrations / vendored engines (pure Go)
616+
│ ├── confused2/ # Dependency confusion scanner (Go library)
617+
│ ├── next88/ # React2Shell/Next.js RCE scanner (Go library)
618+
│ ├── fuzzuli/ # Backup file discovery (Go library)
619+
│ ├── dalfox/ # XSS detection (Go library integration)
620+
│ ├── naabu/ # Port scanning (Go library integration)
621+
│ ├── urlfinder/ # Passive URL collection (native Go)
622+
│ ├── jsfinder/ # JS URL extraction (native Go)
623+
│ ├── kxss/ # Reflection/XSS helper (native Go)
624+
│ ├── gf/ # Pattern matching engine (native Go)
625+
│ ├── jwthack/ # JWT vulnerability engine (native Go)
626+
│ ├── misconfigmapper/ # Cloud misconfiguration engine (vendored)
627+
│ └── apkx/ # Embedded apkX Android/iOS analysis engine
615628
├── go.mod # Go module definition
616629
├── go.sum # Go module checksums
617630
├── nuclei_templates/ # Nuclei vulnerability templates (cloned)

0 commit comments

Comments
 (0)