https://github.com/affix/hijackmonitor
A simple DNS Hijacking monitor
https://github.com/affix/hijackmonitor
Last synced: about 1 year ago
JSON representation
A simple DNS Hijacking monitor
- Host: GitHub
- URL: https://github.com/affix/hijackmonitor
- Owner: affix
- License: mit
- Created: 2024-04-12T17:16:44.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-12T17:18:04.000Z (about 2 years ago)
- Last Synced: 2025-04-05T07:41:26.659Z (over 1 year ago)
- Language: Shell
- Size: 1.95 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
HijackMonitor
==============
HijackMonitor is a tool to monitor a domain for DNS hijacking. It is container based and can be run standalone or as a Kubernetes CronJob.
## Usage
### Standalone
```bash
$ docker run -it --rm -e HOST=hackerone.com -e DISCORD_WEBHOOK=https://discord.com/api/webhooks/... affixxx/hijackmonitor:latest
```
### Kubernetes CronJob
```bash
$ cat < /tmp/cron.yaml
apiVersion: batch/v1
kind: CronJob
metadata:
name: hackerone
spec:
schedule: "0 * * * *"
jobTemplate:
spec:
template:
spec:
containers:
- name: hackerone
image: affixxx/hijackmonitor:latest
env:
- name: HOST
value: "hackerone.com" # Replace this with your hostname
- name: DISCORD_WEBHOOK_URL
valueFrom: # Replace this with the value of your webhook url, remember webhook URLs are sensitive
secretKeyRef:
name: discord-webhook
key: password
imagePullPolicy: Always
restartPolicy: Never
EOF
$ kubectl apply -f /tmp/cron.yaml
```