forked from tactmaster/HECT
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
75 lines (48 loc) · 2.44 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
NAME: HECT (Hurricane Electric Certification Tool)
Automatically perform test submissions for HE Certification program.
WHAT IT DOES
It pull down the RSS feed from http://sixy.ch/feed
It add other IP address and host names to ips.csv
Uses this to perform the tests for HE.
If test fail it repeats the test.
It is a quick piece of code to the job so it is not very well written so don't be too critical of it, however improvements/feedback to edmundwatson@gmail.com
FILES
he.php - The main run. Edit with your details.
getips.php - this script update the ips.csv from
ips.php - list the IPs in ip.csv
ipshtml.php - list the IPs in ip.csv in html
GENERATED FILE
ip.csv - a list of ips from http://sixy.ch/feed encoded in base 64
number.txt - keeps a reference of how far though ip.csv
my_cookies.txt - keeps a cookie for loging in.
%test%.html - the returned document for debugging
%test%raw.html - the submission to he for debugging
fail.html - the failed returned page of the last failured for a unknown reason.
INSTALLATION/RUNNING
You need php (been tested on 5.3.6 and 5.2.17) with curl
It has been tested on Gentoo.
It also runs on Slug OS 5.3 but some of the command maybe been to be recompiled to give the correct output
place where you want it.
edit the top of
he.php
you can run it manally
# php he.php
and/or add cron task like this
# crontab -e
and add
* 1 * * * /php /%WHERE YOU PUT IT%/he.php >>/var/log/he 2>>/var/log/he
This will repeat it daily. You may want to increase the frequecy if you find it doesn't pass 24 hour on he system.
Outputs to /var/log/he, you may want to turn off debug in he.php if you have a small system, the /var/log/he file doesn't fill up.
THANKS
imduffy for this code starting point
http://www.tunnelbroker.net/forums/index.php?topic=975.0
LICENCE/DISCLAIMER
This code is free for you to use at you own risk.I don't promise it will work. I also don't promise it will not break your system.So use at your own risk.
I am not holding any rights over it.
However if you do anything fun with it let me know at edmundwatson@gmail.com
LINKS TO HE
This has not been endored by HE however they seem to have no opjections if you read the forum.
http://www.tunnelbroker.net/forums
I have nothing to do with Hurricane Electric other than I am user their IPv6 tunnelbroker and I am on their certication program.
My username is edmundwatson and you can find me here
http://ipv6.he.net/certification/scoresheet.php?pass_name=edmundwatson