2024-06-08 22:51:36 +08:00
fix
2022-04-10 02:19:29 +08:00
2022-04-01 12:05:54 +08:00
2024-06-08 22:51:36 +08:00
2022-04-10 11:57:31 +08:00
2024-06-08 22:51:36 +08:00
2022-04-20 21:30:15 +08:00
2022-04-01 12:05:54 +08:00
2022-04-06 11:14:44 +08:00
fix
2022-04-25 10:42:16 +08:00
2022-04-20 21:30:15 +08:00
2022-04-20 21:30:15 +08:00
2022-04-20 21:30:15 +08:00
2022-04-01 11:59:16 +08:00
2024-06-02 23:56:15 +08:00
2024-06-08 22:51:36 +08:00
2024-06-08 22:51:36 +08:00
2022-04-01 12:05:54 +08:00
2024-06-02 23:56:15 +08:00

eyes.sh 1.0.4

View this doc in Chinese.

eyes.sh is a simple DNS / HTTP logger which can be used by pentesters or scanners to identify and locate vulnerable targets.

Mostly used to find vulerabilities like SSRF / Blind SQL Injection / Blind RCE / Stored XSS.

  • In some cases, target can send DNS queries but http requests were blocked by Firewall, you can use eyes.sh to monitor if any DNS Queries captured
  • In some cases, RCE or SSRF were triggered by a group of hosts, you can use eyes.sh to capture http requests and get their IPs/Headers/Location
  • ...

This project is based on BugScan DNSLog .

Demo site http://eyes.sh/

  • Login with demo / demo@passthe delete function was disabled
  • You can also click Login as random new user

Chang Log

  • 2024-06-06 Add SSL support, to get rid of Mixed Content Warnings (HTTPS/SSL) when exploiting stored XSS on https website
  • 2024-06-02 Bug fixed, a sync IP to geo location search (by HTTP) made DNS Server response too slow, especially under high concurrency queries
  • 2022-04-09 Add english translation

Install

Prepare Domain Names

Let's have eyes.sh installation as a show case.

When install the serviceyou were required to control two domain namesOne is to add two type A records, and later set them as NS records for eyes.sh

  • Add eyes_dns1.lijiejie.com eyes_dns2.lijiejie.com , resolve to your Server IP
  • Set eyes_dns1.lijiejie.com eyes_dns2.lijiejie.com as eyes.sh name server
eyes.sh nameserver = eyes_dns1.lijiejie.com
eyes.sh nameserver = eyes_dns2.lijiejie.com

Django

This project works with Python 3.8 + Django 4.0 run deploy.sh to install dependencies.

  • Modify TimeZone in settings.py
  • MySQL Server charset should be updated to utf-8

Edit \dnslog\settings.py, add your service domainIP and DATABASES

DNS_DOMAIN = 'eyes.sh'   # Service Domain
ADMIN_DOMAIN = ['eyes.sh', 'www.eyes.sh']  # Reserved domains to view records

# name server
NS1_DOMAIN = 'eyes_dns1.lijiejie.com'
NS2_DOMAIN = 'eyes_dns2.lijiejie.com'

SERVER_IP = '123.123.123.123'  # Your server IP

Nginx config file is dnslog_nginx.conf

Add Sys Admin

When install completedthe first registerd user will become the sys admin by default.

Screenshot

License

GPL-2.0

S
Description
Optimized DNS/HTTP Log Tool for pentesters, faster and easy to use.
Readme
1 MiB
Languages
HTML 50.3%
Python 45.4%
Shell 2.7%
CSS 0.9%
Dockerfile 0.7%