From ec9d9b4da39e6c74b8514bfaf623ed7ac310d128 Mon Sep 17 00:00:00 2001 From: Chris Xiong Date: Sun, 10 Feb 2019 11:29:20 +0800 Subject: Disable legacy shit. --- .gitignore | 5 +++ leave-a-message/archive.txt | 79 ---------------------------------------- leave-a-message/messages.json | 7 ---- leave-a-message/messages.txt | 11 ------ leave-a-message/writemessage.php | 7 ++-- 5 files changed, 9 insertions(+), 100 deletions(-) delete mode 100644 leave-a-message/archive.txt delete mode 100644 leave-a-message/messages.json delete mode 100644 leave-a-message/messages.txt diff --git a/.gitignore b/.gitignore index 16cdba0..bd98048 100644 --- a/.gitignore +++ b/.gitignore @@ -11,4 +11,9 @@ #/libs/pictures/{a,b} /libs/pictures/a /libs/pictures/b + +/leave-a-message/messages.json +/leave-a-message/messages.txt +/leave-a-message/archive.txt + .directory diff --git a/leave-a-message/archive.txt b/leave-a-message/archive.txt deleted file mode 100644 index 1d22c81..0000000 --- a/leave-a-message/archive.txt +++ /dev/null @@ -1,79 +0,0 @@ -comment: Awesome website! -author: Nameless -time: 2016-10-02 01:00:07 -IP: 121.250.213.63 - -comment: Xiong is so awesome! -author: PaXiongNaoCanFen -time: 2016-11-29 17:00:30 -IP: 45.32.28.202 - -comment: alsjnczxioucaoisudho2joij3oi1j23oij -Any detecting? -author: Comment spam -time: 2016-11-29 17:01:38 -IP: 45.32.28.202 - -comment: Cool website after update:) -author: Chiikyu -time: 2017-02-18 04:17:42 -IP: 60.210.211.24 - -comment: ewqgewfewqf -author: 123123213 -time: 2017-04-08 22:15:33 -IP: 2001:da8:7001:71:6703:3e86:4bd0:cd77 - -comment: 我喜欢这粗野主义设计风格 -author: -time: 2017-05-26 09:26:59 -IP: 211.144.114.26 - -comment: 突然喜欢上了这种配色方案(当然是夜间的 -author: blblb -time: 2017-09-30 10:50:59 -IP: 123.161.208.16 - -comment: Nice website, keep up the good work :) -author: A friendly wanderer -time: 2018-03-09 08:01:06 -IP: - -comment: Compression est comment poupe votre sang pousse contre les parois de vos arteres lorsque votre coeur sentiment pompe le sang. Arteres sont les tubes qui transportent prendre offre sang loin de votre coeur. Chaque culture votre moelle bat, il pompe le sang tout au long vos arteres a la reste de votre corps. -https://www.cialispascherfr24.com/vente-cialis-france-retraite/ -author: ACatuectintece -time: 2018-06-28 10:47:02 -IP: 46.119.113.139 - -comment: roulette games - play free roulette for fun -free roulette games online roulette free -https://roulettecas.com/ -author: kn7z2vdn -time: 2018-07-13 01:19:37 -IP: 62.210.103.20 - -comment: Chris爷爷太叼了 -author: 61 -time: 2018-09-26 18:02:45 -IP: 149.28.28.85 - -comment: viagra australia cheapest viagra online buy viagra online generic name for viagra -author: hsfRudge -time: 2018-10-25 21:53:32 -IP: 178.159.37.97 - -comment: generic viagra cheap buy viagra online usa what happens if a girl takes viagra generic viagra canada -author: hwrspEmn -time: 2018-10-26 21:08:55 -IP: 178.159.37.39 - -comment: freedom debt relief fast miliatary loans direct loans military news -author: badglype -time: 2018-10-27 04:54:58 -IP: 46.119.127.157 - -comment: buy tadalafil cialis cheap cialis generic cialis buy -author: vspspEmn -time: 2018-12-03 05:31:05 -IP: 178.159.37.39 - diff --git a/leave-a-message/messages.json b/leave-a-message/messages.json deleted file mode 100644 index a88bc5e..0000000 --- a/leave-a-message/messages.json +++ /dev/null @@ -1,7 +0,0 @@ -{"cont":"Awesome website!","author":"Nameless","time":"2016-10-02 01:00"} -{"cont":"Xiong is so awesome!","author":"PaXiongNaoCanFen","time":"2016-11-29 17:00"} -{"cont":"Cool website after update:)","author":"Chiikyu","time":"2017-02-18 04:17"} -{"cont":"我喜欢这粗野主义设计风格","author":"","time":"2017-05-26 09:26"} -{"cont":"突然喜欢上了这种配色方案(当然是夜间的","author":"blblb","time":"2017-09-30 10:50"} -{"cont":"Nice website, keep up the good work :)","author":"A friendly wanderer","time":"2018-03-09 08:01"} -{"cont":"Chris爷爷太叼了","author":"61","time":"2018-09-26 18:02"} diff --git a/leave-a-message/messages.txt b/leave-a-message/messages.txt deleted file mode 100644 index f56e8df..0000000 --- a/leave-a-message/messages.txt +++ /dev/null @@ -1,11 +0,0 @@ -

