MCPcopy Index your code
hub / github.com/chennqqi/godnslog

github.com/chennqqi/godnslog @v0.7.0

Chat with this repo
repository ↗ · DeepWiki ↗ · release v0.7.0 ↗ · + Follow
327 symbols 725 edges 104 files 34 documented · 10% updated 27d agov0.7.0 · 2021-08-09★ 46914 open issues
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

GODNSLOG

A dns&http log server for verify SSRF/XXE/RFI/RCE vulnerability

English Doc | 中文文档

features

  • DNSLOG
  • HTTPLGO
  • Rebinding/CustomRebinding
  • Push (callback)
  • Multi-user
  • dockerlized
  • python/golang client sdk
  • as a standard name resolve service with support A,CNAME,TXT,MX
  • xip

DNSLOG

super admin user: admin password will be showed in console logs when first run. you can change it by subcommand resetpw

HTTPLOG

build frontend

requirements:

yarn

cd frontend
yarn install
yarn build

build backend

requirements:

golang >= 1.13.0

go build

docker build

docker build -t "user/godnslog" .

For Chinese user:

docker build -t "user/godnslog" -f DockerfileCN .

RUN

i. Register your domain, eg: example.com Set your DNS Server point to your host, eg: ns.example.com => 100.100.100.100 Some registrar limit set to NS host, your can set two ns host point to only one address. Some registrar to ns host must be different ip address, you can set one to a fake addresss and then change to the same addresss

ii. self build

docker run -p80:8080 -p53:53/udp "user/godnslog"  serve -domain yourdomain.com -4 100.100.100.100

or use dockerhub

docker pull "sort/godnslog"
docker run -p80:8080 -p53:53/udp -p80:8080  "sort/godnslog" serve -domain yourdomain.com -4 100.100.100.100

iii. access http://100.100.100.100

Doc

guest/guest123

introduce payload api rebiding resolve

TODO && Known Issues

  • [x]fix demo code
  • [x]add docker-compose
  • [x]add default www resolve
  • [x]init guest user option
  • [x]fix custom clean interval setting
  • [x]enhance rebinding https://github.com/chennqqi/godnslog/issues/14
  • [ ]~~enhance reverse proxy~~
  • [ ]admin user can read all recordds
  • [ ]allow Anonymous user access document page
  • [ ]enable custom rebinding stage two setting
  • [ ]fix logout dialog overlap by markdown
  • [ ]fix login logical problem

Follow me

Core symbols most depended-on inside this repo

resp
called by 91
server/webui.go
Close
called by 32
cache/cache.go
log
called by 21
server/dnsserver.go
getTranslateFunc
called by 20
server/webui.go
builder
called by 15
frontend/src/mock/util.js
resolve
called by 11
frontend/vue.config.js
makePassword
called by 6
server/utils.go
QueryDns
called by 5
client/client.go

Shape

Function 190
Method 76
Struct 37
TypeAlias 23
Class 1

Languages

Go51%
TypeScript47%
Python2%

Modules by API surface

server/webui.go28 symbols
server/models.go21 symbols
models/api.go19 symbols
server/utils.go14 symbols
frontend/src/components/Table/index.js13 symbols
frontend/src/api/manage.js12 symbols
models/table.go11 symbols
frontend/src/utils/util.js11 symbols
frontend/src/components/Tree/Tree.jsx11 symbols
server/dnsserver.go10 symbols
server/webserver.go9 symbols
frontend/src/components/TagSelect/index.jsx8 symbols

Datastores touched

(mysql)Database · 1 repos

For agents

$ claude mcp add godnslog \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact