Skip to content

Commit

Permalink
190602 release
Browse files Browse the repository at this point in the history
  • Loading branch information
dtsdao committed Jun 2, 2019
0 parents commit bcf8948
Show file tree
Hide file tree
Showing 8 changed files with 108 additions and 0 deletions.
21 changes: 21 additions & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
MIT License

Copyright (c) 2019 DTSDAO

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
29 changes: 29 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
# PandoraBox v2

PandoraBox 第二代,这个版本需要配合电脑使用

基于 [nginx](https://nginx.org/)[DualServer](https://sourceforge.net/projects/dhcp-dns-server/)

本体软件依照原协议共享,所有配置文件及本文档使用 MIT License 进行共享

DTSDAO@Erblocker 2019

## 材料及工具

- 一个无线路由器
- 一台运行Windows的计算机(Linux请自行研究)
- 一台安装睿易的三星平板(需要有一个http网页和一个已知包名的应用程序)

## 使用方法

1. 连接路由器,使用 `ipconfig` 查看本机IP地址
2.`适配器选项` (控制面板\所有控制面板项\网络连接) 中将网卡的IPv4属性设置为手动
3. 修改 dns/DualServer.ini 中的 DNS 项
4. 将破解软件放到files目录中
5. 双击 `run.bat`
6. 将 Pad 连接至路由器
7. 长按 SSID,修改高级选项
8. 修改 Pad 的 DNS 为计算机的IP
9. 重启平板,重新登录
10. 打开网页,下载破解应用并安装
11. Enjoy it!
18 changes: 18 additions & 0 deletions conf/nginx.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
worker_processes 1;
events {
worker_connections 1024;
}

http {
default_type application/octet-stream;
sendfile on;
keepalive_timeout 65;
server {
listen 80;
server_name _;
location / {
root files;
autoindex on;
}
}
}
Binary file added dns/DualServer.exe
Binary file not shown.
29 changes: 29 additions & 0 deletions dns/DualServer.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
[SERVICES]
DNS

[DNS_HOSTS]
zhjy.lelearning.com=10.0.1.100

[DNS_ALLOWED_HOSTS]
1.0.0.1-255.255.255.254

[ALIASES]

[WILD_HOSTS]

[MAIL_SERVERS]

[CONDITIONAL_FORWARDERS]

[FORWARDING_SERVERS]

[ZONE_REPLICATION]

[TIMINGS]

[HTTP_INTERFACE]

[RANGE_SET]
DHCPRange=192.168.0.1-192.168.0.254

[GLOBAL_OPTIONS]
Binary file added nginx.exe
Binary file not shown.
4 changes: 4 additions & 0 deletions run.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
@echo off

start .\nginx.exe
start .\dns\DualServer.exe -v
7 changes: 7 additions & 0 deletions stop.bat
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
@echo off
nginx.exe -s stop
taskkill /IM DualServer.exe /F
del dns\DualServer.htm
del dns\DualServer.url
del logs\*
pause

0 comments on commit bcf8948

Please sign in to comment.