Awesome website!

Nameless at 2016-10-02 01:00

-

Xiong is so awesome!

PaXiongNaoCanFen at 2016-11-29 17:00

-

Cool website after update:)

Chiikyu at 2017-02-18 04:17

-

我喜欢这粗野主义设计风格

at 2017-05-26 09:26

-

突然喜欢上了这种配色方案(当然是夜间的

blblb at 2017-09-30 10:50

-

Nice website, keep up the good work :)

A friendly wanderer at 2018-03-09 08:01

-

Chris爷爷太叼了

61 at 2018-09-26 18:02

-

viagra australia <a href="https://almeidacorp.com/">cheapest viagra online</a> buy viagra online <a href=https://almeidacorp.com/>generic name for viagra</a>

hsfRudge at 2018-10-25 21:53

-

generic viagra cheap <a href="https://obatpasutri-jogja.com/">buy viagra online usa</a> what happens if a girl takes viagra <a href=https://obatpasutri-jogja.com/>generic viagra canada</a>

hwrspEmn at 2018-10-26 21:08

-

freedom debt relief <a href="http://nocreditcheck-militaryloans.com/">fast miliatary loans</a> direct loans <a href="http://nocreditcheck-militaryloans.com/">military news</a>

badglype at 2018-10-27 04:54

-

buy tadalafil <a href="http://drcialonlinedkb.com/">cialis cheap</a> cialis generic <a href=http://drcialonlinedkb.com/>cialis buy</a>

vspspEmn at 2018-12-03 05:31

diff --git a/leave-a-message/writemessage.php b/leave-a-message/writemessage.php index b4585fe..5308954 100644 --- a/leave-a-message/writemessage.php +++ b/leave-a-message/writemessage.php @@ -37,9 +37,10 @@ onerror($name,$mesg); exit; } - $response=json_decode(file_get_contents("https://www.google.com/recaptcha/api/siteverify?secret=6Lf1lAcUAAAAABRj_EJ1OzhzGfiorpfYFbcGQE5r&response=".$captcha."&remoteip=".$_SERVER['REMOTE_ADDR']), true); - if($response['success'] == false)onerror($name,$mesg); - else + //OH SHIT I LEAKED MY OWN KEY!!! + //$response=json_decode(file_get_contents("https://www.google.com/recaptcha/api/siteverify?secret=6Lf1lAcUAAAAABRj_EJ1OzhzGfiorpfYFbcGQE5r&response=".$captcha."&remoteip=".$_SERVER['REMOTE_ADDR']), true); + //if($response['success'] == false)onerror($name,$mesg); + if(false) { if(strlen($mesg)+strlen($name)>16300)echo "Your message is too long!!!"; $rmesg=htmlspecialchars($mesg); -- cgit v1.2.3