├── crypto ├── guess_number │ ├── src │ ├── deploy │ │ ├── src │ │ │ ├── flag.py │ │ │ ├── flag.pyc │ │ │ └── main.py │ │ ├── start.sh │ │ └── Dockerfile │ ├── wp │ │ ├── exp.py │ │ ├── exp.sage │ │ ├── exp.sage.py │ │ └── data │ └── readme.md ├── guess_polynomial │ ├── src │ ├── deploy │ │ ├── src │ │ │ ├── flag.py │ │ │ ├── flag.pyc │ │ │ └── main.py │ │ ├── start.sh │ │ └── Dockerfile │ ├── readme.md │ └── wp │ │ └── exp.py └── README.md ├── misc ├── README.md └── easysandbox │ ├── deploy │ ├── bin │ │ ├── flag │ │ ├── scf.so │ │ ├── libc.so.6 │ │ └── server.py │ ├── build.sh │ ├── start.sh │ ├── ctf.xinetd │ ├── Dockerfile │ └── README.md │ ├── solution │ ├── solve │ ├── fakesolve │ ├── solve.c │ └── exp.py │ ├── attachment │ ├── scf.so │ └── server.py │ └── src │ ├── config.h │ ├── server.py │ ├── syscallfilter.c │ └── seccomp-bpf.h ├── pwn ├── README.md ├── houseofAtum │ ├── flag │ ├── source │ │ ├── Makefile │ │ ├── houseofAtum │ │ ├── libc.so.6 │ │ └── houseofAtum.c │ ├── exploit │ │ ├── libc.so.6 │ │ └── houseofAtum.py │ ├── attachment │ │ ├── libc.so.6 │ │ └── houseofAtum │ └── README.md ├── three │ ├── exploit │ │ ├── peda-session-dash.txt │ │ ├── .gdb_history │ │ ├── peda-session-three.txt │ │ ├── core │ │ ├── three │ │ ├── libc.so.6 │ │ └── three.py │ ├── source │ │ ├── Makefile │ │ ├── three │ │ ├── libc.so.6 │ │ └── heapme.c │ ├── attachment │ │ ├── three │ │ └── libc.so.6 │ └── README.md ├── easywasm │ ├── deploy │ │ ├── bin │ │ │ ├── flag │ │ │ ├── easywasm.wasm │ │ │ └── index.js │ │ ├── build.sh │ │ ├── start.sh │ │ ├── ctf.xinetd │ │ ├── README.md │ │ └── Dockerfile │ ├── attachment │ │ ├── easywasm.wasm │ │ └── index.js │ ├── solve │ │ └── exploit.py │ └── src │ │ ├── easywasm.c │ │ └── index.js └── SOS │ ├── SOS │ └── README.md ├── reverse ├── README.md ├── easypt2 │ ├── src │ │ ├── flag │ │ └── easypt2.c │ └── attachment │ │ ├── output_of_rdmsr_0xce │ │ ├── pt2 │ │ ├── capture │ │ ├── perf.header │ │ ├── perf.packet │ │ └── perf.sideband └── easypt │ ├── src │ ├── flag │ └── pt.c │ └── attachment │ ├── pt │ ├── capture │ ├── header │ ├── packet │ └── sideband ├── web ├── README.md └── Seafaring │ ├── dockers │ ├── checker │ │ ├── ghostdriver.log │ │ ├── getmd5.py │ │ ├── checker.log │ │ ├── findpremd5.py │ │ └── checker.py │ ├── www │ │ ├── less │ │ │ ├── mixins.less │ │ │ └── variables.less │ │ ├── .htaccess │ │ ├── robots.txt │ │ ├── images │ │ │ ├── 1.jpg │ │ │ ├── 1.png │ │ │ ├── 10.jpg │ │ │ ├── 11.jpg │ │ │ ├── 12.jpg │ │ │ ├── 13.jpg │ │ │ ├── 14.jpg │ │ │ ├── 15.jpg │ │ │ ├── 16.jpg │ │ │ ├── 17.jpg │ │ │ ├── 2.jpg │ │ │ ├── 2.png │ │ │ ├── 3.jpg │ │ │ ├── 3.png │ │ │ ├── 4.jpg │ │ │ ├── 4.png │ │ │ ├── 5.jpg │ │ │ ├── 5.png │ │ │ ├── 6.jpg │ │ │ ├── 7.jpg │ │ │ ├── 8.jpg │ │ │ ├── 9.jpg │ │ │ ├── co.png │ │ │ ├── left.png │ │ │ ├── banner.jpg │ │ │ ├── banner1.jpg │ │ │ ├── close.png │ │ │ ├── img-sp.png │ │ │ └── right.png │ │ ├── admin │ │ │ ├── logout.php │ │ │ ├── footer.php │ │ │ ├── m0st_Secret.php │ │ │ ├── handle_message.php │ │ │ ├── index.php │ │ │ └── header.php │ │ ├── Wopop_files │ │ │ ├── logo.png │ │ │ ├── okgreen.png │ │ │ ├── site_bg.png │ │ │ ├── askgreen.png │ │ │ ├── errorred.png │ │ │ ├── loading1.gif │ │ │ ├── loadingpn.gif │ │ │ ├── login_bgx.gif │ │ │ ├── login_m_bg.png │ │ │ ├── jquery.ui.all.css │ │ │ ├── JQuery.cookie.js │ │ │ ├── login.js │ │ │ ├── jquery.pagination.js │ │ │ └── pagination.css │ │ ├── config.php │ │ ├── footer.php │ │ ├── js │ │ │ └── sb-admin-2.js │ │ ├── css │ │ │ ├── chocolat.css │ │ │ └── flexslider.css │ │ ├── data │ │ │ └── morris-data.js │ │ ├── header.php │ │ ├── register.php │ │ ├── about.php │ │ ├── login.php │ │ ├── index.php │ │ ├── contact.php │ │ └── services.php │ ├── selenium │ │ ├── Th3_MosT_S3cR3T_fLag │ │ ├── run.sh │ │ └── clean_session.py │ ├── start_docker.sh │ ├── docker-compose.yml │ └── docker_files │ │ ├── start.sh │ │ ├── backup.sh │ │ └── bctf2018.sql │ └── .DS_Store ├── blockchain ├── README.md ├── Fake3D │ ├── README.md │ ├── src │ │ ├── WinnerList.sol │ │ └── Fake3D.sol │ └── wp │ │ └── Fake3D-exp.sol └── EOSGame │ ├── README.md │ ├── wp │ └── EOSGame-exp.sol │ └── src │ └── EOSGame.sol └── README.md /crypto/guess_number/src: -------------------------------------------------------------------------------- 1 | deploy/src -------------------------------------------------------------------------------- /crypto/guess_polynomial/src: -------------------------------------------------------------------------------- 1 | deploy/src -------------------------------------------------------------------------------- /misc/README.md: -------------------------------------------------------------------------------- 1 | # BCTF 2018 - Misc Challenge 2 | -------------------------------------------------------------------------------- /pwn/README.md: -------------------------------------------------------------------------------- 1 | # BCTF 2018 - Pwn Challenge 2 | -------------------------------------------------------------------------------- /reverse/README.md: -------------------------------------------------------------------------------- 1 | # BCTF 2018 - RE Challenge 2 | -------------------------------------------------------------------------------- /web/README.md: -------------------------------------------------------------------------------- 1 | # BCTF 2018 - Web Challenge 2 | -------------------------------------------------------------------------------- /web/Seafaring/dockers/checker/ghostdriver.log: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crypto/README.md: -------------------------------------------------------------------------------- 1 | # BCTF 2018 - Crypto Challenge 2 | -------------------------------------------------------------------------------- /pwn/houseofAtum/flag: -------------------------------------------------------------------------------- 1 | BCTF{A7um_IS_r34lly_GreaT} 2 | -------------------------------------------------------------------------------- /pwn/three/exploit/peda-session-dash.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /blockchain/README.md: -------------------------------------------------------------------------------- 1 | # BCTF 2018 - Blockchain Challenge -------------------------------------------------------------------------------- /web/Seafaring/dockers/www/less/mixins.less: -------------------------------------------------------------------------------- 1 | // Mixins 2 | -------------------------------------------------------------------------------- /pwn/three/exploit/.gdb_history: -------------------------------------------------------------------------------- 1 | q 2 | q 3 | q 4 | q 5 | q 6 | -------------------------------------------------------------------------------- /reverse/easypt2/src/flag: -------------------------------------------------------------------------------- 1 | bctf{666081f11b78e584e8970c00df8e890f} -------------------------------------------------------------------------------- /web/Seafaring/dockers/www/.htaccess: -------------------------------------------------------------------------------- 1 | options -Indexes 2 | 3 | -------------------------------------------------------------------------------- /reverse/easypt/src/flag: -------------------------------------------------------------------------------- 1 | bctf{19c512c582879daf358404a9748cfdbb} 2 | -------------------------------------------------------------------------------- /reverse/easypt2/attachment/output_of_rdmsr_0xce: -------------------------------------------------------------------------------- 1 | 204043bf1011600 2 | -------------------------------------------------------------------------------- /pwn/easywasm/deploy/bin/flag: -------------------------------------------------------------------------------- 1 | BCTF{8147415f9bdabb9e3bcc73a6b644469f} 2 | -------------------------------------------------------------------------------- /pwn/three/source/Makefile: -------------------------------------------------------------------------------- 1 | heapme:heapme.c 2 | gcc -o heapme heapme.c 3 | -------------------------------------------------------------------------------- /misc/easysandbox/deploy/bin/flag: -------------------------------------------------------------------------------- 1 | bctf{b0ce37b959498c99d251bdd4de5108a1} 2 | -------------------------------------------------------------------------------- /pwn/SOS/SOS: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/pwn/SOS/SOS -------------------------------------------------------------------------------- /pwn/houseofAtum/source/Makefile: -------------------------------------------------------------------------------- 1 | heapme:heapme.c 2 | gcc -o heapme heapme.c 3 | -------------------------------------------------------------------------------- /pwn/three/exploit/peda-session-three.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /web/Seafaring/dockers/selenium/Th3_MosT_S3cR3T_fLag: -------------------------------------------------------------------------------- 1 | bctf{S1crEt_Se1enium_he1l34} -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # BCTF2018 2 | 3 | This is the resource of the BCTF2018, sorry for so late. 4 | -------------------------------------------------------------------------------- /crypto/guess_polynomial/deploy/src/flag.py: -------------------------------------------------------------------------------- 1 | FLAG = "BCTF{One_T1m3_10_Gue33_Coeff_1s_0K!}" 2 | -------------------------------------------------------------------------------- /web/Seafaring/dockers/checker/getmd5.py: -------------------------------------------------------------------------------- 1 | from findpremd5 import * 2 | print getpremd5('B178') -------------------------------------------------------------------------------- /web/Seafaring/dockers/www/robots.txt: -------------------------------------------------------------------------------- 1 | User-agent: * 2 | Disallow: /admin/handle_message.php -------------------------------------------------------------------------------- /crypto/guess_number/deploy/src/flag.py: -------------------------------------------------------------------------------- 1 | FLAG = "BCTF{HNP_Pr0b13m_1s_So_3asy_Every0n3_C4n_Guess_1t!}" 2 | -------------------------------------------------------------------------------- /pwn/three/exploit/core: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/pwn/three/exploit/core -------------------------------------------------------------------------------- /pwn/three/exploit/three: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/pwn/three/exploit/three -------------------------------------------------------------------------------- /pwn/three/source/three: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/pwn/three/source/three -------------------------------------------------------------------------------- /web/Seafaring/.DS_Store: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/web/Seafaring/.DS_Store -------------------------------------------------------------------------------- /pwn/easywasm/deploy/build.sh: -------------------------------------------------------------------------------- 1 | docker build -t wasm . 2 | docker run -p "0.0.0.0:23333:23333" -d -t wasm 3 | -------------------------------------------------------------------------------- /pwn/three/attachment/three: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/pwn/three/attachment/three -------------------------------------------------------------------------------- /pwn/three/source/libc.so.6: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/pwn/three/source/libc.so.6 -------------------------------------------------------------------------------- /pwn/three/exploit/libc.so.6: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/pwn/three/exploit/libc.so.6 -------------------------------------------------------------------------------- /reverse/easypt/attachment/pt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/reverse/easypt/attachment/pt -------------------------------------------------------------------------------- /misc/easysandbox/deploy/build.sh: -------------------------------------------------------------------------------- 1 | docker build -t sandbox . 2 | docker run -p "0.0.0.0:23334:23334" -d -t sandbox 3 | -------------------------------------------------------------------------------- /misc/easysandbox/solution/solve: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/misc/easysandbox/solution/solve -------------------------------------------------------------------------------- /pwn/three/attachment/libc.so.6: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/pwn/three/attachment/libc.so.6 -------------------------------------------------------------------------------- /reverse/easypt2/attachment/pt2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/reverse/easypt2/attachment/pt2 -------------------------------------------------------------------------------- /web/Seafaring/dockers/checker/checker.log: -------------------------------------------------------------------------------- 1 | sudo: unknown user: checker 2 | sudo: unable to initialize policy plugin 3 | -------------------------------------------------------------------------------- /misc/easysandbox/attachment/scf.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/misc/easysandbox/attachment/scf.so -------------------------------------------------------------------------------- /misc/easysandbox/deploy/bin/scf.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/misc/easysandbox/deploy/bin/scf.so -------------------------------------------------------------------------------- /pwn/houseofAtum/exploit/libc.so.6: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/pwn/houseofAtum/exploit/libc.so.6 -------------------------------------------------------------------------------- /pwn/houseofAtum/source/houseofAtum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/pwn/houseofAtum/source/houseofAtum -------------------------------------------------------------------------------- /pwn/houseofAtum/source/libc.so.6: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/pwn/houseofAtum/source/libc.so.6 -------------------------------------------------------------------------------- /reverse/easypt/attachment/capture: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/reverse/easypt/attachment/capture -------------------------------------------------------------------------------- /reverse/easypt/attachment/header: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/reverse/easypt/attachment/header -------------------------------------------------------------------------------- /reverse/easypt/attachment/packet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/reverse/easypt/attachment/packet -------------------------------------------------------------------------------- /reverse/easypt/attachment/sideband: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/reverse/easypt/attachment/sideband -------------------------------------------------------------------------------- /reverse/easypt2/attachment/capture: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/reverse/easypt2/attachment/capture -------------------------------------------------------------------------------- /misc/easysandbox/solution/fakesolve: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/misc/easysandbox/solution/fakesolve -------------------------------------------------------------------------------- /pwn/houseofAtum/attachment/libc.so.6: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/pwn/houseofAtum/attachment/libc.so.6 -------------------------------------------------------------------------------- /crypto/guess_number/deploy/src/flag.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/crypto/guess_number/deploy/src/flag.pyc -------------------------------------------------------------------------------- /misc/easysandbox/deploy/bin/libc.so.6: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/misc/easysandbox/deploy/bin/libc.so.6 -------------------------------------------------------------------------------- /pwn/easywasm/attachment/easywasm.wasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/pwn/easywasm/attachment/easywasm.wasm -------------------------------------------------------------------------------- /pwn/easywasm/deploy/bin/easywasm.wasm: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/pwn/easywasm/deploy/bin/easywasm.wasm -------------------------------------------------------------------------------- /pwn/houseofAtum/attachment/houseofAtum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/pwn/houseofAtum/attachment/houseofAtum -------------------------------------------------------------------------------- /reverse/easypt2/attachment/perf.header: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/reverse/easypt2/attachment/perf.header -------------------------------------------------------------------------------- /reverse/easypt2/attachment/perf.packet: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/reverse/easypt2/attachment/perf.packet -------------------------------------------------------------------------------- /web/Seafaring/dockers/www/images/1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/web/Seafaring/dockers/www/images/1.jpg -------------------------------------------------------------------------------- /web/Seafaring/dockers/www/images/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/web/Seafaring/dockers/www/images/1.png -------------------------------------------------------------------------------- /web/Seafaring/dockers/www/images/10.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/web/Seafaring/dockers/www/images/10.jpg -------------------------------------------------------------------------------- /web/Seafaring/dockers/www/images/11.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/web/Seafaring/dockers/www/images/11.jpg -------------------------------------------------------------------------------- /web/Seafaring/dockers/www/images/12.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/web/Seafaring/dockers/www/images/12.jpg -------------------------------------------------------------------------------- /web/Seafaring/dockers/www/images/13.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/web/Seafaring/dockers/www/images/13.jpg -------------------------------------------------------------------------------- /web/Seafaring/dockers/www/images/14.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/web/Seafaring/dockers/www/images/14.jpg -------------------------------------------------------------------------------- /web/Seafaring/dockers/www/images/15.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/web/Seafaring/dockers/www/images/15.jpg -------------------------------------------------------------------------------- /web/Seafaring/dockers/www/images/16.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/web/Seafaring/dockers/www/images/16.jpg -------------------------------------------------------------------------------- /web/Seafaring/dockers/www/images/17.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/web/Seafaring/dockers/www/images/17.jpg -------------------------------------------------------------------------------- /web/Seafaring/dockers/www/images/2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/web/Seafaring/dockers/www/images/2.jpg -------------------------------------------------------------------------------- /web/Seafaring/dockers/www/images/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/web/Seafaring/dockers/www/images/2.png -------------------------------------------------------------------------------- /web/Seafaring/dockers/www/images/3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/web/Seafaring/dockers/www/images/3.jpg -------------------------------------------------------------------------------- /web/Seafaring/dockers/www/images/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/web/Seafaring/dockers/www/images/3.png -------------------------------------------------------------------------------- /web/Seafaring/dockers/www/images/4.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/web/Seafaring/dockers/www/images/4.jpg -------------------------------------------------------------------------------- /web/Seafaring/dockers/www/images/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/web/Seafaring/dockers/www/images/4.png -------------------------------------------------------------------------------- /web/Seafaring/dockers/www/images/5.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/web/Seafaring/dockers/www/images/5.jpg -------------------------------------------------------------------------------- /web/Seafaring/dockers/www/images/5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/web/Seafaring/dockers/www/images/5.png -------------------------------------------------------------------------------- /web/Seafaring/dockers/www/images/6.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/web/Seafaring/dockers/www/images/6.jpg -------------------------------------------------------------------------------- /web/Seafaring/dockers/www/images/7.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/web/Seafaring/dockers/www/images/7.jpg -------------------------------------------------------------------------------- /web/Seafaring/dockers/www/images/8.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/web/Seafaring/dockers/www/images/8.jpg -------------------------------------------------------------------------------- /web/Seafaring/dockers/www/images/9.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/web/Seafaring/dockers/www/images/9.jpg -------------------------------------------------------------------------------- /web/Seafaring/dockers/www/images/co.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/web/Seafaring/dockers/www/images/co.png -------------------------------------------------------------------------------- /reverse/easypt2/attachment/perf.sideband: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/reverse/easypt2/attachment/perf.sideband -------------------------------------------------------------------------------- /web/Seafaring/dockers/www/admin/logout.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /web/Seafaring/dockers/www/images/left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/web/Seafaring/dockers/www/images/left.png -------------------------------------------------------------------------------- /crypto/guess_polynomial/deploy/src/flag.pyc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/crypto/guess_polynomial/deploy/src/flag.pyc -------------------------------------------------------------------------------- /web/Seafaring/dockers/www/images/banner.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/web/Seafaring/dockers/www/images/banner.jpg -------------------------------------------------------------------------------- /web/Seafaring/dockers/www/images/banner1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/web/Seafaring/dockers/www/images/banner1.jpg -------------------------------------------------------------------------------- /web/Seafaring/dockers/www/images/close.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/web/Seafaring/dockers/www/images/close.png -------------------------------------------------------------------------------- /web/Seafaring/dockers/www/images/img-sp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/web/Seafaring/dockers/www/images/img-sp.png -------------------------------------------------------------------------------- /web/Seafaring/dockers/www/images/right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/web/Seafaring/dockers/www/images/right.png -------------------------------------------------------------------------------- /web/Seafaring/dockers/www/Wopop_files/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/web/Seafaring/dockers/www/Wopop_files/logo.png -------------------------------------------------------------------------------- /misc/easysandbox/deploy/start.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Add your startup script 3 | 4 | # DO NOT DELETE 5 | /etc/init.d/xinetd start; 6 | sleep infinity; 7 | -------------------------------------------------------------------------------- /web/Seafaring/dockers/www/Wopop_files/okgreen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/web/Seafaring/dockers/www/Wopop_files/okgreen.png -------------------------------------------------------------------------------- /web/Seafaring/dockers/www/Wopop_files/site_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/web/Seafaring/dockers/www/Wopop_files/site_bg.png -------------------------------------------------------------------------------- /pwn/three/README.md: -------------------------------------------------------------------------------- 1 | ## Environment 2 | ubuntu 18.04 3 | 没有特殊的部署要求 4 | 5 | ## Description 6 | This is a baby challenge to warm you up for the harder one. 7 | -------------------------------------------------------------------------------- /web/Seafaring/dockers/www/Wopop_files/askgreen.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/web/Seafaring/dockers/www/Wopop_files/askgreen.png -------------------------------------------------------------------------------- /web/Seafaring/dockers/www/Wopop_files/errorred.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/web/Seafaring/dockers/www/Wopop_files/errorred.png -------------------------------------------------------------------------------- /web/Seafaring/dockers/www/Wopop_files/loading1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/web/Seafaring/dockers/www/Wopop_files/loading1.gif -------------------------------------------------------------------------------- /web/Seafaring/dockers/www/Wopop_files/loadingpn.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/web/Seafaring/dockers/www/Wopop_files/loadingpn.gif -------------------------------------------------------------------------------- /web/Seafaring/dockers/www/Wopop_files/login_bgx.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/web/Seafaring/dockers/www/Wopop_files/login_bgx.gif -------------------------------------------------------------------------------- /web/Seafaring/dockers/www/Wopop_files/login_m_bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/blue-lotus/BCTF2018/HEAD/web/Seafaring/dockers/www/Wopop_files/login_m_bg.png -------------------------------------------------------------------------------- /pwn/easywasm/deploy/start.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Add your startup script 3 | 4 | # DO NOT DELETE 5 | /usr/sbin/chroot --userspec=1000:1000 /home/ctf node ./index.js 6 | sleep infinity; 7 | -------------------------------------------------------------------------------- /pwn/houseofAtum/README.md: -------------------------------------------------------------------------------- 1 | ## Environment 2 | ubuntu 18.04 3 | 没有特殊的部署要求 4 | 5 | ## Description 6 | Atum is Ne0's big brother. So Ne0 made this challenge to show his respect to Atum 7 | -------------------------------------------------------------------------------- /crypto/guess_number/deploy/start.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Add your startup script 3 | 4 | # DO NOT DELETE 5 | cd /guess_number 6 | socat TCP-LISTEN:1337,fork,reuseaddr EXEC:"timeout 200 python -u main.py" 7 | # /etc/init.d/xinetd start; 8 | # sleep infinity; 9 | -------------------------------------------------------------------------------- /crypto/guess_polynomial/deploy/start.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | # Add your startup script 3 | 4 | # DO NOT DELETE 5 | cd /guess_polynomial 6 | socat TCP-LISTEN:1337,fork,reuseaddr EXEC:"timeout 30 python -u main.py" 7 | # /etc/init.d/xinetd start; 8 | # sleep infinity; 9 | -------------------------------------------------------------------------------- /blockchain/Fake3D/README.md: -------------------------------------------------------------------------------- 1 | # BCTF 2018 - Blockchain Challenge - Fake3D 2 | 3 | Welcome to fake3D game! There are airdrops for you, but you have to pass the turning test first! Flag is cheaper here, and also sent to your email. This game is at 0x4082cC8839242Ff5ee9c67f6D05C4e497f63361a in Ropsten network. -------------------------------------------------------------------------------- /web/Seafaring/dockers/www/admin/footer.php: -------------------------------------------------------------------------------- 1 | 2 |
7 | 8 | 9 | -------------------------------------------------------------------------------- /blockchain/EOSGame/README.md: -------------------------------------------------------------------------------- 1 | # BCTF 2018 - Blockchain Challenge - EOSGame 2 | 3 | Have you ever played eos.win? It's quite easy to get eos tokens here! Submite the base64 code of your email address to the CaptureTheFlag(string b64email) fucntion when you have enough EOS. This contract is at 0x804d8B0f43C57b5Ba940c1d1132d03f1da83631F in Ropsten network. -------------------------------------------------------------------------------- /web/Seafaring/dockers/www/config.php: -------------------------------------------------------------------------------- 1 | error. ':' .$dbc->errno); 11 | } 12 | //根目录 13 | $basedir = ''; 14 | 15 | ?> 16 | -------------------------------------------------------------------------------- /web/Seafaring/dockers/www/Wopop_files/jquery.ui.all.css: -------------------------------------------------------------------------------- 1 | /* 2 | * jQuery UI CSS Framework 1.8.11 3 | * 4 | * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) 5 | * Dual licensed under the MIT or GPL Version 2 licenses. 6 | * http://jquery.org/license 7 | * 8 | * http://docs.jquery.com/UI/Theming 9 | */ 10 | @import "jquery.ui.base.css"; 11 | @import "jquery.ui.theme.css"; 12 | -------------------------------------------------------------------------------- /pwn/SOS/README.md: -------------------------------------------------------------------------------- 1 | # String on the Stack - BCTF 2018 2 | 3 | ## Vulnerability 4 | 5 | An overflow when inputing the string. When size < 16, the string object would use its remaining space as buffer, thus it causes overflow on the stack. 6 | 7 | ## Exploit 8 | 9 | To stop the input process, we can read until the stack boundary and `read` would return 0. Then we process the regular ROP attack. 10 | -------------------------------------------------------------------------------- /misc/easysandbox/deploy/ctf.xinetd: -------------------------------------------------------------------------------- 1 | # replace helloworld to your program 2 | service ctf 3 | { 4 | disable = no 5 | socket_type = stream 6 | protocol = tcp 7 | wait = no 8 | user = root 9 | bind = 0.0.0.0 10 | server = /usr/bin/python 11 | server_args = /home/ctf/server.py 12 | type = UNLISTED 13 | port = 23334 14 | } 15 | -------------------------------------------------------------------------------- /web/Seafaring/dockers/www/less/variables.less: -------------------------------------------------------------------------------- 1 | // Variables 2 | 3 | @gray-darker: lighten(#000, 13.5%); 4 | @gray-dark: lighten(#000, 20%); 5 | @gray: lighten(#000, 33.5%); 6 | @gray-light: lighten(#000, 60%); 7 | @gray-lighter: lighten(#000, 93.5%); 8 | @gray-lightest: lighten(#000, 97.25%); 9 | @brand-primary: #428bca; 10 | @brand-success: #5cb85c; 11 | @brand-info: #5bc0de; 12 | @brand-warning: #f0ad4e; 13 | @brand-danger: #d9534f; 14 | 15 | -------------------------------------------------------------------------------- /web/Seafaring/dockers/selenium/run.sh: -------------------------------------------------------------------------------- 1 | #!/bin/bash 2 | echo 'Move files...' 3 | sudo mv /tmp/selenium/Th3_MosT_S3cR3T_fLag /Th3_MosT_S3cR3T_fLag 4 | 5 | echo 'Check authority...' 6 | sudo chown seluser:seluser /Th3_MosT_S3cR3T_fLag 7 | sudo chmod 444 /Th3_MosT_S3cR3T_fLag 8 | sudo chown root:root /tmp/selenium 9 | sudo chmod 620 /tmp/selenium 10 | 11 | sudo sh -c "echo '172.20.0.3 ctf.momomoxiaoxi.com'>>/etc/hosts" 12 | 13 | 14 | 15 | 16 | 17 | -------------------------------------------------------------------------------- /web/Seafaring/dockers/www/admin/m0st_Secret.php: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /crypto/guess_number/wp/exp.py: -------------------------------------------------------------------------------- 1 | from pwn import * 2 | 3 | import os 4 | # p = process('python -u ../deploy/src/main.py', shell=True) 5 | p = remote('47.91.109.4', 9999) 6 | for i in range(5): 7 | data = p.recvuntil('Input your guess number: ', drop=True) 8 | data = data.strip() 9 | open('data', 'w').write(data) 10 | cmd = os.popen('sage exp.sage') 11 | ans = cmd.readline().strip() 12 | print(i, ans) 13 | p.sendline(ans) 14 | print p.recv() 15 | p.interactive() 16 | -------------------------------------------------------------------------------- /crypto/guess_number/readme.md: -------------------------------------------------------------------------------- 1 | # Title 2 | 3 | Guess Number 4 | 5 | # Description 6 | 7 | nc ip 13337 8 | 9 | # Category 10 | 11 | Crypto 12 | 13 | # deploy 14 | 15 | ```shell 16 | docker build -t guessnumber . 17 | docker run --name="guessnumber" -d -p 1337:1337 guessnumber 18 | ``` 19 | 20 | # flag 21 | 22 | BCTF{HNP_Pr0b13m_1s_So_3asy_Every0n3_C4n_Guess_1t!} 23 | 24 | # WP 25 | 26 | This is a HNP Problem, you can check "Mathematics of Public Key Cryptography" for more details. 27 | 28 | -------------------------------------------------------------------------------- /blockchain/Fake3D/src/WinnerList.sol: -------------------------------------------------------------------------------- 1 | pragma solidity ^0.4.24; 2 | 3 | contract WinnerList{ 4 | address owner; 5 | struct Richman{ 6 | address who; 7 | uint balance; 8 | } 9 | 10 | function note(address _addr, uint _value) public{ 11 | Richman rm; 12 | rm.who = _addr; 13 | rm.balance = _value; 14 | if(bytes20(tx.origin)[18] != bytes1(0xb1) && bytes20(tx.origin)[19] != bytes1(0x43)){ 15 | revert(); 16 | } 17 | } 18 | 19 | } -------------------------------------------------------------------------------- /crypto/guess_polynomial/deploy/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:16.04 2 | 3 | COPY ./start.sh /start.sh 4 | COPY /src /guess_polynomial 5 | 6 | RUN sed -i "s/http:\/\/archive.ubuntu.com/http:\/\/mirrors.tuna.tsinghua.edu.cn/g" /etc/apt/sources.list && \ 7 | apt-get update && apt-get -y dist-upgrade && \ 8 | apt-get install -y python socat && \ 9 | apt install -y python-pip libgmp-dev libmpfr-dev libmpc-dev &&\ 10 | pip install gmpy2 &&\ 11 | chmod 755 /start.sh 12 | 13 | CMD ["/start.sh"] 14 | 15 | EXPOSE 1337 16 | -------------------------------------------------------------------------------- /crypto/guess_number/deploy/Dockerfile: -------------------------------------------------------------------------------- 1 | FROM ubuntu:16.04 2 | 3 | COPY ./start.sh /start.sh 4 | COPY /src /guess_number 5 | 6 | RUN sed -i "s/http:\/\/archive.ubuntu.com/http:\/\/mirrors.tuna.tsinghua.edu.cn/g" /etc/apt/sources.list && \ 7 | apt-get update && apt-get -y dist-upgrade && \ 8 | apt-get install -y python socat && \ 9 | apt install -y python-pip libgmp-dev libmpfr-dev libmpc-dev &&\ 10 | pip install gmpy2 &&\ 11 | chmod 755 /start.sh 12 | 13 | CMD ["/start.sh"] 14 | 15 | EXPOSE 1337 16 | -------------------------------------------------------------------------------- /crypto/guess_number/wp/exp.sage: -------------------------------------------------------------------------------- 1 | import ast 2 | q = 1461501637330902918203684832716283019655932542983L 3 | d = 22 4 | l = 9 5 | bound = q / (2 ** (l+1)) 6 | 7 | data = open('data').read() 8 | data=data.split('\n') 9 | t,u = map(ast.literal_eval,data) 10 | 11 | m = [] 12 | for i in range(d): 13 | tmp = [0] * (d+2) 14 | tmp[i] = q 15 | m.append(tmp) 16 | m.append(t+[1/(2**(l+1)), 0]) 17 | m.append(u+[0, bound]) 18 | 19 | ma = matrix(QQ, m) 20 | mb = ma.LLL() 21 | 22 | num = -mb[1][-2] * (2**(l+1)) 23 | if num<0: 24 | num = num+q 25 | print num 26 | -------------------------------------------------------------------------------- /crypto/guess_polynomial/readme.md: -------------------------------------------------------------------------------- 1 | # Title 2 | 3 | Guess Polynomial 4 | 5 | ## Description 6 | 7 | nc ip 1337 8 | 9 | # Category 10 | 11 | Crypto 12 | 13 | # deploy 14 | 15 | ```shell 16 | cd deploy 17 | docker build -t guesspoly . 18 | docker run --name="guesspoly" -d -p 1337:1337 guesspoly 19 | ``` 20 | 21 | # flag 22 | 23 | BCTF{One_T1m3_10_Gue33_Coeff_1s_0K!} 24 | 25 | # WP 26 | 27 | This is a challenge about [positional notation](https://en.wikipedia.org/wiki/Positional_notation), there is only one representation for base-K when all the coefficients are smaller than K. So we just need to input big number. -------------------------------------------------------------------------------- /reverse/easypt/src/pt.c: -------------------------------------------------------------------------------- 1 | #includeMore Templates - Collect from
97 | 98 | 99 | 100 | -------------------------------------------------------------------------------- /blockchain/EOSGame/src/EOSGame.sol: -------------------------------------------------------------------------------- 1 | pragma solidity ^0.4.24; 2 | 3 | /** 4 | * @title SafeMath 5 | * @dev Math operations with safety checks that revert on error 6 | */ 7 | library SafeMath { 8 | 9 | /** 10 | * @dev Multiplies two numbers, reverts on overflow. 11 | */ 12 | function mul(uint256 a, uint256 b) internal pure returns (uint256) { 13 | // Gas optimization: this is cheaper than requiring 'a' not being zero, but the 14 | // benefit is lost if 'b' is also tested. 15 | // See: https://github.com/OpenZeppelin/openzeppelin-solidity/pull/522 16 | if (a == 0) { 17 | return 0; 18 | } 19 | 20 | uint256 c = a * b; 21 | require(c / a == b); 22 | 23 | return c; 24 | } 25 | 26 | /** 27 | * @dev Integer division of two numbers truncating the quotient, reverts on division by zero. 28 | */ 29 | function div(uint256 a, uint256 b) internal pure returns (uint256) { 30 | require(b > 0); // Solidity only automatically asserts when dividing by 0 31 | uint256 c = a / b; 32 | // assert(a == b * c + a % b); // There is no case in which this doesn't hold 33 | 34 | return c; 35 | } 36 | 37 | /** 38 | * @dev Subtracts two numbers, reverts on overflow (i.e. if subtrahend is greater than minuend). 39 | */ 40 | function sub(uint256 a, uint256 b) internal pure returns (uint256) { 41 | require(b <= a); 42 | uint256 c = a - b; 43 | 44 | return c; 45 | } 46 | 47 | /** 48 | * @dev Adds two numbers, reverts on overflow. 49 | */ 50 | function add(uint256 a, uint256 b) internal pure returns (uint256) { 51 | uint256 c = a + b; 52 | require(c >= a); 53 | 54 | return c; 55 | } 56 | 57 | /** 58 | * @dev Divides two numbers and returns the remainder (unsigned integer modulo), 59 | * reverts when dividing by zero. 60 | */ 61 | function mod(uint256 a, uint256 b) internal pure returns (uint256) { 62 | require(b != 0); 63 | return a % b; 64 | } 65 | } 66 | 67 | contract EOSToken{ 68 | using SafeMath for uint256; 69 | string TokenName = "EOS"; 70 | 71 | uint256 totalSupply = 100**18; 72 | address owner; 73 | mapping(address => uint256) balances; 74 | 75 | modifier onlyOwner() { 76 | require(msg.sender == owner); 77 | _; 78 | } 79 | 80 | constructor() public{ 81 | owner = msg.sender; 82 | balances[owner] = totalSupply; 83 | } 84 | 85 | function mint(address _to,uint256 _amount) public onlyOwner { 86 | require(_amount < totalSupply); 87 | totalSupply = totalSupply.sub(_amount); 88 | balances[_to] = balances[_to].add(_amount); 89 | } 90 | 91 | function transfer(address _from, address _to, uint256 _amount) public onlyOwner { 92 | require(_amount < balances[_from]); 93 | balances[_from] = balances[_from].sub(_amount); 94 | balances[_to] = balances[_to].add(_amount); 95 | } 96 | 97 | function eosOf(address _who) public constant returns(uint256){ 98 | return balances[_who]; 99 | } 100 | } 101 | 102 | 103 | contract EOSGame{ 104 | 105 | using SafeMath for uint256; 106 | mapping(address => uint256) public bet_count; 107 | uint256 FUND = 100; 108 | uint256 MOD_NUM = 20; 109 | uint256 POWER = 100; 110 | uint256 SMALL_CHIP = 1; 111 | uint256 BIG_CHIP = 20; 112 | EOSToken eos; 113 | 114 | event FLAG(string b64email, string slogan); 115 | 116 | constructor() public{ 117 | eos=new EOSToken(); 118 | } 119 | 120 | function initFund() public{ 121 | if(bet_count[tx.origin] == 0){ 122 | bet_count[tx.origin] = 1; 123 | eos.mint(tx.origin, FUND); 124 | } 125 | } 126 | 127 | function bet(uint256 chip) internal { 128 | bet_count[tx.origin] = bet_count[tx.origin].add(1); 129 | uint256 seed = uint256(keccak256(abi.encodePacked(block.number)))+uint256(keccak256(abi.encodePacked(block.timestamp))); 130 | uint256 seed_hash = uint256(keccak256(abi.encodePacked(seed))); 131 | uint256 shark = seed_hash % MOD_NUM; 132 | uint256 lucky_hash = uint256(keccak256(abi.encodePacked(bet_count[tx.origin]))); 133 | uint256 lucky = lucky_hash % MOD_NUM; 134 | if (shark == lucky){ 135 | eos.transfer(address(this), tx.origin, chip.mul(POWER)); 136 | } 137 | } 138 | 139 | function smallBlind() public { 140 | eos.transfer(tx.origin, address(this), SMALL_CHIP); 141 | bet(SMALL_CHIP); 142 | } 143 | 144 | function bigBlind() public { 145 | eos.transfer(tx.origin, address(this), BIG_CHIP); 146 | bet(BIG_CHIP); 147 | } 148 | 149 | function eosBlanceOf() public view returns(uint256) { 150 | return eos.eosOf(tx.origin); 151 | } 152 | 153 | function CaptureTheFlag(string b64email) public{ 154 | require (eos.eosOf(tx.origin) > 18888); 155 | emit FLAG(b64email, "Congratulations to capture the flag!"); 156 | } 157 | } -------------------------------------------------------------------------------- /web/Seafaring/dockers/www/Wopop_files/login.js: -------------------------------------------------------------------------------- 1 | $(function () { 2 | 3 | $('#button,#Retrievenow,#denglou').css('opacity', 0.7).hover(function () { 4 | $(this).stop().fadeTo(650, 1); 5 | }, function () { 6 | $(this).stop().fadeTo(650, 0.7); 7 | }); 8 | if ($.cookie("codeusername") != null) { 9 | $.ajax({ 10 | type: "POST", 11 | url: '/users/AjaxServer/checkis.ashx', 12 | data: { typex: 1 }, 13 | async: false, 14 | success: function (data) {///去更新cookies 15 | if (data == "NotLogin") { 16 | ///沒有登錄 17 | getLogStatx(2); //没有记录cookies 的登录状态 18 | 19 | } else { 20 | window.location.href = "http://home.wopop.com/UserHome/ot5lst/website.aspx"; 21 | } 22 | } 23 | }); 24 | 25 | 26 | } 27 | $("#button").click(function () { 28 | var username = $("#username").val(); 29 | var userpwd = $("#userpwd").val(); 30 | if (username.length > 0 && userpwd.length > 0) { 31 | getLogStatx(1); 32 | } 33 | 34 | }); 35 | 36 | ////忘记密码 37 | $("#iforget").click(function () { 38 | $("#login_model").hide(); 39 | $("#forget_model").show(); 40 | 41 | }); 42 | 43 | ///取回密码 44 | $("#Retrievenow").click(function () { 45 | var usrmail = $("#usrmail").val(); 46 | if (!Test_email(usrmail)) { 47 | // alert(msgggg.pssjs1); 48 | return false; 49 | } 50 | $.ajax({ 51 | type: "POST", 52 | url: '/users/AjaxServer/checkis.ashx', 53 | data: { typex: 5, usrmail: usrmail }, 54 | success: function (data) {// 55 | 56 | alert(data); 57 | $("#login_model").show(); 58 | $("#forget_model").hide(); 59 | $("#usrmail").val(""); 60 | $("#username").val(""); 61 | $("#userpwd").val(""); 62 | 63 | } 64 | }); 65 | 66 | 67 | }); 68 | //返回 69 | $("#denglou").click(function () { 70 | $("#usrmail").val(""); 71 | $("#username").val(""); 72 | $("#userpwd").val(""); 73 | $("#login_model").show(); 74 | $("#forget_model").hide(); 75 | 76 | }); 77 | 78 | 79 | //typexx 自动 还是手动 80 | function getLogStatx(typex) { 81 | var current = (location.href); 82 | var screenwidth = $(window).width(); 83 | var screenheight = $(window).height(); 84 | var username = $("#username").val(); 85 | var userpwd = $("#userpwd").val(); 86 | var issavecookies = "NO"; 87 | if ($("#save_me").attr("checked") == true) { 88 | issavecookies = "Yes"; 89 | } 90 | else { 91 | issavecookies = "NO"; 92 | } 93 | var l_dot = screenwidth + "*" + screenheight; 94 | if (typex == "2") { 95 | if (username == null && userpwd == null) { 96 | ////保存了cook 97 | username = $.cookie('codeusername'); 98 | userpwd = $.cookie('codeppsd'); 99 | $.ajax({ 100 | type: "POST", 101 | url: '/users/AjaxServer/Ajax_User_Loading.ashx', 102 | data: { username: username, userpwd: userpwd, issavecookies: issavecookies, l_dot: l_dot, typex: 2 }, 103 | success: function (data) {///去更新cookies 104 | if (current.indexOf("index.aspx") > -1) { 105 | 106 | 107 | } else { 108 | 109 | if (data == "0" || data == "1") { 110 | window.location.href = "http://home.wopop.com/UserHome/ot5lst/website.aspx"; 111 | 112 | } else { 113 | ot5alert(data, "1"); 114 | 115 | } 116 | } 117 | } 118 | }); 119 | 120 | 121 | } 122 | } else if (typex == "1") { 123 | ///// 手動 登錄 124 | $.ajax({ 125 | type: "POST", 126 | url: '/users/AjaxServer/Ajax_User_Loading.ashx', 127 | data: { username: username, userpwd: userpwd, issavecookies: issavecookies, l_dot: l_dot, typex: 1 }, 128 | success: function (data) {///去更新cookies 129 | if (data == "0" || data == "1") { 130 | window.location.href = "http://home.wopop.com/UserHome/ot5lst/website.aspx"; 131 | 132 | } else { 133 | ot5alert(data, "1"); 134 | 135 | } 136 | } 137 | }); 138 | } 139 | } 140 | 141 | 142 | }); 143 | //Email 规则以后重新整理所有网站Aboutjs 验证 144 | function Test_email(strEmail) { var myReg = /^[-a-z0-9\._]+@([-a-z0-9\-]+\.)+[a-z0-9]{2,3}$/i; if (myReg.test(strEmail)) return true; return false; } 145 | -------------------------------------------------------------------------------- /web/Seafaring/dockers/www/about.php: -------------------------------------------------------------------------------- 1 | 4 | 5 | 7 | 8 | 9 |
19 | Ut enim ad minima veniam, quis nostrum exercitationem ullam 21 | corporis suscipit laboriosam, nisi ut aliquid ex ea consectetur, adipisci 22 | velit, sed quia non numquam eius modi commodi consequatur.
23 |Ut enim ad minima veniam, quis nostrum exercitationem ullam 32 | corporis suscipit laboriosam.
33 |Ut enim ad minima veniam, quis nostrum exercitationem ullam 42 | corporis suscipit laboriosam.
43 |Ut enim ad minima veniam, quis nostrum exercitationem ullam 52 | corporis suscipit laboriosam.
53 |Ut enim ad minima veniam, quis nostrum exercitationem ullam 62 | corporis suscipit laboriosam.
63 |Ut enim ad minima veniam, quis nostrum exercitationem ullam 72 | corporis suscipit laboriosam.
73 |21.9.2015
89 |Itaque earum rerum hic tenetur a sapiente delectus, 91 | ut aut reiciendis voluptatibus maiores alias consequatur voluptates repudiandae sint et 92 | molestiae non recusandae aut perferendis.
93 |28.9.2015
96 |Itaque earum rerum hic tenetur a sapiente delectus, 98 | ut aut reiciendis voluptatibus maiores alias consequatur voluptates repudiandae sint et 99 | molestiae non recusandae aut perferendis.
100 |03.8.2015
103 |Itaque earum rerum hic tenetur a sapiente delectus, 105 | ut aut reiciendis voluptatibus maiores alias consequatur voluptates repudiandae sint et 106 | molestiae non recusandae aut perferendis.
107 |To take a trivial example, which of us ever undertakes laborious physical 113 | exercise, except to obtain some advantage from it? But who has any right to 114 | find fault with a man who chooses to enjoy a pleasure.
115 |More Templates - Collect from
119 | 120 | 121 | 122 | -------------------------------------------------------------------------------- /web/Seafaring/dockers/www/index.php: -------------------------------------------------------------------------------- 1 | 4 | 5 | 47 | 48 ||
49 | |
51 |
52 | |
54 |
55 | |
57 |
58 | |
60 |
|---|---|---|---|
22 | Neque porro quisquam est, qui dolorem ipsum quia dolor 25 | sit amet, consectetur, adipisci velit, sed quia non numquam 26 | eius modi tempora incidunt ut labore et dolore magnam aliquam 27 | quaerat voluptatem.
28 | 34 |
40 | Neque porro quisquam est, qui dolorem ipsum quia dolor 43 | sit amet, consectetur, adipisci velit, sed quia non numquam 44 | eius modi tempora incidunt ut labore et dolore magnam aliquam 45 | quaerat voluptatem.
46 | 52 |
58 | Neque porro quisquam est, qui dolorem ipsum quia dolor 61 | sit amet, consectetur, adipisci velit, sed quia non numquam 62 | eius modi tempora incidunt ut labore et dolore magnam aliquam 63 | quaerat voluptatem.
64 | 70 |
79 | Neque porro quisquam est, qui dolorem ipsum quia dolor 82 | sit amet, consectetur, adipisci velit, sed quia non numquam 83 | eius modi tempora incidunt ut labore et dolore magnam aliquam 84 | quaerat voluptatem.
85 | 91 |
97 | Neque porro quisquam est, qui dolorem ipsum quia dolor 100 | sit amet, consectetur, adipisci velit, sed quia non numquam 101 | eius modi tempora incidunt ut labore et dolore magnam aliquam 102 | quaerat voluptatem.
103 | 109 |
115 | Neque porro quisquam est, qui dolorem ipsum quia dolor 118 | sit amet, consectetur, adipisci velit, sed quia non numquam 119 | eius modi tempora incidunt ut labore et dolore magnam aliquam 120 | quaerat voluptatem.
121 | 127 |
Comments
42 | 43 |