Compare commits

...

265 Commits

Author SHA1 Message Date
deepend de2c993957 Update includes/footer.md 2024-03-25 02:53:13 +00:00
deepend 08f9258f5c Update articles/server.md 2024-03-25 02:49:49 +00:00
deepend cb8a7c00ec Update articles/server.md 2024-03-25 02:48:56 +00:00
deepend 5fd94f5487 update includes/signup.php 2024-03-25 02:29:18 +00:00
deepend 33ad7a37ae change to Newnet and update ssh fingerprints 2024-03-25 01:32:36 +00:00
deepend 127a63d4a4 change to Newnet 2024-03-25 01:22:50 +00:00
deepend 31dfa8fc34 Update includes/signup.php 2024-01-23 04:23:45 +00:00
deepend 0138a6e12d Update githook.php 2024-01-02 20:55:37 +00:00
deepend bd705ab55d Update humans.txt 2023-12-27 06:58:34 +00:00
deepend 1456e013ec Update includes/sidebar.md 2023-12-27 06:55:06 +00:00
deepend 34a344a952 add ssh fingerprints (fixed) 2023-08-02 15:08:14 +00:00
deepend 99c00eb649 add ssh fingerprints 2023-08-02 15:06:37 +00:00
deepend e3a380be10 Update 'articles/server.md' 2023-07-10 15:16:35 +00:00
deepend 65b13d8949 changed BZFlag server status 2023-07-08 20:01:43 +00:00
Blade of Darkness 610904d4b9 Update znc port 2023-07-08 12:37:55 -06:00
deepend 9dcb1906f9 Update 'articles/server.md' 2023-07-06 19:38:06 +00:00
deepend 5b74ae2415 Update 'articles/main.md' 2023-07-04 20:29:59 +00:00
deepend 5e95451c0e Update 'articles/faq.md' 2023-07-04 20:28:08 +00:00
deepend 23288a99b4 Update 'articles/news.md' 2023-07-04 20:25:04 +00:00
deepend 4af70552f5 Update 'articles/donate.md' 2023-07-04 19:48:41 +00:00
deepend a5c0980f3a Update 'articles/server.md' 2023-07-04 19:41:10 +00:00
deepend 153adcfdd1 Update 'githook.php' 2023-07-04 18:03:40 +00:00
Blade of Darkness 269bd5ea1f Replace Email Address with the Return Address 2022-03-08 18:31:21 +01:00
Ubergeek db7b6282ce temp change of unicode chars in title 2022-02-28 14:06:08 -05:00
Ubergeek 5ef05e811e Fixed chat link 2022-02-11 14:17:29 -05:00
ubergeek ef89333873 just some cleanup of the webhook code 2022-02-07 12:51:21 +00:00
Ubergeek a7f799912b Merge branch 'master' of ttm.sh:thunix/www 2022-02-06 13:01:48 -05:00
Ubergeek 425641da57 Updated tor addr to v3 addr 2022-02-06 13:01:30 -05:00
Blade of Darkness eb8b5b6f74 Print href only for updated contents 2021-12-14 10:01:53 +01:00
Blade of Darkness b8545fb767 There is an index.html already 2021-11-18 17:13:06 +01:00
Blade of Darkness 860d816031 Print href only for updated contents 2021-11-18 13:36:15 +01:00
Ubergeek 2ffb79088f updated tilde.json 2021-10-08 07:46:54 -04:00
Ubergeek 4ea46e4e24 updated tilde.json 2021-07-08 20:07:34 -04:00
Blade of Darkness 73f0a980d9 Do not list empty directory 2021-06-18 10:50:31 +02:00
Blade of Darkness 16f9b6e4a6 Not always contents are listed just with index.html or index.php 2021-06-18 10:38:26 +02:00
Blade of Darkness 55f641afc4 List non-empty user web directories 2021-06-17 16:49:58 +02:00
Blade of Darkness 99b9d67af0 Execute statement if expression evaluates to true 2021-06-17 16:26:44 +02:00
Blade of Darkness f9dd82d909 Update about Thunix 2021-05-17 16:00:07 +02:00
ubergeek 44508f99dc updated IP 2021-04-28 15:10:08 +00:00
Blade of Darkness f5aaed23ab to remove new line characters from a DOS file 2021-03-20 04:57:52 +01:00
Blade of Darkness d36f10189d Statements grouped with curly braces 2021-03-12 17:46:39 +01:00
Blade of Darkness cfd6ccdbbc Username passed lowercased once 2021-03-01 19:27:46 +01:00
Ubergeek 0833e91520 Starting making user adds more automated 2021-02-27 20:49:07 -05:00
Anton McClure fce23c7cd1 Fix typo in license link 2021-01-16 17:44:22 +00:00
Blade of Darkness 1b9c4e87af Let wiki.php render server.php 2021-01-12 22:00:42 +01:00
Blade of Darkness a6ae512417 Let wiki.php render users.php 2021-01-12 21:42:55 +01:00
Blade of Darkness 48922db7c4 Avoid undefined variable warnings in wiki, users and server pages 2021-01-12 16:00:14 +01:00
Blade of Darkness 107ea4f396 Make the cursor blink 2021-01-05 01:03:08 +01:00
Blade of Darkness d163822726 Avoid warning undefined variable 2021-01-04 20:28:25 +01:00
Blade of Darkness fa3e7ed385 Remove left edge from image 2020-12-28 00:33:52 +01:00
Blade of Darkness 58e54f5f01 Delete duplicate content 2020-12-28 00:25:30 +01:00
Blade of Darkness 99f93eb00e Update web hosting service description 2020-12-28 00:19:44 +01:00
Blade of Darkness 8122e8d4a0 Add account recovery to FAQ 2020-12-26 22:31:20 +01:00
Blade of Darkness 7a30f92ed1 Add hyphens to highlight dialogs 2020-12-26 20:45:38 +01:00
Blade of Darkness 278f561744 Add specific error page public key format 2020-12-22 20:08:44 +01:00
Blade of Darkness 1dde4d4fc1 Comment added to the Tor service 2020-12-16 19:08:49 +01:00
Blade of Darkness 86f04da9a4 Edit web server information 2020-12-04 11:02:27 +01:00
Blade of Darkness 75ab2e6a94 Adding web server information 2020-12-04 10:53:08 +01:00
Blade of Darkness e83a255b85 Main Menu update 2020-11-23 10:39:54 +01:00
ubergeek 74a3c9a45d Merge pull request 'Pages link to thunix/www repo and the specific page's .md file' (#30) from amcclure/thunix-www:master into master
Reviewed-on: #30
2020-07-03 13:56:30 -04:00
Anton McClure fc73f8c4df
add site and page source links 2020-07-03 13:18:58 -04:00
ubergeek c8e6df0083 Merge pull request 'Updating TOS' (#29) from ubergeek/www:master into master 2020-05-08 12:48:16 -04:00
Blade of Darkness d720fd3758 Check SSH public key format 2020-05-07 13:34:14 +02:00
Blade of Darkness bc6c6d735b Check if username already taken 2020-05-07 12:03:45 +02:00
Blade of Darkness 495d05679d Only check everything else if it's not a spam attempt 2020-05-07 11:57:18 +02:00
Blade of Darkness c7a949f04f Verify the form data and proceed if applicable 2020-05-06 23:00:27 +02:00
ubergeek 4076b295a5 full stops 2020-04-30 10:34:36 -04:00
ubergeek bd947c1c5a tweak 2020-04-29 22:37:20 -04:00
ubergeek eee94058a1 updated TOS 2020-04-29 22:36:08 -04:00
Ubergeek 8e1c0f38b7 Removed extraneous footer material 2020-03-11 08:11:49 -04:00
Ubergeek 069e01fe6a Merge branch 'master' of ttm.sh:thunix/www 2020-03-11 08:09:32 -04:00
root 3e7cd1b41f Updated news, and footer 2020-03-11 08:09:20 -04:00
ubergeek e2d7a5a8d3 Update 'githook.php' 2020-03-09 19:26:46 -04:00
ubergeek cd7b28cd30 added sponsor tag 2020-03-02 21:25:57 -05:00
Ubergeek f55fe3f58e State of the Thunix Feb 2020 2020-02-03 08:26:35 -05:00
Ubergeek ba8870e5a3 Merge branch 'master' of ttm.sh:thunix/www 2020-01-11 20:08:36 -05:00
Ubergeek 6c0e749edb updated allowed IP for hook 2020-01-11 20:08:20 -05:00
ubergeek 77136affc2 Merge branch 'css-change' of khuxkm/www into master 2020-01-10 08:38:58 -05:00
Robert Miles d0c4b91965 Make link colors apply globally
Visited links in the footer fail accessibility guidelines. This should fix that.
2020-01-10 08:37:37 -05:00
Ubergeek 3940d7139f Merge branch 'master' of ttm.sh:thunix/www 2020-01-03 00:44:42 +00:00
Ubergeek 0c4465e827 state of the thunix jan 2020 2020-01-03 00:44:26 +00:00
ubergeek df35168d78 Merge branch 'master' of anton/thunix-www into master 2019-12-31 19:07:26 -05:00
Anton McClure f8bc4e33e8
Fixed error with email links 2020-01-01 00:00:00 +00:00
Ubergeek 5497ab7a96 Adding lumen address for donations 2019-12-11 22:13:59 +00:00
Ubergeek 85c2bbd372 Spelling corrections 2019-12-01 20:12:14 +00:00
Ubergeek 19f1d68c4f State of the thunix December 2019 2019-12-01 18:11:21 +00:00
Blade of Darkness 31e121d1de Updated url to: how to make an ssh key 2019-11-20 20:11:04 +00:00
Ubergeek 53dff3d0c5 resized image 2019-11-18 14:53:02 +00:00
Ubergeek 5a320e18d4 Added link to list of contributors 2019-11-18 14:46:22 +00:00
Ubergeek e4963556c0 Updated logo 2019-11-18 14:44:15 +00:00
Ubergeek 46ac9f3aa0 Added new logo, with better color scheme, and a redesign 2019-11-18 14:43:32 +00:00
Blade of Darkness e5392cefcb replaced shell_exec for php mail function 2019-11-12 17:48:17 +00:00
Ubergeek cd6f3a0160 Making the failure page actually say failure 2019-11-12 13:39:24 +00:00
Ubergeek 972173f9e3 More better spelling 2019-11-07 13:06:37 +00:00
Ubergeek 78f3c86959 State of the Thunix for November, 2019 2019-11-07 13:02:49 +00:00
Ubergeek 43bcdbdad2 Cleanup 2019-11-05 15:58:23 +00:00
Ubergeek a4fc0397e0 Updated gitignore to not manage tilde.json 2019-11-05 15:49:20 +00:00
Ubergeek 84a972ad55 Updated gen_tdp, with correct signup URL, and re-pushed tilde.json 2019-11-04 15:53:47 +00:00
Ubergeek 5072f073f6 Updated tilde.json 2019-11-04 15:43:19 +00:00
Ubergeek f0ce076571 updated tdp 2019-10-27 18:45:44 +00:00
Ubergeek 58bcc89fc4 Adding client VPN service 2019-10-06 01:10:27 +00:00
Ubergeek d7dc82cd9b State of the Thunix, October 2019-09-30 14:44:17 +00:00
Ubergeek 1aa16526d6 Updated tilde.json 2019-09-17 11:55:55 +00:00
Ubergeek 1f4e2d99e6 Updated tilde.json and header 2019-09-15 17:39:16 +00:00
Ubergeek 413317f930 updating site 2019-09-15 16:06:16 +00:00
Ubergeek 8466b31038 Updated tilde.json 2019-09-10 23:30:18 +00:00
Ubergeek 309f10a800 Updated tilde.json 2019-09-03 15:56:41 +00:00
Ubergeek 054698ee64 Updated sott for 09/19 2019-09-03 15:55:58 +00:00
Ubergeek 04db1ca0f0 Updating font 2019-08-07 13:07:30 +00:00
Ubergeek 73ec99f00b Adding font and fixing up css 2019-08-05 23:21:31 +00:00
Ubergeek 65fd3d2a71 flipping theme 2019-08-05 23:11:50 +00:00
Ubergeek 09bdd1a3fb Updated tilde.json 2019-08-01 19:28:13 +00:00
Ubergeek 6b068b06ad syntax fix 2019-08-01 17:56:12 +00:00
Ubergeek 43ee8347e7 state of the thunix for august 2019-08-01 17:55:38 +00:00
Ubergeek f1e77a5973 Fixed chat link 2019-07-26 22:21:20 +00:00
Ubergeek f4c566ca40 Adding a new testing theme 2019-07-24 01:07:37 +00:00
Ubergeek 80b32af16a Updated htaccess to allow for sitemap 2019-07-17 01:31:52 +00:00
Ubergeek 46cb6c4a3a Updated tilde.json 2019-07-17 01:28:57 +00:00
Ubergeek dda7520818 Adding sitemap 2019-07-17 01:26:05 +00:00
Ubergeek b269fe4476 adding the service report to gitignore 2019-07-15 16:50:39 +00:00
Ubergeek 34da0f2242 Corrected report location 2019-07-15 16:44:00 +00:00
Ubergeek 328fb17482 Cleanup of invalid html tags 2019-07-15 16:39:59 +00:00
root e529f5b691 Fixing docroot 2019-07-15 13:56:56 +00:00
Ubergeek 316f39401f Flipping to minified thunix.css 2019-07-15 13:54:29 +00:00
Ubergeek 8a3cdb48f5 First 3.0 to master 2019-07-14 00:45:32 +00:00
Ubergeek fb4f2c1ea5 Updating githook, for realz 2019-07-14 00:40:52 +00:00
Ubergeek f9382071ca Update htaccess to allow githook 2019-07-14 00:38:18 +00:00
Ubergeek cc8d1e08f9 Updated State of the Thunix 2019-07-14 00:35:47 +00:00
root 28f60b2324 Updating contact.php 2019-07-14 00:04:51 +00:00
Ubergeek 9f916d567b Updating addr 2019-07-13 23:52:29 +00:00
Ubergeek b7315b19ed Making more text areas! 2019-07-13 22:58:00 +00:00
Ubergeek c2a8ff2d1c Cliosing tag 2019-07-13 22:56:23 +00:00
Ubergeek 10ec3e8ddd Testing text area 2019-07-13 22:54:43 +00:00
Ubergeek 0029cf494d Cleanup footer 2019-07-13 17:48:16 +00:00
Ubergeek e56878e11d Updated readme 2019-07-13 17:41:03 +00:00
Ubergeek c90cf06413 Updated some housekeeping stuff 2019-07-13 17:34:43 +00:00
Ubergeek c8ea9511dc Updated for real addresses 2019-07-13 17:24:36 +00:00
Ubergeek 6a5771c1f5 Made it more portable 2019-07-13 16:53:30 +00:00
Ubergeek 4a5d13af82 Trying to make this portable 2019-07-13 16:51:00 +00:00
Ubergeek 4f7f852c31 one more try with these text boxes 2019-07-13 12:28:40 -04:00
Ubergeek 5fceb31659 fleshed out text boxes 2019-07-13 12:25:00 -04:00
Ubergeek caecc5ba04 fixed contact form 2019-07-13 12:16:20 -04:00
Ubergeek 865edfab59 fixed signup 2019-07-13 12:14:59 -04:00
Ubergeek 259e05fd00 more cleanup 2019-07-13 12:13:02 -04:00
Ubergeek 251cbb17a0 cleaning up, and minor fixes 2019-07-13 11:51:48 -04:00
Ubergeek b2f91d5c72 fixing form submit url 2019-07-13 11:13:32 -04:00
Ubergeek 86749cca7a Fixed URL for signup 2019-07-13 11:03:50 -04:00
Ubergeek ca1961bcc2 Adding contact form stuff 2019-07-13 11:01:11 -04:00
Ubergeek 56f603c1ad Cleaning up unneeded linebreaks 2019-07-10 11:30:35 +00:00
Ubergeek 18bb8ea329 Justfying content 2019-07-10 11:22:09 +00:00
Ubergeek 5128807c7f Minified the css 2019-07-09 15:37:58 +00:00
Ubergeek 2810791c00 updating tilde.json 2019-07-08 22:43:56 +00:00
Ubergeek 81d4777684 More work on donate page 2019-07-08 01:28:39 +00:00
Ubergeek 0700521894 Dang it 2019-07-07 23:50:20 +00:00
Ubergeek 4cd8ce9489 Updated links across the board, and htaccess to allow for githook 2019-07-07 23:48:21 +00:00
Ubergeek 2878927317 Updates across the board 2019-07-07 23:28:31 +00:00
Ubergeek 961c458f45 damned formatting 2019-07-07 23:19:02 +00:00
Ubergeek 4c0cfd7e53 I think this is done 2019-07-07 23:17:22 +00:00
Ubergeek a9fc6d249f contact form test 2019-07-07 23:07:56 +00:00
Ubergeek ae3cc57ba7 Fixing includes paths 2019-07-07 20:00:04 +00:00
Ubergeek 02f8451fd5 Adding server status stuff 2019-07-07 19:57:58 +00:00
Ubergeek 8ee3c47c03 Updating htccess to allow custom modules to be served as all other pages 2019-07-07 19:46:08 +00:00
Ubergeek d702d39a41 Some more htaccess, and more users.php tweaks 2019-07-07 01:54:32 +00:00
Ubergeek df5bbc847b Fixing errant quote 2019-07-07 01:47:47 +00:00
Ubergeek 4d9e706809 Fixed sidebar 2019-07-07 01:44:59 +00:00
Ubergeek d2f603f7cc Fixed up userdir, and made that work 2019-07-07 01:39:54 +00:00
Ubergeek e7a6a2aeaa changing up header a bit 2019-07-07 00:49:33 +00:00
Ubergeek ee3eb85007 Adding some media files 2019-07-07 00:47:13 +00:00
Ubergeek f0dff9df4b Touched up thunix.css 2019-07-07 00:44:18 +00:00
Ubergeek e864973077 updated htaccess and sidebar to not break webmail 2019-07-07 00:39:00 +00:00
Ubergeek 396ca427fb Added excludes in htaccess for tilde.json and humans.txt 2019-07-07 00:24:37 +00:00
root a500b3449a Fixed up config.pgp, re-added files that will need to exist still 2019-07-06 23:30:27 +00:00
Ubergeek a777ea330a Beginning of site ver 3.0 2019-07-06 23:20:09 +00:00
ubergeek 65b959f4db Merge branch 'master' of TechEmporium/thunix_2.0_website into master 2019-06-30 13:46:26 -04:00
TechEmporium 1dcd2130f1 Added link to wiki pages 2019-06-30 13:34:45 -04:00
Ubergeek 7bfbe7d9dc Disabling the wannabe irc hook 2019-06-28 23:44:52 +00:00
Ubergeek 232622b2e6 Updating webhook for the wiki 2019-06-28 16:42:11 +00:00
Ubergeek 5f9d60934a Updating tilde.json 2019-06-24 18:20:44 +00:00
Ubergeek de32039c5d Updating tilde.json 2019-06-24 13:25:24 +00:00
Anton McClure 06554e0539 Merge branch 'master' of TechEmporium/thunix_2.0_website into master 2019-06-23 15:32:55 -04:00
TechEmporium 46a4739c63 Fixed some faulty HTML code 2019-06-23 15:23:58 -04:00
Anton McClure ffa81c2555 Merge branch 'master' of TechEmporium/thunix_2.0_website into master
Looks good. Request merged.
2019-06-23 15:19:03 -04:00
TechEmporium 406d0bd6d6 Fixed some faulty HTML code 2019-06-23 09:01:37 -04:00
fosslinux 95c754892b Merge branch 'master' of TechEmporium/thunix_2.0_website into master 2019-06-23 01:32:30 -04:00
TechEmporium c985d89b05 Repaired W3C validator referer links 2019-06-23 00:38:34 -04:00
Ubergeek 83a2175809 Updating tilde.json 2019-06-18 13:27:44 +00:00
Ubergeek bc4a94bc4f Updating tilde.json 2019-06-13 17:51:55 +00:00
Ubergeek 6fb5e549c0 Updated tilde.json 2019-05-30 13:58:10 +00:00
Ubergeek a8d662db12 Update tilde.json, and updated list of admins on FAQ 2019-05-28 14:01:39 +00:00
Ubergeek bd44438651 Forcing https 2019-05-24 12:08:54 +00:00
Anton McClure 6a072d7fc4
fix stats page link 2019-05-23 22:56:06 -04:00
Ubergeek 62bdd3c8fe Case matters 2019-05-21 17:11:54 +00:00
Ubergeek 3233422cd8 I guess case matters 2019-05-21 17:10:45 +00:00
Ubergeek 3b04a4329b Split pages, and pushed to prod 2019-05-21 17:07:50 +00:00
Ubergeek 039dbe434b I think I fixed it... 2019-05-20 17:27:57 +00:00
Ubergeek 95c983e437 Merge branch 'master' of ttm.sh:thunix/www 2019-05-20 17:24:48 +00:00
Ubergeek 43f47b1339 Splitting out news page 2019-05-20 17:24:22 +00:00
Anton McClure 91de1617f2
tweaks to newserver.php 2019-05-20 08:41:00 -04:00
Anton McClure dd588dac21
tweaks to newserver.php 2019-05-20 08:37:29 -04:00
Ubergeek 1adf360481 final-ish tweak 2019-05-20 12:20:41 +00:00
Ubergeek ab1e5e7960 Some more tweaks 2019-05-20 11:31:43 +00:00
Ubergeek 0fac5f44a3 Fixed formatting, spelling 2019-05-20 11:17:51 +00:00
Ubergeek dcd4d79b5d Working on a new server.php page 2019-05-20 11:07:35 +00:00
Anton McClure 2d80564585
fix server page
Signed-off-by: Anton McClure <amcclure@thunix.net>
2019-05-18 14:41:26 -04:00
Anton McClure 5fd6cd91ea
removed duplicate tag 2019-05-18 12:55:18 -04:00
Anton McClure 609ef4febd
added menu links, temporarily commented out unused section 2019-05-18 12:47:21 -04:00
Anton McClure f3a38052b2
well-needed updates and fixes 2019-05-18 12:40:29 -04:00
Ubergeek 2e8709e515 Update tilde.json 2019-05-15 12:57:38 +00:00
Ubergeek 3d24343ab4 sott May 2019-05-13 11:07:07 +00:00
Ubergeek 113c37b179 Updated tilde.json 2019-05-10 12:45:27 +00:00
Ubergeek bb0fec5911 Updated tilde.json 2019-05-09 18:40:01 +00:00
Ubergeek 8808ae51ff Updated list of admins 2019-05-09 18:39:18 +00:00
Ubergeek 008118cf7f Updated tos 2019-05-03 23:49:36 +00:00
Ubergeek bbc853a627 Updated tdp 2019-05-03 13:26:48 +00:00
Ubergeek f0f390e7b4 Forgot semi 2019-04-23 10:53:03 +00:00
Ubergeek dcedaff6a3 Updated for new IP of githook 2019-04-17 13:35:39 +00:00
Ubergeek 61873468a3 Updated githook, and tilde.json 2019-04-13 00:46:07 +00:00
Ubergeek caa3ff8168 Updated tilde.json 2019-04-12 18:35:07 +00:00
Ubergeek e7a39a3a6b gen_tdp run for new user 2019-04-03 17:58:00 +00:00
Ubergeek 8e7c0e8e3a Updated tilde.json 2019-04-03 11:43:22 +00:00
Anton McClure b9d5be7531 Updated Terms of Service to fix loopholes 2019-03-28 11:08:29 -04:00
Ubergeek d6ac75065c Updated tilde.json for new user 2019-03-26 14:39:36 +00:00
Ubergeek 232bb4a92d tilde.json update 2019-03-26 12:02:21 +00:00
Ubergeek b90cd00794 Oops, forgot to put the update script in 2019-03-24 17:41:14 +00:00
Ubergeek eb8cf8348c gen_tdp 2019-03-24 17:36:16 +00:00
Ubergeek 88ca3242ad Adding humans.txt 2019-03-23 01:49:56 +00:00
Ubergeek 930d9cade2 SOTT March 2019-03-23 00:19:45 +00:00
Ubergeek 3d6e2f0029 Dammit, missed a closing paren 2019-03-22 21:43:57 +00:00
Ubergeek 71a11440fd Cleanup 2019-03-22 21:40:15 +00:00
Ubergeek 5714c3c5db Ok, tested and fixed, finally! 2019-03-22 21:33:06 +00:00
Ubergeek a3039a1234 Better key, and safer 2019-03-22 16:56:32 +00:00
Ubergeek 1920355074 Ok, pretty sure I got it now 2019-03-22 16:52:54 +00:00
Ubergeek 197b25b76f Ok, swap files... le sigh 2019-03-22 00:36:33 +00:00
Ubergeek c5cb06676e Ok, giving up, splitting the hooks 2019-03-22 00:34:33 +00:00
Ubergeek 4bb5d5b08e Merge branch 'master' of ttm.sh:thunix/www 2019-03-22 00:22:58 +00:00
Ubergeek 246640694f #321EUOfflineDay is over 2019-03-22 00:22:50 +00:00
ubergeek 3e9e8bdf9d Merge branch 'fix-irc-url' of thunix/www into master 2019-03-21 19:11:09 -04:00
Robert Miles d0ba42dfa7 Fix tilde.chat irc url 2019-03-21 18:56:59 -04:00
Corey Reichle 55d45c5a40 Update key 2019-03-21 14:29:15 -04:00
ubergeek bb10added4 testing 2019-03-21 14:21:01 -04:00
Ubergeek 53af670a4d Hopefully, fixed again 2019-03-21 15:26:54 +00:00
Ubergeek c3fb5646d5 Fixed githook for reals 2019-03-21 14:49:58 +00:00
Ubergeek a8e5cca79e Fixed the githook for www 2019-03-21 14:45:28 +00:00
ubergeek f4363eb055 tweaked 2019-03-21 10:31:52 -04:00
Ubergeek 737d779f69 Updated readme 2019-03-21 14:05:24 +00:00
Ubergeek 6e707393b8 Going dark for #321EUOfflineDay 2019-03-21 01:39:56 +00:00
Ubergeek 341f879c71 Updating the githook, and adding teapot easter egg. 2019-03-20 13:12:42 +00:00
Ubergeek b79a0c921d Found a universal place to drop files 2019-03-18 12:27:41 +00:00
Ubergeek 8a79171753 Corrected variable name 2019-03-18 12:20:54 +00:00
Ubergeek ad73b30665 Cleaned up a bit 2019-03-18 11:57:37 +00:00
Ubergeek 9ea257452b Merge branch 'master' of ttm.sh:thunix/www 2019-03-18 11:51:19 +00:00
Ubergeek 2dca052c60 changing how the hook fires off 2019-03-18 11:51:10 +00:00
Anton McClure 3ef16a6ad9 Update 'FOOTER.php' 2019-03-17 19:54:48 -04:00
Anton McClure 869ecb5893 Updated ad code 2019-03-17 19:54:16 -04:00
Anton McClure 62ba8c06d7 Update 'FOOTER.php' 2019-03-17 16:29:53 -04:00
Anton McClure 50022567e5 Update 'FOOTER.php' 2019-03-17 11:52:16 -04:00
Anton McClure 4b2dcf9b43 Update 'FOOTER.php' 2019-03-17 11:47:29 -04:00
Ubergeek dd3a374135 Updated the body for rate limiting 2019-03-17 01:45:40 +00:00
Ubergeek 52de48e5f3 Adding githook 2019-03-17 01:31:59 +00:00
Anton McClure 0b2fbbd6a0 Update 'FOOTER.php' 2019-03-09 23:39:28 -05:00
Ubergeek 65e5776d1c Adding license php file 2019-03-07 17:57:56 +00:00
Ubergeek 3a7c90b8ca Adding license text 2019-03-07 17:56:21 +00:00
Ubergeek ffe3dc9bda Ok, let's not commit way too much this time 2019-03-07 17:53:42 +00:00
Ubergeek 72205cb7f0 Revert "Updated chat section, and better wording for tilde network"
This reverts commit 1a975d9f7a.
2019-03-07 17:45:04 +00:00
Ubergeek 1a975d9f7a Updated chat section, and better wording for tilde network 2019-03-07 17:43:25 +00:00
92 changed files with 5760 additions and 29610 deletions

5
.gitignore vendored Normal file
View File

@ -0,0 +1,5 @@
*.swp
webmail
includes/report
report
tilde.json

5
.htaccess Normal file
View File

@ -0,0 +1,5 @@
RewriteEngine On
RewriteRule ^$ main [QSA]
RewriteRule ^index\.php$ wiki.php?page=main [QSA]
RewriteCond %{REQUEST_URI} !(/includes/|/media/|tilde.json|humans.txt|/webmail/|/favicon.ico|/~|githook|sitemap.xml)
RewriteRule ^([^\d]+)/?$ wiki.php?page=$1 [QSA]

View File

@ -1,7 +0,0 @@
<div id="footer">
<p>This page is licensed under a <a rel="license" href="https://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0 license</a>. Permissions beyond the scope of this license may be available at <a href="/copyright.php">https://www.thunix.net/copyright.php</a>.<br>
<?php echo "Page last updated on " . date ("Y-m-d\TH:i:sO.", getlastmod());?><br>
You may have to refresh the page to see any changes or updates.<br>
All questions, comments, and concerns about this site should be sent to <a href="/contact.php">the administration team</a>.</p>
<p>Created with valid <a href="http://validator.w3.org/check?uri=referer">HTML</a> and <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a> code.</p>
</div></body></html>

View File

@ -1,9 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta name="description" content="thunix Community Official Website">
<meta name="keywords" content="thunix,community,Shell,Provider,And,Web,Host,Phoenix,UNIX,Linux,HTML,CSS,XML,JavaScript,Gnu,Ubuntu,Debian,Arch,Mirrors,Mirror,Forums,Tildeverse">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="/site.css" rel="stylesheet" type="text/css" media="all">
<link href="/favicon.png" rel="icon">

163
LICENSE.md Normal file
View File

@ -0,0 +1,163 @@
GNU Lesser General Public License
=================================
_Version 3, 29 June 2007_
_Copyright © 2007 Free Software Foundation, Inc. &lt;<http://fsf.org/>&gt;_
Everyone is permitted to copy and distribute verbatim copies
of this license document, but changing it is not allowed.
This version of the GNU Lesser General Public License incorporates
the terms and conditions of version 3 of the GNU General Public
License, supplemented by the additional permissions listed below.
### 0. Additional Definitions
As used herein, “this License” refers to version 3 of the GNU Lesser
General Public License, and the “GNU GPL” refers to version 3 of the GNU
General Public License.
“The Library” refers to a covered work governed by this License,
other than an Application or a Combined Work as defined below.
An “Application” is any work that makes use of an interface provided
by the Library, but which is not otherwise based on the Library.
Defining a subclass of a class defined by the Library is deemed a mode
of using an interface provided by the Library.
A “Combined Work” is a work produced by combining or linking an
Application with the Library. The particular version of the Library
with which the Combined Work was made is also called the “Linked
Version”.
The “Minimal Corresponding Source” for a Combined Work means the
Corresponding Source for the Combined Work, excluding any source code
for portions of the Combined Work that, considered in isolation, are
based on the Application, and not on the Linked Version.
The “Corresponding Application Code” for a Combined Work means the
object code and/or source code for the Application, including any data
and utility programs needed for reproducing the Combined Work from the
Application, but excluding the System Libraries of the Combined Work.
### 1. Exception to Section 3 of the GNU GPL
You may convey a covered work under sections 3 and 4 of this License
without being bound by section 3 of the GNU GPL.
### 2. Conveying Modified Versions
If you modify a copy of the Library, and, in your modifications, a
facility refers to a function or data to be supplied by an Application
that uses the facility (other than as an argument passed when the
facility is invoked), then you may convey a copy of the modified
version:
* **a)** under this License, provided that you make a good faith effort to
ensure that, in the event an Application does not supply the
function or data, the facility still operates, and performs
whatever part of its purpose remains meaningful, or
* **b)** under the GNU GPL, with none of the additional permissions of
this License applicable to that copy.
### 3. Object Code Incorporating Material from Library Header Files
The object code form of an Application may incorporate material from
a header file that is part of the Library. You may convey such object
code under terms of your choice, provided that, if the incorporated
material is not limited to numerical parameters, data structure
layouts and accessors, or small macros, inline functions and templates
(ten or fewer lines in length), you do both of the following:
* **a)** Give prominent notice with each copy of the object code that the
Library is used in it and that the Library and its use are
covered by this License.
* **b)** Accompany the object code with a copy of the GNU GPL and this license
document.
### 4. Combined Works
You may convey a Combined Work under terms of your choice that,
taken together, effectively do not restrict modification of the
portions of the Library contained in the Combined Work and reverse
engineering for debugging such modifications, if you also do each of
the following:
* **a)** Give prominent notice with each copy of the Combined Work that
the Library is used in it and that the Library and its use are
covered by this License.
* **b)** Accompany the Combined Work with a copy of the GNU GPL and this license
document.
* **c)** For a Combined Work that displays copyright notices during
execution, include the copyright notice for the Library among
these notices, as well as a reference directing the user to the
copies of the GNU GPL and this license document.
* **d)** Do one of the following:
- **0)** Convey the Minimal Corresponding Source under the terms of this
License, and the Corresponding Application Code in a form
suitable for, and under terms that permit, the user to
recombine or relink the Application with a modified version of
the Linked Version to produce a modified Combined Work, in the
manner specified by section 6 of the GNU GPL for conveying
Corresponding Source.
- **1)** Use a suitable shared library mechanism for linking with the
Library. A suitable mechanism is one that **(a)** uses at run time
a copy of the Library already present on the user's computer
system, and **(b)** will operate properly with a modified version
of the Library that is interface-compatible with the Linked
Version.
* **e)** Provide Installation Information, but only if you would otherwise
be required to provide such information under section 6 of the
GNU GPL, and only to the extent that such information is
necessary to install and execute a modified version of the
Combined Work produced by recombining or relinking the
Application with a modified version of the Linked Version. (If
you use option **4d0**, the Installation Information must accompany
the Minimal Corresponding Source and Corresponding Application
Code. If you use option **4d1**, you must provide the Installation
Information in the manner specified by section 6 of the GNU GPL
for conveying Corresponding Source.)
### 5. Combined Libraries
You may place library facilities that are a work based on the
Library side by side in a single library together with other library
facilities that are not Applications and are not covered by this
License, and convey such a combined library under terms of your
choice, if you do both of the following:
* **a)** Accompany the combined library with a copy of the same work based
on the Library, uncombined with any other library facilities,
conveyed under the terms of this License.
* **b)** Give prominent notice with the combined library that part of it
is a work based on the Library, and explaining where to find the
accompanying uncombined form of the same work.
### 6. Revised Versions of the GNU Lesser General Public License
The Free Software Foundation may publish revised and/or new versions
of the GNU Lesser General Public License from time to time. Such new
versions will be similar in spirit to the present version, but may
differ in detail to address new problems or concerns.
Each version is given a distinguishing version number. If the
Library as you received it specifies that a certain numbered version
of the GNU Lesser General Public License “or any later version”
applies to it, you have the option of following the terms and
conditions either of that published version or of any later version
published by the Free Software Foundation. If the Library as you
received it does not specify a version number of the GNU Lesser
General Public License, you may choose any version of the GNU Lesser
General Public License ever published by the Free Software Foundation.
If the Library as you received it specifies that a proxy can decide
whether future versions of the GNU Lesser General Public License shall
apply, that proxy's public statement of acceptance of any version is
permanent authorization for you to choose that version for the
Library.

View File

@ -1,43 +0,0 @@
<div id="sidebar">
<ul>
<li>
<div style="clear: both;">&nbsp;</div>
</li>
<li>
<h2>Main Menu</h2>
<ul>
<li><a href="/">Home</a></li>
<li><a href="faq.php">FAQ</a></li>
<li><a href="tos.php">Terms of Service</a></li>
<li><a href="gdpr.php">GDPR Statement and Privacy Policy</a></li>
<li><a href="contact.php">Contact Us</a></li>
<li><a href="signup.php">Sign Up</a></li>
<li><a href="abuse.php">Report Abuse</a></li>
<li><a href="donate.php">Donations</a></li>
</ul>
</li>
<li>
<h2>Main Resources On This Site</h2>
<ul>
<li><a href="server.php">Status of thunix Servers and Services</a></li>
<li><a href="users.php">User Web Directories</a></li>
<li><a href="https://gopher.tildeverse.org/thunix.net">User Gopher Directories</a></li>
<li><a href="/webmail/">Web Mail</a></li>
<li><a href="https://thunix.net:1326/">ZNC Service</a></li>
</ul>
<li>
<h2>Server Staff</h2>
<ul>
<li><a href="/~amcclure/">Anton McClure</a></li>
<li><a href="/~ubergeek/">Ubergeek</a></li>
</ul>
<li>
<h2>Other Information</h2>
<ul>
<li><a href=".">(Coming soon)</a></li>
</ul>
</li>
</ul>
</div>
<div style="clear: both;">&nbsp;</div>
</div></div></div></div>

View File

@ -1,14 +1,7 @@
# thunix 2.0 website update
# Thunix Website Code
This is the code powering the website for thunix, originally founded by hexhaxtron. Since the original site went down, amcclure and ubergeek revived the site, though with only the bare necessities.
This is the code powering the thunix website. It is based on [wiki.php](https://tildegit.org/ubergeek/wiki.php).
These updates are designed to not only beautify the website with updated CSS and fully compliant HTML5 code, but also to automate visitor interaction with site administration and to provide server status information.
Content is licensed under the Creative Commons, Share Alike, Attribution Licence.
Features include:
- Emailing scripts for general inquiries, registration and abuse reporting
- Scripting to automatically present functional user web pages in a menu list
- Scripting to provide server status reports to visitors*
*This requires the monurbox server monitoring shell script, executed through an hourly cron job
To run this website, the server computer requires PHP, with the GD extension (for generating CAPTCHA images,) Sendmail (to send emails from the website, to administration) and monurbox (to generate server status reports).
Code is licensed under the AGPL 3 or later.

View File

@ -1,860 +0,0 @@
<?php
require_once( dirname(__FILE__).'/abuse.lib.php' );
define( 'PHPFMG_USER', "abuse@thunix.net" ); // must be a email address. for sending password to you.
define( 'PHPFMG_PW', "a31add" );
?>
<?php
/**
* GNU Library or Lesser General Public License version 2.0 (LGPLv2)
*/
# main
# ------------------------------------------------------
error_reporting( E_ERROR ) ;
phpfmg_admin_main();
# ------------------------------------------------------
function phpfmg_admin_main(){
$mod = isset($_REQUEST['mod']) ? $_REQUEST['mod'] : '';
$func = isset($_REQUEST['func']) ? $_REQUEST['func'] : '';
$function = "phpfmg_{$mod}_{$func}";
if( !function_exists($function) ){
phpfmg_admin_default();
exit;
};
// no login required modules
$public_modules = false !== strpos('|captcha||ajax|', "|{$mod}|");
$public_functions = false !== strpos('|phpfmg_ajax_submit||phpfmg_mail_request_password||phpfmg_filman_download||phpfmg_image_processing||phpfmg_dd_lookup|', "|{$function}|") ;
if( $public_modules || $public_functions ) {
$function();
exit;
};
return phpfmg_user_isLogin() ? $function() : phpfmg_admin_default();
}
function phpfmg_ajax_submit(){
$phpfmg_send = phpfmg_sendmail( $GLOBALS['form_mail'] );
$isHideForm = isset($phpfmg_send['isHideForm']) ? $phpfmg_send['isHideForm'] : false;
$response = array(
'ok' => $isHideForm,
'error_fields' => isset($phpfmg_send['error']) ? $phpfmg_send['error']['fields'] : '',
'OneEntry' => isset($GLOBALS['OneEntry']) ? $GLOBALS['OneEntry'] : '',
);
@header("Content-Type:text/html; charset=$charset");
echo "<html><body><script>
var response = " . json_encode( $response ) . ";
try{
parent.fmgHandler.onResponse( response );
}catch(E){};
\n\n";
echo "\n\n</script></body></html>";
}
function phpfmg_admin_default(){
if( phpfmg_user_login() ){
phpfmg_admin_panel();
};
}
function phpfmg_admin_panel()
{
if( !phpfmg_user_isLogin() ){
exit;
};
phpfmg_admin_header();
phpfmg_writable_check();
?>
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td valign=top style="padding-left:280px;">
<style type="text/css">
.fmg_title{
font-size: 16px;
font-weight: bold;
padding: 10px;
}
.fmg_sep{
width:32px;
}
.fmg_text{
line-height: 150%;
vertical-align: top;
padding-left:28px;
}
</style>
<script type="text/javascript">
function deleteAll(n){
if( confirm("Are you sure you want to delete?" ) ){
location.href = "admin.php?mod=log&func=delete&file=" + n ;
};
return false ;
}
</script>
<div class="fmg_title">
1. Email Traffics
</div>
<div class="fmg_text">
<a href="admin.php?mod=log&func=view&file=1">view</a> &nbsp;&nbsp;
<a href="admin.php?mod=log&func=download&file=1">download</a> &nbsp;&nbsp;
<?php
if( file_exists(PHPFMG_EMAILS_LOGFILE) ){
echo '<a href="#" onclick="return deleteAll(1);">delete all</a>';
};
?>
</div>
<div class="fmg_title">
2. Form Data
</div>
<div class="fmg_text">
<a href="admin.php?mod=log&func=view&file=2">view</a> &nbsp;&nbsp;
<a href="admin.php?mod=log&func=download&file=2">download</a> &nbsp;&nbsp;
<?php
if( file_exists(PHPFMG_SAVE_FILE) ){
echo '<a href="#" onclick="return deleteAll(2);">delete all</a>';
};
?>
</div>
<div class="fmg_title">
3. Form Generator
</div>
<div class="fmg_text">
<a href="http://www.formmail-maker.com/generator.php" onclick="document.frmFormMail.submit(); return false;" title="<?php echo htmlspecialchars(PHPFMG_SUBJECT);?>">Edit Form</a> &nbsp;&nbsp;
<a href="http://www.formmail-maker.com/generator.php" >New Form</a>
</div>
<form name="frmFormMail" action='http://www.formmail-maker.com/generator.php' method='post' enctype='multipart/form-data'>
<input type="hidden" name="uuid" value="<?php echo PHPFMG_ID; ?>">
<input type="hidden" name="external_ini" value="<?php echo function_exists('phpfmg_formini') ? phpfmg_formini() : ""; ?>">
</form>
</td>
</tr>
</table>
<?php
phpfmg_admin_footer();
}
function phpfmg_admin_header( $title = '' ){
header( "Content-Type: text/html; charset=" . PHPFMG_CHARSET );
?>
<html>
<head>
<title><?php echo '' == $title ? '' : $title . ' | ' ; ?>PHP FormMail Admin Panel </title>
<meta name="keywords" content="PHP FormMail Generator, PHP HTML form, send html email with attachment, PHP web form, Free Form, Form Builder, Form Creator, phpFormMailGen, Customized Web Forms, phpFormMailGenerator,formmail.php, formmail.pl, formMail Generator, ASP Formmail, ASP form, PHP Form, Generator, phpFormGen, phpFormGenerator, anti-spam, web hosting">
<meta name="description" content="PHP formMail Generator - A tool to ceate ready-to-use web forms in a flash. Validating form with CAPTCHA security image, send html email with attachments, send auto response email copy, log email traffics, save and download form data in Excel. ">
<meta name="generator" content="PHP Mail Form Generator, phpfmg.sourceforge.net">
<style type='text/css'>
body, td, label, div, span{
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 12px;
}
</style>
</head>
<body marginheight="0" marginwidth="0" leftmargin="0" topmargin="0">
<table cellspacing=0 cellpadding=0 border=0 width="100%">
<td nowrap align=center style="background-color:#024e7b;padding:10px;font-size:18px;color:#ffffff;font-weight:bold;width:250px;" >
Form Admin Panel
</td>
<td style="padding-left:30px;background-color:#86BC1B;width:100%;font-weight:bold;" >
&nbsp;
<?php
if( phpfmg_user_isLogin() ){
echo '<a href="admin.php" style="color:#ffffff;">Main Menu</a> &nbsp;&nbsp;' ;
echo '<a href="admin.php?mod=user&func=logout" style="color:#ffffff;">Logout</a>' ;
};
?>
</td>
</table>
<div style="padding-top:28px;">
<?php
}
function phpfmg_admin_footer(){
?>
</div>
<div style="color:#cccccc;text-decoration:none;padding:18px;font-weight:bold;">
:: <a href="http://phpfmg.sourceforge.net" target="_blank" title="Free Mailform Maker: Create read-to-use Web Forms in a flash. Including validating form with CAPTCHA security image, send html email with attachments, send auto response email copy, log email traffics, save and download form data in Excel. " style="color:#cccccc;font-weight:bold;text-decoration:none;">PHP FormMail Generator</a> ::
</div>
</body>
</html>
<?php
}
function phpfmg_image_processing(){
$img = new phpfmgImage();
$img->out_processing_gif();
}
# phpfmg module : captcha
# ------------------------------------------------------
function phpfmg_captcha_get(){
$img = new phpfmgImage();
$img->out();
//$_SESSION[PHPFMG_ID.'fmgCaptchCode'] = $img->text ;
$_SESSION[ phpfmg_captcha_name() ] = $img->text ;
}
function phpfmg_captcha_generate_images(){
for( $i = 0; $i < 50; $i ++ ){
$file = "$i.png";
$img = new phpfmgImage();
$img->out($file);
$data = base64_encode( file_get_contents($file) );
echo "'{$img->text}' => '{$data}',\n" ;
unlink( $file );
};
}
function phpfmg_dd_lookup(){
$paraOk = ( isset($_REQUEST['n']) && isset($_REQUEST['lookup']) && isset($_REQUEST['field_name']) );
if( !$paraOk )
return;
$base64 = phpfmg_dependent_dropdown_data();
$data = @unserialize( base64_decode($base64) );
if( !is_array($data) ){
return ;
};
foreach( $data as $field ){
if( $field['name'] == $_REQUEST['field_name'] ){
$nColumn = intval($_REQUEST['n']);
$lookup = $_REQUEST['lookup']; // $lookup is an array
$dd = new DependantDropdown();
echo $dd->lookupFieldColumn( $field, $nColumn, $lookup );
return;
};
};
return;
}
function phpfmg_filman_download(){
if( !isset($_REQUEST['filelink']) )
return ;
$filelink = base64_decode($_REQUEST['filelink']);
$file = PHPFMG_SAVE_ATTACHMENTS_DIR . basename($filelink);
// 2016-12-05: to prevent *LFD/LFI* attack. patch provided by Pouya Darabi, a security researcher in cert.org
$real_basePath = realpath(PHPFMG_SAVE_ATTACHMENTS_DIR);
$real_requestPath = realpath($file);
if ($real_requestPath === false || strpos($real_requestPath, $real_basePath) !== 0) {
return;
};
if( !file_exists($file) ){
return ;
};
phpfmg_util_download( $file, $filelink );
}
class phpfmgDataManager
{
var $dataFile = '';
var $columns = '';
var $records = '';
function __construct(){
$this->dataFile = PHPFMG_SAVE_FILE;
}
function phpfmgDataManager(){
$this->dataFile = PHPFMG_SAVE_FILE;
}
function parseFile(){
$fp = @fopen($this->dataFile, 'rb');
if( !$fp ) return false;
$i = 0 ;
$phpExitLine = 1; // first line is php code
$colsLine = 2 ; // second line is column headers
$this->columns = array();
$this->records = array();
$sep = chr(0x09);
while( !feof($fp) ) {
$line = fgets($fp);
$line = trim($line);
if( empty($line) ) continue;
$line = $this->line2display($line);
$i ++ ;
switch( $i ){
case $phpExitLine:
continue;
break;
case $colsLine :
$this->columns = explode($sep,$line);
break;
default:
$this->records[] = explode( $sep, phpfmg_data2record( $line, false ) );
};
};
fclose ($fp);
}
function displayRecords(){
$this->parseFile();
echo "<table border=1 style='width=95%;border-collapse: collapse;border-color:#cccccc;' >";
echo "<tr><td>&nbsp;</td><td><b>" . join( "</b></td><td>&nbsp;<b>", $this->columns ) . "</b></td></tr>\n";
$i = 1;
foreach( $this->records as $r ){
echo "<tr><td align=right>{$i}&nbsp;</td><td>" . join( "</td><td>&nbsp;", $r ) . "</td></tr>\n";
$i++;
};
echo "</table>\n";
}
function line2display( $line ){
$line = str_replace( array('"' . chr(0x09) . '"', '""'), array(chr(0x09),'"'), $line );
$line = substr( $line, 1, -1 ); // chop first " and last "
return $line;
}
}
# end of class
# ------------------------------------------------------
class phpfmgImage
{
var $im = null;
var $width = 73 ;
var $height = 33 ;
var $text = '' ;
var $line_distance = 8;
var $text_len = 4 ;
function __construct( $text = '', $len = 4 ){
$this->phpfmgImage( $text, $len );
}
function phpfmgImage( $text = '', $len = 4 ){
$this->text_len = $len ;
$this->text = '' == $text ? $this->uniqid( $this->text_len ) : $text ;
$this->text = strtoupper( substr( $this->text, 0, $this->text_len ) );
}
function create(){
$this->im = imagecreate( $this->width, $this->height );
$bgcolor = imagecolorallocate($this->im, 255, 255, 255);
$textcolor = imagecolorallocate($this->im, 0, 0, 0);
$this->drawLines();
imagestring($this->im, 5, 20, 9, $this->text, $textcolor);
}
function drawLines(){
$linecolor = imagecolorallocate($this->im, 210, 210, 210);
//vertical lines
for($x = 0; $x < $this->width; $x += $this->line_distance) {
imageline($this->im, $x, 0, $x, $this->height, $linecolor);
};
//horizontal lines
for($y = 0; $y < $this->height; $y += $this->line_distance) {
imageline($this->im, 0, $y, $this->width, $y, $linecolor);
};
}
function out( $filename = '' ){
if( function_exists('imageline') ){
$this->create();
if( '' == $filename ) header("Content-type: image/png");
( '' == $filename ) ? imagepng( $this->im ) : imagepng( $this->im, $filename );
imagedestroy( $this->im );
}else{
$this->out_predefined_image();
};
}
function uniqid( $len = 0 ){
$md5 = md5( uniqid(rand()) );
return $len > 0 ? substr($md5,0,$len) : $md5 ;
}
function out_predefined_image(){
header("Content-type: image/png");
$data = $this->getImage();
echo base64_decode($data);
}
// Use predefined captcha random images if web server doens't have GD graphics library installed
function getImage(){
$images = array(
'F152' => 'iVBORw0KGgoAAAANSUhEUgAAAEkAAAAhAgMAAADoum54AAAACVBMVEX///8AAADS0tIrj1xmAAAAbElEQVR4nGNYhQEaGAYTpIn7QkMZAlhDHaY6IIkFNDAGsDYwBASgiLECxRgdRFDEgHqnMjSIILkvNGpV1NLMrFVRSO4DqQOSjQ5oeoFkKwO6eQ0BU9DFGB0dAlDFWEMZQhlDQwZB+FERYnEfAAa9y0AwZOMeAAAAAElFTkSuQmCC',
'E0D3' => 'iVBORw0KGgoAAAANSUhEUgAAAEkAAAAhAgMAAADoum54AAAACVBMVEX///8AAADS0tIrj1xmAAAAWElEQVR4nGNYhQEaGAYTpIn7QkMYAlhDGUI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UgAAAEkAAAAhAgMAAADoum54AAAACVBMVEX///8AAADS0tIrj1xmAAAAZUlEQVR4nGNYhQEaGAYTpIn7GB0YQ1hDGVqRxVgdWFtZGx2mOiCJiTqINLo2BAQEoOgFijU6OogguW9l1tKlqaErs6YhuQ9oRyCSOqgYA9C8QDQxFix2YHFLCKabByr8qAixuA8AyM3KUvjtMMoAAAAASUVORK5CYII=',
'2105' => 'iVBORw0KGgoAAAANSUhEUgAAAEkAAAAhAgMAAADoum54AAAACVBMVEX///8AAADS0tIrj1xmAAAAcUlEQVR4nM2QsRHAIAwDReENGAiK9ErhIkxDwwYkG6RhykDnHCmTu1idTrL/jDZNxp/0CZ8QRHVK4/nqCHXB5liELsabhwJKXpdg+Y6WzralZPk4cszedPv2yZOeHDes50dbQcunKoqKPfzgfy/qge8CQVvIaymcbJsAAAAASUVORK5CYII=',
'0F97' => 'iVBORw0KGgoAAAANSUhEUgAAAEkAAAAhAgMAAADoum54AAAACVBMVEX///8AAADS0tIrj1xmAAAAbUlEQVR4nGNYhQEaGAYTpIn7GB1EQx1CGUNDkMRYA0QaGB0dGkSQxESmiDSwNgSgiAW0QsQCkNwXtXRq2MrMqJVZSO4DqWMICWhlQNMLJKcwoNnB2BAQwIDhFkcHVDcD9YYyoogNVPhREWJxHwAt+8sjvlP2ygAAAABJRU5ErkJggg==',
'77F7' => 'iVBORw0KGgoAAAANSUhEUgAAAEkAAAAhAgMAAADoum54AAAACVBMVEX///8AAADS0tIrj1xmAAAAYklEQVR4nGNYhQEaGAYTpIn7QkNFQ11DA0NDkEVbGRpdgbQIIbEpDK2sQDoA2X1Rq6YtDV21MgvJfYwODAGsIBOQ9LICRVlBJiCJiQBFgWIByGIBYFGgCQTEBir8qAixuA8A5/nK1kyB4VAAAAAASUVORK5CYII=',
'2160' => 'iVBORw0KGgoAAAANSUhEUgAAAEkAAAAhAgMAAADoum54AAAACVBMVEX///8AAADS0tIrj1xmAAAAcElEQVR4nGNYhQEaGAYTpIn7WAMYAhhC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goAAAANSUhEUgAAAEkAAAAhAgMAAADoum54AAAACVBMVEX///8AAADS0tIrj1xmAAAAb0lEQVR4nGNYhQEaGAYTpIn7WAMYQximMEwNQBITmcLayhDCECCCJBbQItLoGMLowIIs1iDS6DCF0QHZfZFRS5dmTVuZhey+kCmMgUjqIHpbGRoxxVjAYsh2gN0yBdUtIDczhjqguHmgwo+KEIv7APkGy0sLSVsmAAAAAElFTkSuQmCC',
'B561' => 'iVBORw0KGgoAAAANSUhEUgAAAEkAAAAhAgMAAADoum54AAAACVBMVEX///8AAADS0tIrj1xmAAAAaklEQVR4nGNYhQEaGAYTpIn7QgNEQxlCGVqRxQKmiDQwOjpMRRFrFWlgbXAIRVMXwtoA1wt2UmjU1KVLp65aiuy+gCkMja6ODqh2tALFQCSqHZhiU1hbGdH0hgYwhgDdHBowCMKPihCL+wAEBs3FJNZm/wAAAABJRU5ErkJggg==',
'EFEB' => 'iVBORw0KGgoAAAANSUhEUgAAAEkAAAAhAgMAAADoum54AAAACVBMVEX///8AAADS0tIrj1xmAAAATUlEQVR4nGNYhQEaGAYTpIn7QkNEQ11DHUMdkMQCGkQaWBsYHQKwiIngVgd2UmjU1LCloStDs5DcR6p5eOyAuhkohubmgQo/KkIs7gMAzNXL2UVo758AAAAASUVORK5CYII=',
'2BC3' => 'iVBORw0KGgoAAAANSUhEUgAAAEkAAAAhAgMAAADoum54AAAACVBMVEX///8AAADS0tIrj1xmAAAAaElEQVR4nGNYhQEaGAYTpIn7WANEQxhCHUIdkMREpoi0MjoEOgQgiQW0ijS6Ngg0iCDrbhVpZQXJIbtv2tSwpatWLc1Cdl8AijowZHQAmceAYh5rA6YdIg2YbgkNxXTzQIUfFSEW9wEAnUDMi4E+pBwAAAAASUVORK5CYII=',
'3209' => 'iVBORw0KGgoAAAANSUhEUgAAAEkAAAAhAgMAAADoum54AAAACVBMVEX///8AAADS0tIrj1xmAAAAdklEQVR4nGNYhQEaGAYTpIn7RAMYQximMEx1QBILmMLayhDKEBCArLJ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p5oglcAAAAASUVORK5CYII=',
'9F9F' => 'iVBORw0KGgoAAAANSUhEUgAAAEkAAAAhAgMAAADoum54AAAACVBMVEX///8AAADS0tIrj1xmAAAAZUlEQVR4nGNYhQEaGAYTpIn7WANEQx1CGUNDkMREpog0MDo6OiCrC2gVaWBtCMQnBnbStKlTw1ZmRoZmIbmP1VWkgSEEVS8DUC8DmnkCQDFGNDFsbmENAOoNZUQ1b4DCj4oQi/sAsh/JLHYl18IAAAAASUVORK5CYII=',
'DEDD' => 'iVBORw0KGgoAAAANSUhEUgAAAEkAAAAhAgMAAADoum54AAAACVBMVEX///8AAADS0tIrj1xmAAAAUUlEQVR4nGNYhQEaGAYTpIn7QgNEQ1lDGUMdkMQCpog0sDY6OgQgi7UCxRoCHURwi4GdFLV0atjSVZFZ05DcR4Re3GJY3ILNzQMVflSEWNwHAKFizVh9TwSKAAAAAElFTkSuQmCC',
'9F74' => 'iVBORw0KGgoAAAANSUhEUgAAAEkAAAAhAgMAAADoum54AAAACVBMVEX///8AAADS0tIrj1xmAAAAaklEQVR4nGNYhQEaGAYTpIn7WANEQ11DAxoCkMREpogAyYBGZLGAVrBYK4ZYo8OUACT3TZs6NWzV0lVRUUjuY3UFqpvC6ICslwGkN4AxNARJTAAoxujAgOEW1gZUMdYATLGBCj8qQizuAwBiZM2fhhaKUAAAAABJRU5ErkJggg==',
'9317' => 'iVBORw0KGgoAAAANSUhEUgAAAEkAAAAhAgMAAADoum54AAAACVBMVEX///8AAADS0tIrj1xmAAAAaklEQVR4nGNYhQEaGAYTpIn7WANYQximMIaGIImJTBFpZQgB0khiAa0MjY6YYq0MU4A0kvumTV0VtmraqpVZSO5jdQWra0WxGWiewxSQbgQUgIgFMKC7ZQqjA7qbGUMdUcQGKvyoCLG4DwDlGMrwZVHhOwAAAABJRU5ErkJggg==',
'1917' => 'iVBORw0KGgoAAAANSUhEUgAAAEkAAAAhAgMAAADoum54AAAACVBMVEX///8AAADS0tIrj1xmAAAAcElEQVR4nGNYh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AYTpIn7WANYQxhDGUIdkMREpoi0sjY6OgQgiQW0MjQ6NAQ0iKCKQUUR7ps2dVXYqqmrlmYhuY/VFUUdBGIxTwCLGDa3YHPzQIUfFSEW9wEA1/HNeY5OYhUAAAAASUVORK5CYII=',
'88B8' => 'iVBORw0KGgoAAAANSUhEUgAAAEkAAAAhAgMAAADoum54AAAACVBMVEX///8AAADS0tIrj1xmAAAAUUlEQVR4nGNYhQEaGAYTpIn7WAMYQ1hDGaY6IImJTGFtZW10CAhAEgtoFWl0bQh0EMGtDuykpVErw5aGrpqaheQ+Ys0jwg6cbh6o8KMixOI+ALskzXrMxfy/AAAAAElFTkSuQmCC',
'5F59' => 'iVBORw0KGgoAAAANSUhEUgAAAEkAAAAhAgMAAADoum54AAAACVBMVEX///8AAADS0tIrj1xmAAAAb0lEQVR4nGNYhQEaGAYTpIn7QkNEQ11DHaY6IIkFNIg0sDYwBARgiDE6iCCJBQYAxabCxcBOCps2NWxpZlZUGLL7WkEqAqYi64WKNSCLBbSC7AhAsUNkikgDo6MDiltYgfYyhDKguHmgwo+KEIv7ACDdzAmhHWYrAAAAAElFTkSuQmCC',
'9D43' => 'iVBORw0KGgoAAAANSUhEUgAAAEkAAAAhAgMAAADoum54AAAACVBMVEX///8AAADS0tIrj1xmAAAAbUlEQVR4nGNYhQEaGAYTpIn7WANEQxgaHUIdkMREpoi0MrQ6OgQgiQW0ijQ6THVoEEEXC3RoCEBy37Sp01ZmZmYtzUJyH6urSKNrI1wdBAL1uoYGoJgnADKvEdUOsFsaUd2Czc0DFX5UhFjcBwAgDc58de4yqgAAAABJRU5ErkJggg=='
);
$this->text = array_rand( $images );
return $images[ $this->text ] ;
}
function out_processing_gif(){
$image = dirname(__FILE__) . '/processing.gif';
$base64_image = "R0lGODlhFAAUALMIAPh2AP+TMsZiALlcAKNOAOp4ANVqAP+PFv///wAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQFCgAIACwAAAAAFAAUAAAEUxDJSau9iBDMtebTMEjehgTBJYqkiaLWOlZvGs8WDO6UIPCHw8TnAwWDEuKPcxQml0Ynj2cwYACAS7VqwWItWyuiUJB4s2AxmWxGg9bl6YQtl0cAACH5BAUKAAgALAEAAQASABIAAAROEMkpx6A4W5upENUmEQT2feFIltMJYivbvhnZ3Z1h4FMQIDodz+cL7nDEn5CH8DGZhcLtcMBEoxkqlXKVIgAAibbK9YLBYvLtHH5K0J0IACH5BAUKAAgALAEAAQASABIAAAROEMkphaA4W5upMdUmDQP2feFIltMJYivbvhnZ3V1R4BNBIDodz+cL7nDEn5CH8DGZAMAtEMBEoxkqlXKVIg4HibbK9YLBYvLtHH5K0J0IACH5BAUKAAgALAEAAQASABIAAAROEMkpjaE4W5tpKdUmCQL2feFIltMJYivbvhnZ3R0A4NMwIDodz+cL7nDEn5CH8DGZh8ONQMBEoxkqlXKVIgIBibbK9YLBYvLtHH5K0J0IACH5BAUKAAgALAEAAQASABIAAAROEMkpS6E4W5spANUmGQb2feFIltMJYivbvhnZ3d1x4JMgIDodz+cL7nDEn5CH8DGZgcBtMMBEoxkqlXKVIggEibbK9YLBYvLtHH5K0J0IACH5BAUKAAgALAEAAQASABIAAAROEMkpAaA4W5vpOdUmFQX2feFIltMJYivbvhnZ3V0Q4JNhIDodz+cL7nDEn5CH8DGZBMJNIMBEoxkqlXKVIgYDibbK9YLBYvLtHH5K0J0IACH5BAUKAAgALAEAAQASABIAAAROEMkpz6E4W5tpCNUmAQD2feFIltMJYivbvhnZ3R1B4FNRIDodz+cL7nDEn5CH8DGZg8HNYMBEoxkqlXKVIgQCibbK9YLBYvLtHH5K0J0IACH5BAkKAAgALAEAAQASABIAAAROEMkpQ6A4W5spIdUmHQf2feFIltMJYivbvhnZ3d0w4BMAIDodz+cL7nDEn5CH8DGZAsGtUMBEoxkqlXKVIgwGibbK9YLBYvLtHH5K0J0IADs=";
$binary = is_file($image) ? join("",file($image)) : base64_decode($base64_image);
header("Cache-Control: post-check=0, pre-check=0, max-age=0, no-store, no-cache, must-revalidate");
header("Pragma: no-cache");
header("Content-type: image/gif");
echo $binary;
}
}
# end of class phpfmgImage
# ------------------------------------------------------
# end of module : captcha
# module user
# ------------------------------------------------------
function phpfmg_user_isLogin(){
return ( isset($_SESSION['authenticated']) && true === $_SESSION['authenticated'] );
}
function phpfmg_user_logout(){
session_destroy();
header("Location: admin.php");
}
function phpfmg_user_login()
{
if( phpfmg_user_isLogin() ){
return true ;
};
$sErr = "" ;
if( 'Y' == $_POST['formmail_submit'] ){
if(
defined( 'PHPFMG_USER' ) && strtolower(PHPFMG_USER) == strtolower($_POST['Username']) &&
defined( 'PHPFMG_PW' ) && strtolower(PHPFMG_PW) == strtolower($_POST['Password'])
){
$_SESSION['authenticated'] = true ;
return true ;
}else{
$sErr = 'Login failed. Please try again.';
}
};
// show login form
phpfmg_admin_header();
?>
<form name="frmFormMail" action="" method='post' enctype='multipart/form-data'>
<input type='hidden' name='formmail_submit' value='Y'>
<br><br><br>
<center>
<div style="width:380px;height:260px;">
<fieldset style="padding:18px;" >
<table cellspacing='3' cellpadding='3' border='0' >
<tr>
<td class="form_field" valign='top' align='right'>Email :</td>
<td class="form_text">
<input type="text" name="Username" value="<?php echo $_POST['Username']; ?>" class='text_box' >
</td>
</tr>
<tr>
<td class="form_field" valign='top' align='right'>Password :</td>
<td class="form_text">
<input type="password" name="Password" value="" class='text_box'>
</td>
</tr>
<tr><td colspan=3 align='center'>
<input type='submit' value='Login'><br><br>
<?php if( $sErr ) echo "<span style='color:red;font-weight:bold;'>{$sErr}</span><br><br>\n"; ?>
<a href="admin.php?mod=mail&func=request_password">I forgot my password</a>
</td></tr>
</table>
</fieldset>
</div>
<script type="text/javascript">
document.frmFormMail.Username.focus();
</script>
</form>
<?php
phpfmg_admin_footer();
}
function phpfmg_mail_request_password(){
$sErr = '';
if( $_POST['formmail_submit'] == 'Y' ){
if( strtoupper(trim($_POST['Username'])) == strtoupper(trim(PHPFMG_USER)) ){
phpfmg_mail_password();
exit;
}else{
$sErr = "Failed to verify your email.";
};
};
$n1 = strpos(PHPFMG_USER,'@');
$n2 = strrpos(PHPFMG_USER,'.');
$email = substr(PHPFMG_USER,0,1) . str_repeat('*',$n1-1) .
'@' . substr(PHPFMG_USER,$n1+1,1) . str_repeat('*',$n2-$n1-2) .
'.' . substr(PHPFMG_USER,$n2+1,1) . str_repeat('*',strlen(PHPFMG_USER)-$n2-2) ;
phpfmg_admin_header("Request Password of Email Form Admin Panel");
?>
<form name="frmRequestPassword" action="admin.php?mod=mail&func=request_password" method='post' enctype='multipart/form-data'>
<input type='hidden' name='formmail_submit' value='Y'>
<br><br><br>
<center>
<div style="width:580px;height:260px;text-align:left;">
<fieldset style="padding:18px;" >
<legend>Request Password</legend>
Enter Email Address <b><?php echo strtoupper($email) ;?></b>:<br />
<input type="text" name="Username" value="<?php echo $_POST['Username']; ?>" style="width:380px;">
<input type='submit' value='Verify'><br>
The password will be sent to this email address.
<?php if( $sErr ) echo "<br /><br /><span style='color:red;font-weight:bold;'>{$sErr}</span><br><br>\n"; ?>
</fieldset>
</div>
<script type="text/javascript">
document.frmRequestPassword.Username.focus();
</script>
</form>
<?php
phpfmg_admin_footer();
}
function phpfmg_mail_password(){
phpfmg_admin_header();
if( defined( 'PHPFMG_USER' ) && defined( 'PHPFMG_PW' ) ){
$body = "Here is the password for your form admin panel:\n\nUsername: " . PHPFMG_USER . "\nPassword: " . PHPFMG_PW . "\n\n" ;
if( 'html' == PHPFMG_MAIL_TYPE )
$body = nl2br($body);
mailAttachments( PHPFMG_USER, "Password for Your Form Admin Panel", $body, PHPFMG_USER, 'You', "You <" . PHPFMG_USER . ">" );
echo "<center>Your password has been sent.<br><br><a href='admin.php'>Click here to login again</a></center>";
};
phpfmg_admin_footer();
}
function phpfmg_writable_check(){
if( is_writable( dirname(PHPFMG_SAVE_FILE) ) && is_writable( dirname(PHPFMG_EMAILS_LOGFILE) ) ){
return ;
};
?>
<style type="text/css">
.fmg_warning{
background-color: #F4F6E5;
border: 1px dashed #ff0000;
padding: 16px;
color : black;
margin: 10px;
line-height: 180%;
width:80%;
}
.fmg_warning_title{
font-weight: bold;
}
</style>
<br><br>
<div class="fmg_warning">
<div class="fmg_warning_title">Your form data or email traffic log is NOT saving.</div>
The form data (<?php echo PHPFMG_SAVE_FILE ?>) and email traffic log (<?php echo PHPFMG_EMAILS_LOGFILE?>) will be created automatically when the form is submitted.
However, the script doesn't have writable permission to create those files. In order to save your valuable information, please set the directory to writable.
If you don't know how to do it, please ask for help from your web Administrator or Technical Support of your hosting company.
</div>
<br><br>
<?php
}
function phpfmg_log_view(){
$n = isset($_REQUEST['file']) ? $_REQUEST['file'] : '';
$files = array(
1 => PHPFMG_EMAILS_LOGFILE,
2 => PHPFMG_SAVE_FILE,
);
phpfmg_admin_header();
$file = $files[$n];
if( is_file($file) ){
if( 1== $n ){
echo "<pre>\n";
echo join("",file($file) );
echo "</pre>\n";
}else{
$man = new phpfmgDataManager();
$man->displayRecords();
};
}else{
echo "<b>No form data found.</b>";
};
phpfmg_admin_footer();
}
function phpfmg_log_download(){
$n = isset($_REQUEST['file']) ? $_REQUEST['file'] : '';
$files = array(
1 => PHPFMG_EMAILS_LOGFILE,
2 => PHPFMG_SAVE_FILE,
);
$file = $files[$n];
if( is_file($file) ){
phpfmg_util_download( $file, PHPFMG_SAVE_FILE == $file ? 'form-data.csv' : 'email-traffics.txt', true, 1 ); // skip the first line
}else{
phpfmg_admin_header();
echo "<b>No email traffic log found.</b>";
phpfmg_admin_footer();
};
}
function phpfmg_log_delete(){
$n = isset($_REQUEST['file']) ? $_REQUEST['file'] : '';
$files = array(
1 => PHPFMG_EMAILS_LOGFILE,
2 => PHPFMG_SAVE_FILE,
);
phpfmg_admin_header();
$file = $files[$n];
if( is_file($file) ){
echo unlink($file) ? "It has been deleted!" : "Failed to delete!" ;
};
phpfmg_admin_footer();
}
function phpfmg_util_download($file, $filename='', $toCSV = false, $skipN = 0 ){
if (!is_file($file)) return false ;
set_time_limit(0);
$buffer = "";
$i = 0 ;
$fp = @fopen($file, 'rb');
while( !feof($fp)) {
$i ++ ;
$line = fgets($fp);
if($i > $skipN){ // skip lines
if( $toCSV ){
$line = str_replace( chr(0x09), ',', $line );
$buffer .= phpfmg_data2record( $line, false );
}else{
$buffer .= $line;
};
};
};
fclose ($fp);
/*
If the Content-Length is NOT THE SAME SIZE as the real conent output, Windows+IIS might be hung!!
*/
$len = strlen($buffer);
$filename = basename( '' == $filename ? $file : $filename );
$file_extension = strtolower(substr(strrchr($filename,"."),1));
switch( $file_extension ) {
case "pdf": $ctype="application/pdf"; break;
case "exe": $ctype="application/octet-stream"; break;
case "zip": $ctype="application/zip"; break;
case "doc": $ctype="application/msword"; break;
case "xls": $ctype="application/vnd.ms-excel"; break;
case "ppt": $ctype="application/vnd.ms-powerpoint"; break;
case "gif": $ctype="image/gif"; break;
case "png": $ctype="image/png"; break;
case "jpeg":
case "jpg": $ctype="image/jpg"; break;
case "mp3": $ctype="audio/mpeg"; break;
case "wav": $ctype="audio/x-wav"; break;
case "mpeg":
case "mpg":
case "mpe": $ctype="video/mpeg"; break;
case "mov": $ctype="video/quicktime"; break;
case "avi": $ctype="video/x-msvideo"; break;
//The following are for extensions that shouldn't be downloaded (sensitive stuff, like php files)
case "php":
case "htm":
case "html":
$ctype="text/plain"; break;
default:
$ctype="application/x-download";
}
//Begin writing headers
header("Pragma: public");
header("Expires: 0");
header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
header("Cache-Control: public");
header("Content-Description: File Transfer");
//Use the switch-generated Content-Type
header("Content-Type: $ctype");
//Force the download
header("Content-Disposition: attachment; filename=".$filename.";" );
header("Content-Transfer-Encoding: binary");
header("Content-Length: ".$len);
while (@ob_end_clean()); // no output buffering !
flush();
echo $buffer ;
return true;
}
?>

File diff suppressed because it is too large Load Diff

View File

@ -1,94 +0,0 @@
<?php
if( !defined('FormmailMakerFormLoader') ){
require_once( dirname(__FILE__).'/abuse.lib.php' );
phpfmg_display_form();
};
function phpfmg_form( $sErr = false ){
$style=" class='form_text' ";
?>
<div id='frmFormMailContainer'>
<form style="text-align: center;" name="frmFormMail" id="frmFormMail" target="submitToFrame" action='<?php echo PHPFMG_ADMIN_URL . '' ; ?>' method='post' enctype='multipart/form-data' onsubmit='return fmgHandler.onSubmit(this);'>
<input type='hidden' name='formmail_submit' value='Y'>
<input type='hidden' name='mod' value='ajax'>
<input type='hidden' name='func' value='submit'>
<ol class='phpfmg_form' >
<li class='field_block' id='field_0_div'><div class='col_label'>
<label class='form_field'>Contact Name:</label></div>
<div class='col_field'>
<input type="text" name="field_0" id="field_0" value="<?php phpfmg_hsc("field_0", ""); ?>" class='text_box'>
<div id='field_0_tip' class='instruction'></div>
</div>
</li>
<li class='field_block' id='field_1_div'><div class='col_label'>
<label class='form_field'>Email Address:</label></div>
<div class='col_field'>
<input type="text" name="field_1" id="field_1" value="<?php phpfmg_hsc("field_1", ""); ?>" class='text_box'>
<div id='field_1_tip' class='instruction'></div>
</div>
</li>
<li class='field_block' id='field_2_div'><div class='col_label'>
<label class='form_field'>Subject:</label></div>
<div class='col_field'>
<input type="text" name="field_2" id="field_2" value="<?php phpfmg_hsc("field_2", ""); ?>" class='text_box'>
<div id='field_2_tip' class='instruction'></div>
</div>
</li>
<li class='field_block' id='field_3_div'><div class='col_label'>
<label class='form_field'>Message:</label></div>
<div class='col_field'>
<textarea name="field_3" id="field_3" rows=4 cols=25 class='text_area'><?php phpfmg_hsc("field_3"); ?></textarea>
<div id='field_3_tip' class='instruction'></div>
</div>
</li>
<li class='field_block' id='phpfmg_captcha_div'>
<div class='col_label'><label class='form_field'>Security Code:</label></div><div class='col_field'>
<?php phpfmg_show_captcha(); ?>
</div>
</li>
<li>
<div class='form_submit_block col_field'>
<input type='submit' value='Send' class='form_button'>
<div id='err_required' class="form_error" style='display:none;'>
<label class='form_error_title'>Please fill in every field.</label>
</div>
<span id='phpfmg_processing' style='display:none;'>
<img id='phpfmg_processing_gif' src='<?php echo PHPFMG_ADMIN_URL . '?mod=image&amp;func=processing' ;?>' border=0 alt='Processing...'> <label id='phpfmg_processing_dots'></label>
</span>
</div>
</li>
</ol>
</form>
<iframe name="submitToFrame" id="submitToFrame" src="javascript:false" style="position:absolute;top:-10000px;left:-10000px;"></iframe>
</div>
<!-- end of form container -->
<!-- [Your confirmation message goes here] -->
<div id='thank_you_msg' style='display:none;'>
Your report has been sent. Thank you!
</div>
<?php
phpfmg_javascript($sErr);
}
# end of form
function phpfmg_form_css(){
$formOnly = isset($GLOBALS['formOnly']) && true === $GLOBALS['formOnly'];
?>
<style>
ol.phpfmg_form{
list-style-type:none;
padding:0px;
margin:0px;
}
.text_box, .text_area, .text_select {
min-width:500px;
max-width:500px;
}
.form_error_title{
font-weight: bold;
color: #FF0000;
}
<?php phpfmg_text_align();?>
</style>
<?php
}
# end of css
?>

File diff suppressed because it is too large Load Diff

19
articles/contact.md Normal file
View File

@ -0,0 +1,19 @@
If you have any questions or problems relating to our service, or this website, please fill in the form below. Be sure to include a contact name, email address, subject line and your message below. Once you've filled in the form, click on the send button; the message will be sent and you'll receive a response within a reasonable amount of time.
<form action='/includes/contact.php'>
<table>
<tr><td>Contact Name:</td> <td> <input type='text' name='contact_name'></td></tr>
<tr><td>Email Address:</td> <td> <input type='text' name='email_address'></td></tr>
<tr><td>Subject:</td> <td>
<select name="type">
<option value="abuse">Abuse</option>
<option value="support">Support</option>
<option value="copyright">Copyright Problem</option></td></tr>
</select><br> </td></tr>
<tr><td>Type the word tildeverse here:</td> <td> <input type='textarea' name='tv'></td></tr>
<tr><td>Message:</td><td><textarea name='message' rows = "10" cols = "80"></textarea><td>
</table>
<input type='submit'>
</form>

176
articles/copyright.md Normal file
View File

@ -0,0 +1,176 @@
## creative commons
# Contributors
A list of all contributors can be found here: [Commit log for Git Repo](https://tildegit.org/thunix/www/commits/branch/master)
# Attribution-ShareAlike 4.0 International
Creative Commons Corporation (“Creative Commons”) is not a law firm and does not provide legal services or legal advice. Distribution of Creative Commons public licenses does not create a lawyer-client or other relationship. Creative Commons makes its licenses and related information available on an “as-is” basis. Creative Commons gives no warranties regarding its licenses, any material licensed under their terms and conditions, or any related information. Creative Commons disclaims all liability for damages resulting from their use to the fullest extent possible.
### Using Creative Commons Public Licenses
Creative Commons public licenses provide a standard set of terms and conditions that creators and other rights holders may use to share original works of authorship and other material subject to copyright and certain other rights specified in the public license below. The following considerations are for informational purposes only, are not exhaustive, and do not form part of our licenses.
* __Considerations for licensors:__ Our public licenses are intended for use by those authorized to give the public permission to use material in ways otherwise restricted by copyright and certain other rights. Our licenses are irrevocable. Licensors should read and understand the terms and conditions of the license they choose before applying it. Licensors should also secure all rights necessary before applying our licenses so that the public can reuse the material as expected. Licensors should clearly mark any material not subject to the license. This includes other CC-licensed material, or material used under an exception or limitation to copyright. [More considerations for licensors](http://wiki.creativecommons.org/Considerations_for_licensors_and_licensees#Considerations_for_licensors).
* __Considerations for the public:__ By using one of our public licenses, a licensor grants the public permission to use the licensed material under specified terms and conditions. If the licensors permission is not necessary for any reasonfor example, because of any applicable exception or limitation to copyrightthen that use is not regulated by the license. Our licenses grant only permissions under copyright and certain other rights that a licensor has authority to grant. Use of the licensed material may still be restricted for other reasons, including because others have copyright or other rights in the material. A licensor may make special requests, such as asking that all changes be marked or described. Although not required by our licenses, you are encouraged to respect those requests where reasonable. [More considerations for the public](http://wiki.creativecommons.org/Considerations_for_licensors_and_licensees#Considerations_for_licensees).
## Creative Commons Attribution-ShareAlike 4.0 International Public License
By exercising the Licensed Rights (defined below), You accept and agree to be bound by the terms and conditions of this Creative Commons Attribution-ShareAlike 4.0 International Public License ("Public License"). To the extent this Public License may be interpreted as a contract, You are granted the Licensed Rights in consideration of Your acceptance of these terms and conditions, and the Licensor grants You such rights in consideration of benefits the Licensor receives from making the Licensed Material available under these terms and conditions.
### Section 1 Definitions.
a. __Adapted Material__ means material subject to Copyright and Similar Rights that is derived from or based upon the Licensed Material and in which the Licensed Material is translated, altered, arranged, transformed, or otherwise modified in a manner requiring permission under the Copyright and Similar Rights held by the Licensor. For purposes of this Public License, where the Licensed Material is a musical work, performance, or sound recording, Adapted Material is always produced where the Licensed Material is synched in timed relation with a moving image.
b. __Adapter's License__ means the license You apply to Your Copyright and Similar Rights in Your contributions to Adapted Material in accordance with the terms and conditions of this Public License.
c. __BY-SA Compatible License__ means a license listed at [creativecommons.org/compatiblelicenses](http://creativecommons.org/compatiblelicenses), approved by Creative Commons as essentially the equivalent of this Public License.
d. __Copyright and Similar Rights__ means copyright and/or similar rights closely related to copyright including, without limitation, performance, broadcast, sound recording, and Sui Generis Database Rights, without regard to how the rights are labeled or categorized. For purposes of this Public License, the rights specified in Section 2(b)(1)-(2) are not Copyright and Similar Rights.
e. __Effective Technological Measures__ means those measures that, in the absence of proper authority, may not be circumvented under laws fulfilling obligations under Article 11 of the WIPO Copyright Treaty adopted on December 20, 1996, and/or similar international agreements.
f. __Exceptions and Limitations__ means fair use, fair dealing, and/or any other exception or limitation to Copyright and Similar Rights that applies to Your use of the Licensed Material.
g. __License Elements__ means the license attributes listed in the name of a Creative Commons Public License. The License Elements of this Public License are Attribution and ShareAlike.
h. __Licensed Material__ means the artistic or literary work, database, or other material to which the Licensor applied this Public License.
i. __Licensed Rights__ means the rights granted to You subject to the terms and conditions of this Public License, which are limited to all Copyright and Similar Rights that apply to Your use of the Licensed Material and that the Licensor has authority to license.
j. __Licensor__ means the individual(s) or entity(ies) granting rights under this Public License.
k. __Share__ means to provide material to the public by any means or process that requires permission under the Licensed Rights, such as reproduction, public display, public performance, distribution, dissemination, communication, or importation, and to make material available to the public including in ways that members of the public may access the material from a place and at a time individually chosen by them.
l. __Sui Generis Database Rights__ means rights other than copyright resulting from Directive 96/9/EC of the European Parliament and of the Council of 11 March 1996 on the legal protection of databases, as amended and/or succeeded, as well as other essentially equivalent rights anywhere in the world.
m. __You__ means the individual or entity exercising the Licensed Rights under this Public License. Your has a corresponding meaning.
### Section 2 Scope.
a. ___License grant.___
1. Subject to the terms and conditions of this Public License, the Licensor hereby grants You a worldwide, royalty-free, non-sublicensable, non-exclusive, irrevocable license to exercise the Licensed Rights in the Licensed Material to:
A. reproduce and Share the Licensed Material, in whole or in part; and
B. produce, reproduce, and Share Adapted Material.
2. __Exceptions and Limitations.__ For the avoidance of doubt, where Exceptions and Limitations apply to Your use, this Public License does not apply, and You do not need to comply with its terms and conditions.
3. __Term.__ The term of this Public License is specified in Section 6(a).
4. __Media and formats; technical modifications allowed.__ The Licensor authorizes You to exercise the Licensed Rights in all media and formats whether now known or hereafter created, and to make technical modifications necessary to do so. The Licensor waives and/or agrees not to assert any right or authority to forbid You from making technical modifications necessary to exercise the Licensed Rights, including technical modifications necessary to circumvent Effective Technological Measures. For purposes of this Public License, simply making modifications authorized by this Section 2(a)(4) never produces Adapted Material.
5. __Downstream recipients.__
A. __Offer from the Licensor Licensed Material.__ Every recipient of the Licensed Material automatically receives an offer from the Licensor to exercise the Licensed Rights under the terms and conditions of this Public License.
B. __Additional offer from the Licensor Adapted Material.__ Every recipient of Adapted Material from You automatically receives an offer from the Licensor to exercise the Licensed Rights in the Adapted Material under the conditions of the Adapters License You apply.
C. __No downstream restrictions.__ You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, the Licensed Material if doing so restricts exercise of the Licensed Rights by any recipient of the Licensed Material.
6. __No endorsement.__ Nothing in this Public License constitutes or may be construed as permission to assert or imply that You are, or that Your use of the Licensed Material is, connected with, or sponsored, endorsed, or granted official status by, the Licensor or others designated to receive attribution as provided in Section 3(a)(1)(A)(i).
b. ___Other rights.___
1. Moral rights, such as the right of integrity, are not licensed under this Public License, nor are publicity, privacy, and/or other similar personality rights; however, to the extent possible, the Licensor waives and/or agrees not to assert any such rights held by the Licensor to the limited extent necessary to allow You to exercise the Licensed Rights, but not otherwise.
2. Patent and trademark rights are not licensed under this Public License.
3. To the extent possible, the Licensor waives any right to collect royalties from You for the exercise of the Licensed Rights, whether directly or through a collecting society under any voluntary or waivable statutory or compulsory licensing scheme. In all other cases the Licensor expressly reserves any right to collect such royalties.
### Section 3 License Conditions.
Your exercise of the Licensed Rights is expressly made subject to the following conditions.
a. ___Attribution.___
1. If You Share the Licensed Material (including in modified form), You must:
A. retain the following if it is supplied by the Licensor with the Licensed Material:
i. identification of the creator(s) of the Licensed Material and any others designated to receive attribution, in any reasonable manner requested by the Licensor (including by pseudonym if designated);
ii. a copyright notice;
iii. a notice that refers to this Public License;
iv. a notice that refers to the disclaimer of warranties;
v. a URI or hyperlink to the Licensed Material to the extent reasonably practicable;
B. indicate if You modified the Licensed Material and retain an indication of any previous modifications; and
C. indicate the Licensed Material is licensed under this Public License, and include the text of, or the URI or hyperlink to, this Public License.
2. You may satisfy the conditions in Section 3(a)(1) in any reasonable manner based on the medium, means, and context in which You Share the Licensed Material. For example, it may be reasonable to satisfy the conditions by providing a URI or hyperlink to a resource that includes the required information.
3. If requested by the Licensor, You must remove any of the information required by Section 3(a)(1)(A) to the extent reasonably practicable.
b. ___ShareAlike.___
In addition to the conditions in Section 3(a), if You Share Adapted Material You produce, the following conditions also apply.
1. The Adapters License You apply must be a Creative Commons license with the same License Elements, this version or later, or a BY-SA Compatible License.
2. You must include the text of, or the URI or hyperlink to, the Adapter's License You apply. You may satisfy this condition in any reasonable manner based on the medium, means, and context in which You Share Adapted Material.
3. You may not offer or impose any additional or different terms or conditions on, or apply any Effective Technological Measures to, Adapted Material that restrict exercise of the rights granted under the Adapter's License You apply.
### Section 4 Sui Generis Database Rights.
Where the Licensed Rights include Sui Generis Database Rights that apply to Your use of the Licensed Material:
a. for the avoidance of doubt, Section 2(a)(1) grants You the right to extract, reuse, reproduce, and Share all or a substantial portion of the contents of the database;
b. if You include all or a substantial portion of the database contents in a database in which You have Sui Generis Database Rights, then the database in which You have Sui Generis Database Rights (but not its individual contents) is Adapted Material, including for purposes of Section 3(b); and
c. You must comply with the conditions in Section 3(a) if You Share all or a substantial portion of the contents of the database.
For the avoidance of doubt, this Section 4 supplements and does not replace Your obligations under this Public License where the Licensed Rights include other Copyright and Similar Rights.
### Section 5 Disclaimer of Warranties and Limitation of Liability.
a. __Unless otherwise separately undertaken by the Licensor, to the extent possible, the Licensor offers the Licensed Material as-is and as-available, and makes no representations or warranties of any kind concerning the Licensed Material, whether express, implied, statutory, or other. This includes, without limitation, warranties of title, merchantability, fitness for a particular purpose, non-infringement, absence of latent or other defects, accuracy, or the presence or absence of errors, whether or not known or discoverable. Where disclaimers of warranties are not allowed in full or in part, this disclaimer may not apply to You.__
b. __To the extent possible, in no event will the Licensor be liable to You on any legal theory (including, without limitation, negligence) or otherwise for any direct, special, indirect, incidental, consequential, punitive, exemplary, or other losses, costs, expenses, or damages arising out of this Public License or use of the Licensed Material, even if the Licensor has been advised of the possibility of such losses, costs, expenses, or damages. Where a limitation of liability is not allowed in full or in part, this limitation may not apply to You.__
c. The disclaimer of warranties and limitation of liability provided above shall be interpreted in a manner that, to the extent possible, most closely approximates an absolute disclaimer and waiver of all liability.
### Section 6 Term and Termination.
a. This Public License applies for the term of the Copyright and Similar Rights licensed here. However, if You fail to comply with this Public License, then Your rights under this Public License terminate automatically.
b. Where Your right to use the Licensed Material has terminated under Section 6(a), it reinstates:
1. automatically as of the date the violation is cured, provided it is cured within 30 days of Your discovery of the violation; or
2. upon express reinstatement by the Licensor.
For the avoidance of doubt, this Section 6(b) does not affect any right the Licensor may have to seek remedies for Your violations of this Public License.
c. For the avoidance of doubt, the Licensor may also offer the Licensed Material under separate terms or conditions or stop distributing the Licensed Material at any time; however, doing so will not terminate this Public License.
d. Sections 1, 5, 6, 7, and 8 survive termination of this Public License.
### Section 7 Other Terms and Conditions.
a. The Licensor shall not be bound by any additional or different terms or conditions communicated by You unless expressly agreed.
b. Any arrangements, understandings, or agreements regarding the Licensed Material not stated herein are separate from and independent of the terms and conditions of this Public License.
### Section 8 Interpretation.
a. For the avoidance of doubt, this Public License does not, and shall not be interpreted to, reduce, limit, restrict, or impose conditions on any use of the Licensed Material that could lawfully be made without permission under this Public License.
b. To the extent possible, if any provision of this Public License is deemed unenforceable, it shall be automatically reformed to the minimum extent necessary to make it enforceable. If the provision cannot be reformed, it shall be severed from this Public License without affecting the enforceability of the remaining terms and conditions.
c. No term or condition of this Public License will be waived and no failure to comply consented to unless expressly agreed to by the Licensor.
d. Nothing in this Public License constitutes or may be interpreted as a limitation upon, or waiver of, any privileges and immunities that apply to the Licensor or You, including from the legal processes of any jurisdiction or authority.
> Creative Commons is not a party to its public licenses. Notwithstanding, Creative Commons may elect to apply one of its public licenses to material it publishes and in those instances will be considered the “Licensor.” The text of the Creative Commons public licenses is dedicated to the public domain under the [CC0 Public Domain Dedication](https://creativecommons.org/publicdomain/zero/1.0/legalcode). Except for the limited purpose of indicating that material is shared under a Creative Commons public license or as otherwise permitted by the Creative Commons policies published at [creativecommons.org/policies](http://creativecommons.org/policies), Creative Commons does not authorize the use of the trademark “Creative Commons” or any other trademark or logo of Creative Commons without its prior written consent including, without limitation, in connection with any unauthorized modifications to any of its public licenses or any other arrangements, understandings, or agreements concerning use of licensed material. For the avoidance of doubt, this paragraph does not form part of the public licenses.
>
> Creative Commons may be contacted at creativecommons.org.

12
articles/donate.md Normal file
View File

@ -0,0 +1,12 @@
# Donations
As this server and our projects are all a labor of love and goodwill for the community, operating the thunix server costs money. We love what we do and we love sharing what we do for free, but over time, operating expenses can have a big impact.
That being said, we also rely on the good nature of generous people, who are willing to donate to us. The price breakdown right now is €80/month. So to help with server costs and time spent, you can donate the following ways:
<div style="text-align:center;">
<p>You can donate via Liberapay here: <a href="https://liberapay.com/deepend/donate"><img src="https://liberapay.com/assets/widgets/donate.svg"></a></p>
</p>
</div>

43
articles/faq.md Normal file
View File

@ -0,0 +1,43 @@
# Frequently Asked Questions
**How do I sign up for an account?**
- Simply by going to our [signup page](/signup) and filling in the form. You can ask for help in \#thunix on tilde.chat, or you can [contact us](contact), if you run into any difficulties.
**How can I request an account recovery or public key replacement?**
- Just send the request from the email you used to register and we'll poke a new key in for you.
**Who is running thunix?**
- The current system administrators are [deepend](/~deepend), [Naglfar](/~naglfar), [ubergeek](/~ubergeek) still helps out from time to time but not sure if he wants the admin role going forward. If this changes it will be updated ASAP.
**What happened to the old thunix? Why the name change?**
- The original machine and founder dissappeared without any warning to anyone, including server staff. For this reason, most things were not backed up, and we needed to obtain a new domain name, and a new set of machines.
**I want a new package installed, or I want something changed on Thunix!**
- Excellent! We're looking to make this system useful for the community! You can submit a PR or an issue [here](https://tildegit.org/thunix/ansible) to request the system change.
**Can I get password-based login? Old thunix had it!**
- No. Sorry. Not for shell access. For other integrated services, password auth will be enabled, but not for your ssh connection. We use key based authentication, as it's more secure, and more convienent for you, to be honest.
**I want to run {fill in the blank} server, but I can't seem to access it?**
- The only exposed ports to the internet are services as defined in our [ansible playbook.](https://tildegit.org/thunix/ansible) If there is a public service you want to see, open an issue, or do a pull request for it, and we'll probably enable it without much question.
**That's too hard! Can you just open the port up for this service I have running?**
- No. Due to security issues, we cannot. HOWEVER! You can certainly use an [SSH tunnel](https://duckduckgo.com/?q=ssh+tunnnel) to access it.
**Old thunix did {fill in the blank}, and now it doesn't. Make it work like it used to!**
- There was a huge changeover. Maybe we can get something going old thunix had, and maybe not. You can mention it in the IRC channel, and we'll see what we can do.
**How can I access my thunix email?**
- You can use the following for your mail settings (This is Thunderbird's setting screen, but the settings are the same):
[![](/media/mail.png)](/media/mail.png)

27
articles/gdpr.md Normal file
View File

@ -0,0 +1,27 @@
# GDPR Statement and Privacy Policy
Thunix takes privacy seriously, and as such remains committed to being in compliance with the GDPR, which took affect on May 25th, 2018.
## What data do we collect from you?
Thunix collects your email address, during signup, and IPs you log into the system from, in accordance with technical requirements.
We also store whatever data you create or maintain in your home directory on Thunix, which may include emails to and from your Thunix account.
## How long do we retain data about you?
Your email address is retained only long enough to process you account creation request. IPs you log into from are retained for a maximum of 30 days.
## How can I request a copy of my data?
You can submit a request at [contact page](/contact). We will endeavor to provide you a copy of all data we store within 14 days.
## How can I request removal of my information?
You can submit a request at [contact page](/contact), and we will endeavor to remove all personal data of yours from our system within 14 days. However, this will include removal of your user account from our system as well, which will prevent access to most of the services provided by Thunix.
If you request deletion of your account, all of your data will be purged within 14 days from our system.
## How do you protect my data?
All data on thunix is encrypted at rest. Logs are maintained only for as long as is technically required (30 days, for troubleshooting of issues). Personally created data, is protected by the UNIX permissions model, as dictated by yourself, however, by default, your personally created data is viewable by all other users of the system, per design.

32
articles/main.md Normal file
View File

@ -0,0 +1,32 @@
# Welcome to thunix!
We're so glad you could drop by and we hope you enjoy your visit. Stay a while! Feel free to inquire about what we have to offer and explore our services.
## About thunix
The Thunix project provide Secure Shell (SSH) accounts, Web Hosting, Email Accounts, and many other UNIX-like services. But, most of all, we are a community of users. It was founded by hexhaxtron in the Summer of 2017, and was continued by [ubergeek](/~ubergeek) since 2018 however in 2023 [deepend](/~deepend) has since taken the role. We aim to provide the best service possible with a wide variety of features, and we hope you have fun with it!
Join us on IRC on irc.newnet.net/6697 in the #thunix channel, or just click here for a web client: [![#thunix channel](https://stats.newnet.net/badges/badge.php?channel=%23thunix)](https://tilde.chat/kiwi/#thunix)
If you want to sign up for an account, simply open our [signup form](/signup) and provide us with:
* Your contact name
* Your email address (so that we can contact you with login details)
* Your desired username (all lowercase, alphanumeric characters only, no spaces)
* How you heard about us and what interests you in thunix
* Your Public SSH Key
thunix tries to adhere to the values and philosophy of the Hacker Ethic whenever possible. The hacker ethics and beliefs as described by Levy are:
* Access to computers - and anything which might teach you something about the way the world works - should be unlimited and total. Always yield to the Hands-On Imperative!
* All information should be free
* Mistrust authority - promote decentralization
* Hackers should be judged by their hacking, not criteria such as degrees, age, race, sex, or position
* You can create art and beauty on a computer
* Computers can change your life for the better
thunix will never use proprietary software but users can do that if they wish. This is something they should avoid however.
If you want to help keep thunix running, please consider [donating](/donate).

7
articles/news.md Normal file
View File

@ -0,0 +1,7 @@
# State of the Thunix - July 2023
We are on the mend. deepend from tilde.club has taken on running Thunix and has started to build it up on his
own infrastructure. Sign ups that come in will be kept in queue until the system is ready
for more users.
More to come very soon.

45
articles/server.md Normal file
View File

@ -0,0 +1,45 @@
# Service Status and Information
## Minetest
Connect to thunix.net:30000 in your minetest client
## Minecraft
Connect to thunix.net in your minecraft client. Running the Paperclip minecraft server.
## Mail Services
Thunix offers webmail at [https://thunix.net/webmail](/webmail). You can also connect via imap. Thunderbird will autodetect your settings, and we recommend the use of Thunderbird email client, so you can get the best-of-breed email experience. We also recommend using enigmail with Thunderbird as well. You can get it from your distro's package manager, or from [the Thunderbird project's site](https://www.thunderbird.net/)
## SSH Fingerprints
256 SHA256:iuqEWXCqUNihqO7o4xLrJ05M+te09i3P+WrHZsjUdZY thunix.net (ECDSA)
3072 SHA256:7gZXCqNUYBfrTQ8wYmLrD6rVc5zL5nYf2l5t8ZrLIBU thunix.net (RSA)
256 SHA256:d+J8u5pmQ8sR1BM8/EpUiNAlL9by371utl1ncNgFG6A thunix.net (ED25519)
## Onion Service
Thunix's websites are available as a onion site as well. (SSH access is currently not available over Tor)
Our Tor network (The Onion Router) address is kbguajmip4jlr2k3vpscmvymtxqnft267ox2ij6pdrgb5jcvx3kctkyd.onion.
## BZFlag Game Server
BZFlag runs on the standard port. If you have a specific map you want loaded, send an email to [root](mailto:root@thunix.net), and we'll look at getting the map swapped out
## IRC Chat
Thunix is part of the Newnet IRC network. You can access chat via the terminal, with the 'chat' command, via your favorite email client at irc.newnet.net/6697, or via a web chat interface located [![#thunix channel](https://stats.newnet.net/badges/badge.php?channel=%23thunix)](https://web.newnet.net/?join=thunix).
## FOSS Project Mirrors
Thunix hosts mirrors for several FOSS projects. You can see the full mirror list in the sidebar link.
## Website and CMS hosting
Collaborative creation, modification and management of digital content.
- LAMP (Apache HTTP server, MySQL database and PHP scripting language) is an open source software stack on Linux environment, available to host a variety of web sites, content management systems and applications.
- Django web development framework.
<!-- Begin autogen content from /includes/server.php -->

19
articles/signup.md Normal file
View File

@ -0,0 +1,19 @@
To sign up for an account with thunix, please fill in the form below. Be sure to include a contact name, email address, a desired username, a little blurb about your interest in us and a public SSH key. Once you've filled in the form, click on the send button; the signup form will be processed and you'll receive an email, with instructions on how to log into your new account.
If you have any questions or problems, feel free to contact us.
<form action='/includes/signup.php'>
<table>
<tr><td>Contact Name:</td> <td><input type='text' name='contact_name'></td></tr>
<tr><td>Email Address:</td> <td> <input type='text' name='email_address'></td></tr>
<tr><td>Desired Username:</td> <td> <input type='text' name='username'></td></tr>
<tr><td>What interests you about thunix:</td> <td> <textarea name='interest' rows = "3" cols = "80"></textarea></td></tr>
<tr><td>SSH Public Key:</td> <td> <textarea name='pubkey' rows = "5" cols = "80"></textarea></td></tr>
<tr><td>Type the word tildeverse here:</td> <td> <input type='text' name='tv'></td></tr>
</table>
<input type='submit'>
</form>
If you don't have a public SSH key, don't worry! Check out [this guide to SSH keys](https://wiki.thunix.net/wiki/ssh) and make sure that you only fill in your public SSH key here.
Signing up implies that you agree with our [terms of service](/tos). If you haven't done so, please read it before you sign up.

3
articles/success1.md Normal file
View File

@ -0,0 +1,3 @@
# Form Failure
You didn't properly fill out the signup form. Please try again.

3
articles/success2.md Normal file
View File

@ -0,0 +1,3 @@
# Success!
You will hear back shortly from us!

3
articles/success3.md Normal file
View File

@ -0,0 +1,3 @@
# Form Failure
This username is already registered, please choose another one.

3
articles/success4.md Normal file
View File

@ -0,0 +1,3 @@
# Form Failure
Please check SSH public key format.

43
articles/tos.md Normal file
View File

@ -0,0 +1,43 @@
# Terms of Service
Nothing is without its rules and regulations; thunix is no exception.
Below are the site's service terms. Everything in this page should be clear to everyone who wishes to use thunix's services; failure to abide by these terms can result in penalties such as service bans and may result in legal action against any offending users, depending on the severity of each case and any other individuals who may have been affected. Thunix may conduct investigations on any suspected violations, and we will cooperate with law enforcement agencies with their investigations. Be sure to read this page carefully and understand it.
You are responsibe for checking your local mail account from time to
time. This email address is the only one we retain, and as such, any
warnings and notices regarding your account, or service status will be
sent to this account.
1. Deliberately defacing the accounts of other users.
2. Deliberately trying to disrupt thunix's server.
3. Using thunix as a launch pad for disrupting other servers.
4. Using thunix to impersonate other websites and businesses for
criminal purposes.
5. Storing/distributing pornography of any genre and medium (especially
child pornography).
6. Storing/distributing content that defames any individual.
7. Promoting racial, ethnic, religious, political and other forms of
bigotry.
8. Storing/distributing, promoting, or encouraging use of
pirated/cracked software, license keys, license/registration
circumvention programs, or any questionable programs/scripts that
can risk causing unauthorized modifications, or disrupts network
services for any programs or devices.
9. Mining cryptocurrencies.
10. Spamming on any forums, mailing lists, irc channels,
newsgroups, etc.
11. Leaking or publishing any user's or individual's personal
information without that person's consent.
12. If you think what you are doing is illegal, it probably is.
13. Our services must not be used for commercial reasons.
14. We backup your data on a best-endeavours basis, but you should take your own backups.
15. Our support is volunteer led; we are all helping each other.
16. Do not resell our services under any circumstances.
17. If your service is attacked on a regular basis, we reserve the right to shut it down.
Copyright infringement is not allowed on thunix, and we will not allow any illegal content to be distributed. It's also expected that all users respect the copyrights of those who produce original content of any kind and only share if the author or license grants you permission. Content hosted on accounts used for external file storage must also follow copyright law.
If you want to request for content you own the copyright for to be removed from thunix, please refer to our [abuse reporting page](/contact). In the email, please identify who you are, if you are the copyright holder or legally representing them, the exact files you want removed with links to the files and infringed content, and contact information such as phone numbers or a reply-to email address.
Users that repeatedly violate the Terms of Service will have their account removed. Depending on the degree of the offense, their account may be removed immediately. These terms also apply to communication services such as forums, mailing lists, irc channels, newsgroups, and any other service either hosted on or used for thunix. If you come across anything that violates the terms of service, please let us know with the [abuse reporting page](/contact).

5
articles/users.md Normal file
View File

@ -0,0 +1,5 @@
# Users
Below is a list of user web directories:
<!-- Begin Autogen user content from /includes/users.php -->

13
config.php Normal file
View File

@ -0,0 +1,13 @@
<?php
//Name of your site
$site_name="🌻 thunix 🌻";
//Root for the site, in a browser
$site_root="https://".$_SERVER['HTTP_HOST'];
//Local base root for app files
$doc_root="/var/www/thunix.cf";
//Site style
// site is the default. Specify something else here to switch
$site_style="newthunix";
?>

View File

@ -1,860 +0,0 @@
<?php
require_once( dirname(__FILE__).'/contact.lib.php' );
define( 'PHPFMG_USER', "root@thunix.net" ); // must be a email address. for sending password to you.
define( 'PHPFMG_PW', "a31add" );
?>
<?php
/**
* GNU Library or Lesser General Public License version 2.0 (LGPLv2)
*/
# main
# ------------------------------------------------------
error_reporting( E_ERROR ) ;
phpfmg_admin_main();
# ------------------------------------------------------
function phpfmg_admin_main(){
$mod = isset($_REQUEST['mod']) ? $_REQUEST['mod'] : '';
$func = isset($_REQUEST['func']) ? $_REQUEST['func'] : '';
$function = "phpfmg_{$mod}_{$func}";
if( !function_exists($function) ){
phpfmg_admin_default();
exit;
};
// no login required modules
$public_modules = false !== strpos('|captcha||ajax|', "|{$mod}|");
$public_functions = false !== strpos('|phpfmg_ajax_submit||phpfmg_mail_request_password||phpfmg_filman_download||phpfmg_image_processing||phpfmg_dd_lookup|', "|{$function}|") ;
if( $public_modules || $public_functions ) {
$function();
exit;
};
return phpfmg_user_isLogin() ? $function() : phpfmg_admin_default();
}
function phpfmg_ajax_submit(){
$phpfmg_send = phpfmg_sendmail( $GLOBALS['form_mail'] );
$isHideForm = isset($phpfmg_send['isHideForm']) ? $phpfmg_send['isHideForm'] : false;
$response = array(
'ok' => $isHideForm,
'error_fields' => isset($phpfmg_send['error']) ? $phpfmg_send['error']['fields'] : '',
'OneEntry' => isset($GLOBALS['OneEntry']) ? $GLOBALS['OneEntry'] : '',
);
@header("Content-Type:text/html; charset=$charset");
echo "<html><body><script>
var response = " . json_encode( $response ) . ";
try{
parent.fmgHandler.onResponse( response );
}catch(E){};
\n\n";
echo "\n\n</script></body></html>";
}
function phpfmg_admin_default(){
if( phpfmg_user_login() ){
phpfmg_admin_panel();
};
}
function phpfmg_admin_panel()
{
if( !phpfmg_user_isLogin() ){
exit;
};
phpfmg_admin_header();
phpfmg_writable_check();
?>
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td valign=top style="padding-left:280px;">
<style type="text/css">
.fmg_title{
font-size: 16px;
font-weight: bold;
padding: 10px;
}
.fmg_sep{
width:32px;
}
.fmg_text{
line-height: 150%;
vertical-align: top;
padding-left:28px;
}
</style>
<script type="text/javascript">
function deleteAll(n){
if( confirm("Are you sure you want to delete?" ) ){
location.href = "admin.php?mod=log&func=delete&file=" + n ;
};
return false ;
}
</script>
<div class="fmg_title">
1. Email Traffics
</div>
<div class="fmg_text">
<a href="admin.php?mod=log&func=view&file=1">view</a> &nbsp;&nbsp;
<a href="admin.php?mod=log&func=download&file=1">download</a> &nbsp;&nbsp;
<?php
if( file_exists(PHPFMG_EMAILS_LOGFILE) ){
echo '<a href="#" onclick="return deleteAll(1);">delete all</a>';
};
?>
</div>
<div class="fmg_title">
2. Form Data
</div>
<div class="fmg_text">
<a href="admin.php?mod=log&func=view&file=2">view</a> &nbsp;&nbsp;
<a href="admin.php?mod=log&func=download&file=2">download</a> &nbsp;&nbsp;
<?php
if( file_exists(PHPFMG_SAVE_FILE) ){
echo '<a href="#" onclick="return deleteAll(2);">delete all</a>';
};
?>
</div>
<div class="fmg_title">
3. Form Generator
</div>
<div class="fmg_text">
<a href="http://www.formmail-maker.com/generator.php" onclick="document.frmFormMail.submit(); return false;" title="<?php echo htmlspecialchars(PHPFMG_SUBJECT);?>">Edit Form</a> &nbsp;&nbsp;
<a href="http://www.formmail-maker.com/generator.php" >New Form</a>
</div>
<form name="frmFormMail" action='http://www.formmail-maker.com/generator.php' method='post' enctype='multipart/form-data'>
<input type="hidden" name="uuid" value="<?php echo PHPFMG_ID; ?>">
<input type="hidden" name="external_ini" value="<?php echo function_exists('phpfmg_formini') ? phpfmg_formini() : ""; ?>">
</form>
</td>
</tr>
</table>
<?php
phpfmg_admin_footer();
}
function phpfmg_admin_header( $title = '' ){
header( "Content-Type: text/html; charset=" . PHPFMG_CHARSET );
?>
<html>
<head>
<title><?php echo '' == $title ? '' : $title . ' | ' ; ?>PHP FormMail Admin Panel </title>
<meta name="keywords" content="PHP FormMail Generator, PHP HTML form, send html email with attachment, PHP web form, Free Form, Form Builder, Form Creator, phpFormMailGen, Customized Web Forms, phpFormMailGenerator,formmail.php, formmail.pl, formMail Generator, ASP Formmail, ASP form, PHP Form, Generator, phpFormGen, phpFormGenerator, anti-spam, web hosting">
<meta name="description" content="PHP formMail Generator - A tool to ceate ready-to-use web forms in a flash. Validating form with CAPTCHA security image, send html email with attachments, send auto response email copy, log email traffics, save and download form data in Excel. ">
<meta name="generator" content="PHP Mail Form Generator, phpfmg.sourceforge.net">
<style type='text/css'>
body, td, label, div, span{
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 12px;
}
</style>
</head>
<body marginheight="0" marginwidth="0" leftmargin="0" topmargin="0">
<table cellspacing=0 cellpadding=0 border=0 width="100%">
<td nowrap align=center style="background-color:#024e7b;padding:10px;font-size:18px;color:#ffffff;font-weight:bold;width:250px;" >
Form Admin Panel
</td>
<td style="padding-left:30px;background-color:#86BC1B;width:100%;font-weight:bold;" >
&nbsp;
<?php
if( phpfmg_user_isLogin() ){
echo '<a href="admin.php" style="color:#ffffff;">Main Menu</a> &nbsp;&nbsp;' ;
echo '<a href="admin.php?mod=user&func=logout" style="color:#ffffff;">Logout</a>' ;
};
?>
</td>
</table>
<div style="padding-top:28px;">
<?php
}
function phpfmg_admin_footer(){
?>
</div>
<div style="color:#cccccc;text-decoration:none;padding:18px;font-weight:bold;">
:: <a href="http://phpfmg.sourceforge.net" target="_blank" title="Free Mailform Maker: Create read-to-use Web Forms in a flash. Including validating form with CAPTCHA security image, send html email with attachments, send auto response email copy, log email traffics, save and download form data in Excel. " style="color:#cccccc;font-weight:bold;text-decoration:none;">PHP FormMail Generator</a> ::
</div>
</body>
</html>
<?php
}
function phpfmg_image_processing(){
$img = new phpfmgImage();
$img->out_processing_gif();
}
# phpfmg module : captcha
# ------------------------------------------------------
function phpfmg_captcha_get(){
$img = new phpfmgImage();
$img->out();
//$_SESSION[PHPFMG_ID.'fmgCaptchCode'] = $img->text ;
$_SESSION[ phpfmg_captcha_name() ] = $img->text ;
}
function phpfmg_captcha_generate_images(){
for( $i = 0; $i < 50; $i ++ ){
$file = "$i.png";
$img = new phpfmgImage();
$img->out($file);
$data = base64_encode( file_get_contents($file) );
echo "'{$img->text}' => '{$data}',\n" ;
unlink( $file );
};
}
function phpfmg_dd_lookup(){
$paraOk = ( isset($_REQUEST['n']) && isset($_REQUEST['lookup']) && isset($_REQUEST['field_name']) );
if( !$paraOk )
return;
$base64 = phpfmg_dependent_dropdown_data();
$data = @unserialize( base64_decode($base64) );
if( !is_array($data) ){
return ;
};
foreach( $data as $field ){
if( $field['name'] == $_REQUEST['field_name'] ){
$nColumn = intval($_REQUEST['n']);
$lookup = $_REQUEST['lookup']; // $lookup is an array
$dd = new DependantDropdown();
echo $dd->lookupFieldColumn( $field, $nColumn, $lookup );
return;
};
};
return;
}
function phpfmg_filman_download(){
if( !isset($_REQUEST['filelink']) )
return ;
$filelink = base64_decode($_REQUEST['filelink']);
$file = PHPFMG_SAVE_ATTACHMENTS_DIR . basename($filelink);
// 2016-12-05: to prevent *LFD/LFI* attack. patch provided by Pouya Darabi, a security researcher in cert.org
$real_basePath = realpath(PHPFMG_SAVE_ATTACHMENTS_DIR);
$real_requestPath = realpath($file);
if ($real_requestPath === false || strpos($real_requestPath, $real_basePath) !== 0) {
return;
};
if( !file_exists($file) ){
return ;
};
phpfmg_util_download( $file, $filelink );
}
class phpfmgDataManager
{
var $dataFile = '';
var $columns = '';
var $records = '';
function __construct(){
$this->dataFile = PHPFMG_SAVE_FILE;
}
function phpfmgDataManager(){
$this->dataFile = PHPFMG_SAVE_FILE;
}
function parseFile(){
$fp = @fopen($this->dataFile, 'rb');
if( !$fp ) return false;
$i = 0 ;
$phpExitLine = 1; // first line is php code
$colsLine = 2 ; // second line is column headers
$this->columns = array();
$this->records = array();
$sep = chr(0x09);
while( !feof($fp) ) {
$line = fgets($fp);
$line = trim($line);
if( empty($line) ) continue;
$line = $this->line2display($line);
$i ++ ;
switch( $i ){
case $phpExitLine:
continue;
break;
case $colsLine :
$this->columns = explode($sep,$line);
break;
default:
$this->records[] = explode( $sep, phpfmg_data2record( $line, false ) );
};
};
fclose ($fp);
}
function displayRecords(){
$this->parseFile();
echo "<table border=1 style='width=95%;border-collapse: collapse;border-color:#cccccc;' >";
echo "<tr><td>&nbsp;</td><td><b>" . join( "</b></td><td>&nbsp;<b>", $this->columns ) . "</b></td></tr>\n";
$i = 1;
foreach( $this->records as $r ){
echo "<tr><td align=right>{$i}&nbsp;</td><td>" . join( "</td><td>&nbsp;", $r ) . "</td></tr>\n";
$i++;
};
echo "</table>\n";
}
function line2display( $line ){
$line = str_replace( array('"' . chr(0x09) . '"', '""'), array(chr(0x09),'"'), $line );
$line = substr( $line, 1, -1 ); // chop first " and last "
return $line;
}
}
# end of class
# ------------------------------------------------------
class phpfmgImage
{
var $im = null;
var $width = 73 ;
var $height = 33 ;
var $text = '' ;
var $line_distance = 8;
var $text_len = 4 ;
function __construct( $text = '', $len = 4 ){
$this->phpfmgImage( $text, $len );
}
function phpfmgImage( $text = '', $len = 4 ){
$this->text_len = $len ;
$this->text = '' == $text ? $this->uniqid( $this->text_len ) : $text ;
$this->text = strtoupper( substr( $this->text, 0, $this->text_len ) );
}
function create(){
$this->im = imagecreate( $this->width, $this->height );
$bgcolor = imagecolorallocate($this->im, 255, 255, 255);
$textcolor = imagecolorallocate($this->im, 0, 0, 0);
$this->drawLines();
imagestring($this->im, 5, 20, 9, $this->text, $textcolor);
}
function drawLines(){
$linecolor = imagecolorallocate($this->im, 210, 210, 210);
//vertical lines
for($x = 0; $x < $this->width; $x += $this->line_distance) {
imageline($this->im, $x, 0, $x, $this->height, $linecolor);
};
//horizontal lines
for($y = 0; $y < $this->height; $y += $this->line_distance) {
imageline($this->im, 0, $y, $this->width, $y, $linecolor);
};
}
function out( $filename = '' ){
if( function_exists('imageline') ){
$this->create();
if( '' == $filename ) header("Content-type: image/png");
( '' == $filename ) ? imagepng( $this->im ) : imagepng( $this->im, $filename );
imagedestroy( $this->im );
}else{
$this->out_predefined_image();
};
}
function uniqid( $len = 0 ){
$md5 = md5( uniqid(rand()) );
return $len > 0 ? substr($md5,0,$len) : $md5 ;
}
function out_predefined_image(){
header("Content-type: image/png");
$data = $this->getImage();
echo base64_decode($data);
}
// Use predefined captcha random images if web server doens't have GD graphics library installed
function getImage(){
$images = array(
'F29A' => 'iVBORw0KGgoAAAANSUhEUgAAAEkAAAAhAgMAAADoum54AAAACVBMVEX///8AAADS0tIrj1xmAAAAcUlEQVR4nGNYhQEaGAYTpIn7QkMZQxhCGVqRxQIaWFsZHR2mOqCIiTS6NgQEBKCIMQDFAh1EkNwXGrVq6crMyKxpSO4DqpvCEAJXBxMLYGgIDA1BEWN0YGxAV8fawOjoiCYmGuoQyogiNlDhR0WIxX0A4WHMkXyw53UAAAAASUVORK5CYII=',
'80EE' => 'iVBORw0KGgoAAAANSUhEUgAAAEkAAAAhAgMAAADoum54AAAACVBMVEX///8AAADS0tIrj1xmAAAAWElEQVR4nGNYhQEaGAYTpIn7WAMYAlhDHUMDkMREpjCGsDYwOiCrC2hlbUUXE5ki0uiKEAM7aWnUtJWpoStDs5Dch6YOah42MWx2YLoFm5sHKvyoCLG4DwB5nMk7XGkkZgAAAABJRU5ErkJggg==',
'B46A' => 'iVBORw0KGgoAAAANSUhEUgAAAEkAAAAhAgMAAADoum54AAAACVBMVEX///8AAADS0tIrj1xmAAAAdElEQVR4nGNYhQEaGAYTpIn7QgMYWhlCgRhJLGAKw1RGR4epDshiQFWsDQ4BASjqGF1ZGxgdRJDcFxq1dOnSqSuzpiG5L2CKSCuroyNMHdQ80VDXhsDQEFQ7WlkbAlHVTWFoZUTTC3EzI4rYQIUfFSEW9wEAr5nMfCHD8SgAAAAASUVORK5CYII=',
'0413' => 'iVBORw0KGgoAAAANSUhEUgAAAEkAAAAhAgMAAADoum54AAAACVBMVEX///8AAADS0tIrj1xmAAAAcUlEQVR4nGNYhQEaGAYTpIn7GB0YWhmmMIQ6IImxBjBMZQhhdAhAEhMBqmEMAdJIYgGtjK5AvQ0BSO6LWrp06appq5ZmIbkvoFWkFUkdVEw01GEKqnlAO8DqRFDdA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' => 'iVBORw0KGgoAAAANSUhEUgAAAEkAAAAhAgMAAADoum54AAAACVBMVEX///8AAADS0tIrj1xmAAAAYElEQVR4nGNYhQEaGAYTpIn7QkNEQxmmMIYGIIkFNIg0MIQyOjCgiTE6OmKIsTYEujoguS80amrY0lWRUVFI7oOoA5uKphdTDGQHuhhDKEMAsvsgbmaY6jAIwo+KEIv7ANgdzBgKIsVgAAAAAElFTkSuQmCC',
'A510' => 'iVBORw0KGgoAAAANSUhEUgAAAEkAAAAhAgMAAADoum54AAAACVBMVEX///8AAADS0tIrj1xmAAAAdElEQVR4nM2Quw2AMAxEzwUbmH08goukYQSmCIU3CNmAAqYkosF8ShD4uqeT/WQsl0n4U17xI2kjMsyzRjkhYBTHOHOiAFXH1Dggk7Dz66ZxWsrcF+enhkH23pYYr6zuq+x8o7Hqd3BRo0BRDs5f/e/B3Pit3JTMWCJAbPsAAAAASUVORK5CYII=',
'0774' => 'iVBORw0KGgoAAAANSUhEUgAAAEkAAAAhAgMAAADoum54AAAACVBMVEX///8AAADS0tIrj1xmAAAAb0lEQVR4nM2QsRGAIAxFk4INcJ809r+QhmlCwQacG9AwpZxVEEs9ze/e/Vzehdo0Sn/KK34sS1gDFIY5UBJFssyXk2XLkCl3WmD8Ym17qy1G49d7oMIy7rIQOGzDDdd96OLi1enIWGb21f8ezI3fARsJzWDPOQA+AAAAAElFTkSuQmCC',
'0F78' => 'iVBORw0KGgoAAAANSUhEUgAAAEkAAAAhAgMAAADoum54AAAACVBMVEX///8AAADS0tIrj1xmAAAAbUlEQVR4nGNYhQEaGAYTpIn7GB1EQ11DA6Y6IImxBogAyYCAACQxkSkgsUAHESSxgFYgr9EBpg7spKilU8NWLV01NQvJfWB1UxhQzAOLBTCimAeyg9EBVQzkFtYGVL0gFUAxFDcPVPhREWJxHwAQqMvVcHElcQAAAABJRU5ErkJggg==',
'66E6' => 'iVBORw0KGgoAAAANSUhEUgAAAEkAAAAhAgMAAADoum54AAAACVBMVEX///8AAADS0tIrj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XBElMBAgd0MQCGoBumYLqloAGRqCrHVDdPEDhR0WIxX0APT3LoyIZ2K4AAAAASUVORK5CYII=',
'1129' => 'iVBORw0KGgoAAAANSUhEUgAAAEkAAAAhAgMAAADoum54AAAACVBMVEX///8AAADS0tIrj1xmAAAAZklEQVR4nGNYhQEaGAYTpIn7GB0YAhhCGaY6IImxOjAGMDo6BAQgiYk6sAawNgQ6iKDrRYiBnbQya1UUkIgKQ3IfWF0rw1QMvVMYGjDEAhgw7ABhFLeEsIayhgaguHmgwo+KEIv7AKJixi3WghgIAAAAAElFTkSuQmCC',
'038B' => 'iVBORw0KGgoAAAANSUhEUgAAAEkAAAAhAgMAAADoum54AAAACVBMVEX///8AAADS0tIrj1xmAAAAXElEQVR4nGNYhQEaGAYTpIn7GB1YQxhCGUMdkMRYA0RaGR0dHQKQxESmMDS6NgQ6iCCJBbQyIKsDOylq6aqwVaErQ7OQ3IemDiaGYR42O7C5BZubByr8qAixuA8A/DPKfflFnKkAAAAASUVORK5CYII=',
'FD96' => 'iVBORw0KGgoAAAANSUhEUgAAAEkAAAAhAgMAAADoum54AAAACVBMVEX///8AAADS0tIrj1xmAAAAW0lEQVR4nGNYhQEaGAYTpIn7QkNFQxhCGaY6IIkFNIi0Mjo6BASgijW6NgQ6CGARQ3ZfaNS0lZmZkalZSO4DqXMICcQwzwGoVwRNzBFTDItbMN08UOFHRYjFfQBCEs3uUm25TAAAAABJRU5ErkJggg==',
'BD0C' => 'iVBORw0KGgoAAAANSUhEUgAAAEkAAAAhAgMAAADoum54AAAACVBMVEX///8AAADS0tIrj1xmAAAAWklEQVR4nGNYhQEaGAYTpIn7QgNEQximMEwNQBILmCLSyhDKECCCLNYq0ujo6OjAgqqu0bUh0AHZfaFR01amrorMQnYfmjq4edjEsNiB4RZsbh6o8KMixOI+AL4DzW+cuJRxAAAAAElFTkSuQmCC',
'25AD' => 'iVBORw0KGgoAAAANSUhEUgAAAEkAAAAhAgMAAADoum54AAAACVBMVEX///8AAADS0tIrj1xmAAAAdElEQVR4nGNYhQEaGAYTpIn7WANEQxmmMIY6IImJTBFpYAhldAhAEgtoFWlgdHR0EEHW3SoSwtoQCBODuGna1KVLV0VmTUN2XwBDoytCHRgyOgDFQlHFWBtEMNSJNLC2guxAdktoKCPIXhQ3D1T4URFicR8A/K3LfS3XHTAAAAAASUVORK5CYII='
);
$this->text = array_rand( $images );
return $images[ $this->text ] ;
}
function out_processing_gif(){
$image = dirname(__FILE__) . '/processing.gif';
$base64_image = "R0lGODlhFAAUALMIAPh2AP+TMsZiALlcAKNOAOp4ANVqAP+PFv///wAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQFCgAIACwAAAAAFAAUAAAEUxDJSau9iBDMtebTMEjehgTBJYqkiaLWOlZvGs8WDO6UIPCHw8TnAwWDEuKPcxQml0Ynj2cwYACAS7VqwWItWyuiUJB4s2AxmWxGg9bl6YQtl0cAACH5BAUKAAgALAEAAQASABIAAAROEMkpx6A4W5upENUmEQT2feFIltMJYivbvhnZ3Z1h4FMQIDodz+cL7nDEn5CH8DGZhcLtcMBEoxkqlXKVIgAAibbK9YLBYvLtHH5K0J0IACH5BAUKAAgALAEAAQASABIAAAROEMkphaA4W5upMdUmDQP2feFIltMJYivbvhnZ3V1R4BNBIDodz+cL7nDEn5CH8DGZAMAtEMBEoxkqlXKVIg4HibbK9YLBYvLtHH5K0J0IACH5BAUKAAgALAEAAQASABIAAAROEMkpjaE4W5tpKdUmCQL2feFIltMJYivbvhnZ3R0A4NMwIDodz+cL7nDEn5CH8DGZh8ONQMBEoxkqlXKVIgIBibbK9YLBYvLtHH5K0J0IACH5BAUKAAgALAEAAQASABIAAAROEMkpS6E4W5spANUmGQb2feFIltMJYivbvhnZ3d1x4JMgIDodz+cL7nDEn5CH8DGZgcBtMMBEoxkqlXKVIggEibbK9YLBYvLtHH5K0J0IACH5BAUKAAgALAEAAQASABIAAAROEMkpAaA4W5vpOdUmFQX2feFIltMJYivbvhnZ3V0Q4JNhIDodz+cL7nDEn5CH8DGZBMJNIMBEoxkqlXKVIgYDibbK9YLBYvLtHH5K0J0IACH5BAUKAAgALAEAAQASABIAAAROEMkpz6E4W5tpCNUmAQD2feFIltMJYivbvhnZ3R1B4FNRIDodz+cL7nDEn5CH8DGZg8HNYMBEoxkqlXKVIgQCibbK9YLBYvLtHH5K0J0IACH5BAkKAAgALAEAAQASABIAAAROEMkpQ6A4W5spIdUmHQf2feFIltMJYivbvhnZ3d0w4BMAIDodz+cL7nDEn5CH8DGZAsGtUMBEoxkqlXKVIgwGibbK9YLBYvLtHH5K0J0IADs=";
$binary = is_file($image) ? join("",file($image)) : base64_decode($base64_image);
header("Cache-Control: post-check=0, pre-check=0, max-age=0, no-store, no-cache, must-revalidate");
header("Pragma: no-cache");
header("Content-type: image/gif");
echo $binary;
}
}
# end of class phpfmgImage
# ------------------------------------------------------
# end of module : captcha
# module user
# ------------------------------------------------------
function phpfmg_user_isLogin(){
return ( isset($_SESSION['authenticated']) && true === $_SESSION['authenticated'] );
}
function phpfmg_user_logout(){
session_destroy();
header("Location: admin.php");
}
function phpfmg_user_login()
{
if( phpfmg_user_isLogin() ){
return true ;
};
$sErr = "" ;
if( 'Y' == $_POST['formmail_submit'] ){
if(
defined( 'PHPFMG_USER' ) && strtolower(PHPFMG_USER) == strtolower($_POST['Username']) &&
defined( 'PHPFMG_PW' ) && strtolower(PHPFMG_PW) == strtolower($_POST['Password'])
){
$_SESSION['authenticated'] = true ;
return true ;
}else{
$sErr = 'Login failed. Please try again.';
}
};
// show login form
phpfmg_admin_header();
?>
<form name="frmFormMail" action="" method='post' enctype='multipart/form-data'>
<input type='hidden' name='formmail_submit' value='Y'>
<br><br><br>
<center>
<div style="width:380px;height:260px;">
<fieldset style="padding:18px;" >
<table cellspacing='3' cellpadding='3' border='0' >
<tr>
<td class="form_field" valign='top' align='right'>Email :</td>
<td class="form_text">
<input type="text" name="Username" value="<?php echo $_POST['Username']; ?>" class='text_box' >
</td>
</tr>
<tr>
<td class="form_field" valign='top' align='right'>Password :</td>
<td class="form_text">
<input type="password" name="Password" value="" class='text_box'>
</td>
</tr>
<tr><td colspan=3 align='center'>
<input type='submit' value='Login'><br><br>
<?php if( $sErr ) echo "<span style='color:red;font-weight:bold;'>{$sErr}</span><br><br>\n"; ?>
<a href="admin.php?mod=mail&func=request_password">I forgot my password</a>
</td></tr>
</table>
</fieldset>
</div>
<script type="text/javascript">
document.frmFormMail.Username.focus();
</script>
</form>
<?php
phpfmg_admin_footer();
}
function phpfmg_mail_request_password(){
$sErr = '';
if( $_POST['formmail_submit'] == 'Y' ){
if( strtoupper(trim($_POST['Username'])) == strtoupper(trim(PHPFMG_USER)) ){
phpfmg_mail_password();
exit;
}else{
$sErr = "Failed to verify your email.";
};
};
$n1 = strpos(PHPFMG_USER,'@');
$n2 = strrpos(PHPFMG_USER,'.');
$email = substr(PHPFMG_USER,0,1) . str_repeat('*',$n1-1) .
'@' . substr(PHPFMG_USER,$n1+1,1) . str_repeat('*',$n2-$n1-2) .
'.' . substr(PHPFMG_USER,$n2+1,1) . str_repeat('*',strlen(PHPFMG_USER)-$n2-2) ;
phpfmg_admin_header("Request Password of Email Form Admin Panel");
?>
<form name="frmRequestPassword" action="admin.php?mod=mail&func=request_password" method='post' enctype='multipart/form-data'>
<input type='hidden' name='formmail_submit' value='Y'>
<br><br><br>
<center>
<div style="width:580px;height:260px;text-align:left;">
<fieldset style="padding:18px;" >
<legend>Request Password</legend>
Enter Email Address <b><?php echo strtoupper($email) ;?></b>:<br />
<input type="text" name="Username" value="<?php echo $_POST['Username']; ?>" style="width:380px;">
<input type='submit' value='Verify'><br>
The password will be sent to this email address.
<?php if( $sErr ) echo "<br /><br /><span style='color:red;font-weight:bold;'>{$sErr}</span><br><br>\n"; ?>
</fieldset>
</div>
<script type="text/javascript">
document.frmRequestPassword.Username.focus();
</script>
</form>
<?php
phpfmg_admin_footer();
}
function phpfmg_mail_password(){
phpfmg_admin_header();
if( defined( 'PHPFMG_USER' ) && defined( 'PHPFMG_PW' ) ){
$body = "Here is the password for your form admin panel:\n\nUsername: " . PHPFMG_USER . "\nPassword: " . PHPFMG_PW . "\n\n" ;
if( 'html' == PHPFMG_MAIL_TYPE )
$body = nl2br($body);
mailAttachments( PHPFMG_USER, "Password for Your Form Admin Panel", $body, PHPFMG_USER, 'You', "You <" . PHPFMG_USER . ">" );
echo "<center>Your password has been sent.<br><br><a href='admin.php'>Click here to login again</a></center>";
};
phpfmg_admin_footer();
}
function phpfmg_writable_check(){
if( is_writable( dirname(PHPFMG_SAVE_FILE) ) && is_writable( dirname(PHPFMG_EMAILS_LOGFILE) ) ){
return ;
};
?>
<style type="text/css">
.fmg_warning{
background-color: #F4F6E5;
border: 1px dashed #ff0000;
padding: 16px;
color : black;
margin: 10px;
line-height: 180%;
width:80%;
}
.fmg_warning_title{
font-weight: bold;
}
</style>
<br><br>
<div class="fmg_warning">
<div class="fmg_warning_title">Your form data or email traffic log is NOT saving.</div>
The form data (<?php echo PHPFMG_SAVE_FILE ?>) and email traffic log (<?php echo PHPFMG_EMAILS_LOGFILE?>) will be created automatically when the form is submitted.
However, the script doesn't have writable permission to create those files. In order to save your valuable information, please set the directory to writable.
If you don't know how to do it, please ask for help from your web Administrator or Technical Support of your hosting company.
</div>
<br><br>
<?php
}
function phpfmg_log_view(){
$n = isset($_REQUEST['file']) ? $_REQUEST['file'] : '';
$files = array(
1 => PHPFMG_EMAILS_LOGFILE,
2 => PHPFMG_SAVE_FILE,
);
phpfmg_admin_header();
$file = $files[$n];
if( is_file($file) ){
if( 1== $n ){
echo "<pre>\n";
echo join("",file($file) );
echo "</pre>\n";
}else{
$man = new phpfmgDataManager();
$man->displayRecords();
};
}else{
echo "<b>No form data found.</b>";
};
phpfmg_admin_footer();
}
function phpfmg_log_download(){
$n = isset($_REQUEST['file']) ? $_REQUEST['file'] : '';
$files = array(
1 => PHPFMG_EMAILS_LOGFILE,
2 => PHPFMG_SAVE_FILE,
);
$file = $files[$n];
if( is_file($file) ){
phpfmg_util_download( $file, PHPFMG_SAVE_FILE == $file ? 'form-data.csv' : 'email-traffics.txt', true, 1 ); // skip the first line
}else{
phpfmg_admin_header();
echo "<b>No email traffic log found.</b>";
phpfmg_admin_footer();
};
}
function phpfmg_log_delete(){
$n = isset($_REQUEST['file']) ? $_REQUEST['file'] : '';
$files = array(
1 => PHPFMG_EMAILS_LOGFILE,
2 => PHPFMG_SAVE_FILE,
);
phpfmg_admin_header();
$file = $files[$n];
if( is_file($file) ){
echo unlink($file) ? "It has been deleted!" : "Failed to delete!" ;
};
phpfmg_admin_footer();
}
function phpfmg_util_download($file, $filename='', $toCSV = false, $skipN = 0 ){
if (!is_file($file)) return false ;
set_time_limit(0);
$buffer = "";
$i = 0 ;
$fp = @fopen($file, 'rb');
while( !feof($fp)) {
$i ++ ;
$line = fgets($fp);
if($i > $skipN){ // skip lines
if( $toCSV ){
$line = str_replace( chr(0x09), ',', $line );
$buffer .= phpfmg_data2record( $line, false );
}else{
$buffer .= $line;
};
};
};
fclose ($fp);
/*
If the Content-Length is NOT THE SAME SIZE as the real conent output, Windows+IIS might be hung!!
*/
$len = strlen($buffer);
$filename = basename( '' == $filename ? $file : $filename );
$file_extension = strtolower(substr(strrchr($filename,"."),1));
switch( $file_extension ) {
case "pdf": $ctype="application/pdf"; break;
case "exe": $ctype="application/octet-stream"; break;
case "zip": $ctype="application/zip"; break;
case "doc": $ctype="application/msword"; break;
case "xls": $ctype="application/vnd.ms-excel"; break;
case "ppt": $ctype="application/vnd.ms-powerpoint"; break;
case "gif": $ctype="image/gif"; break;
case "png": $ctype="image/png"; break;
case "jpeg":
case "jpg": $ctype="image/jpg"; break;
case "mp3": $ctype="audio/mpeg"; break;
case "wav": $ctype="audio/x-wav"; break;
case "mpeg":
case "mpg":
case "mpe": $ctype="video/mpeg"; break;
case "mov": $ctype="video/quicktime"; break;
case "avi": $ctype="video/x-msvideo"; break;
//The following are for extensions that shouldn't be downloaded (sensitive stuff, like php files)
case "php":
case "htm":
case "html":
$ctype="text/plain"; break;
default:
$ctype="application/x-download";
}
//Begin writing headers
header("Pragma: public");
header("Expires: 0");
header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
header("Cache-Control: public");
header("Content-Description: File Transfer");
//Use the switch-generated Content-Type
header("Content-Type: $ctype");
//Force the download
header("Content-Disposition: attachment; filename=".$filename.";" );
header("Content-Transfer-Encoding: binary");
header("Content-Length: ".$len);
while (@ob_end_clean()); // no output buffering !
flush();
echo $buffer ;
return true;
}
?>

File diff suppressed because it is too large Load Diff

View File

@ -1,94 +0,0 @@
<?php
if( !defined('FormmailMakerFormLoader') ){
require_once( dirname(__FILE__).'/contact.lib.php' );
phpfmg_display_form();
};
function phpfmg_form( $sErr = false ){
$style=" class='form_text' ";
?>
<div id='frmFormMailContainer'>
<form style="text-align: center;" name="frmFormMail" id="frmFormMail" target="submitToFrame" action='<?php echo PHPFMG_ADMIN_URL . '' ; ?>' method='post' enctype='multipart/form-data' onsubmit='return fmgHandler.onSubmit(this);'>
<input type='hidden' name='formmail_submit' value='Y'>
<input type='hidden' name='mod' value='ajax'>
<input type='hidden' name='func' value='submit'>
<ol class='phpfmg_form' >
<li class='field_block' id='field_0_div'><div class='col_label'>
<label class='form_field'>Contact Name:</label></div>
<div class='col_field'>
<input type="text" name="field_0" id="field_0" value="<?php phpfmg_hsc("field_0", ""); ?>" class='text_box'>
<div id='field_0_tip' class='instruction'></div>
</div>
</li>
<li class='field_block' id='field_1_div'><div class='col_label'>
<label class='form_field'>Email Address:</label></div>
<div class='col_field'>
<input type="text" name="field_1" id="field_1" value="<?php phpfmg_hsc("field_1", ""); ?>" class='text_box'>
<div id='field_1_tip' class='instruction'></div>
</div>
</li>
<li class='field_block' id='field_2_div'><div class='col_label'>
<label class='form_field'>Subject:</label></div>
<div class='col_field'>
<input type="text" name="field_2" id="field_2" value="<?php phpfmg_hsc("field_2", ""); ?>" class='text_box'>
<div id='field_2_tip' class='instruction'></div>
</div>
</li>
<li class='field_block' id='field_3_div'><div class='col_label'>
<label class='form_field'>Message:</label></div>
<div class='col_field'>
<textarea name="field_3" id="field_3" rows=4 cols=25 class='text_area'><?php phpfmg_hsc("field_3"); ?></textarea>
<div id='field_3_tip' class='instruction'></div>
</div>
</li>
<li class='field_block' id='phpfmg_captcha_div'>
<div class='col_label'><label class='form_field'>Security Code:</label></div><div class='col_field'>
<?php phpfmg_show_captcha(); ?>
</div>
</li>
<li>
<div class='form_submit_block col_field'>
<input type='submit' value='Send' class='form_button'>
<div id='err_required' class="form_error" style='display:none;'>
<label class='form_error_title'>Please fill in every field.</label>
</div>
<span id='phpfmg_processing' style='display:none;'>
<img id='phpfmg_processing_gif' src='<?php echo PHPFMG_ADMIN_URL . '?mod=image&amp;func=processing' ;?>' alt='Processing...'> <label id='phpfmg_processing_dots'></label>
</span>
</div>
</li>
</ol>
</form>
<iframe name="submitToFrame" id="submitToFrame" src="javascript:false" style="position:absolute;top:-10000px;left:-10000px;"></iframe>
</div>
<!-- end of form container -->
<!-- [Your confirmation message goes here] -->
<div id='thank_you_msg' style='display:none;'>
Your message has been sent. Thank you!
</div>
<?php
phpfmg_javascript($sErr);
}
# end of form
function phpfmg_form_css(){
$formOnly = isset($GLOBALS['formOnly']) && true === $GLOBALS['formOnly'];
?>
<style>
ol.phpfmg_form{
list-style-type:none;
padding:0px;
margin:0px;
}
.text_box, .text_area, .text_select {
min-width:500px;
max-width:500px;
}
.form_error_title{
font-weight: bold;
color: #FF0000;
}
<?php phpfmg_text_align();?>
</style>
<?php
}
# end of css
?>

File diff suppressed because it is too large Load Diff

View File

@ -1,25 +0,0 @@
<?php include 'HEADER.php'; ?>
<title>Copyright Notices and Acknowledgements - thunix Community</title>
</head>
<body>
<div id="top">
<div id="header">
<div id="logo">
<h1>&#9763; thunix</h1>
</div>
</div>
<div id="page">
<div id="page-bgtop">
<div id="page-bgbtm">
<div id="content">
<div class="post">
<h2 class="title">Copyright Notices and Acknowledgements</h2>
<div style="clear: both;">&nbsp;</div>
<div class="entry">
<p>(Coming soon)</p>
</div>
</div>
<div style="clear: both;">&nbsp;</div>
</div>
<?php include 'MENU.php'; ?>
<?php include 'FOOTER.php'; ?>

View File

@ -1,41 +0,0 @@
<?php include 'HEADER.php'; ?>
<title>Donations - thunix Community</title>
</head>
<body>
<div id="top">
<div id="header">
<div id="logo">
<h1>&#9763; thunix</h1>
</div>
</div>
<div id="page">
<div id="page-bgtop">
<div id="page-bgbtm">
<div id="content">
<div class="post">
<h2 class="title">Donations</h2>
<div style="clear: both;">&nbsp;</div>
<div class="entry">
<p>As this server and our projects are all a labor of love and goodwill for the community, operating the thunix server costs money. We love what we do and we love sharing what we do for free, but over time, operating expenses can have a big impact.</p>
<p>That being said, we also rely on the good nature of generous people, who are willing to donate to us. The price breakdown right now is &euro;38/month. So to help with server costs and time spent, you can donate the following ways:</p>
<p style="text-align: center; color: #00FFFF;">Via BitCoin:</p>
<p style="text-align: center; color: #00FFFF;">1DFM3qY7XmCxGTFPATSQJVCNjvmWiVubGN</p>
<p style="text-align: center; color: #00FFFF;">You can donate via Liberapay here:</p>
<p style="text-align: center; color: #00FFFF;"><script src="https://liberapay.com/ub3g33k/widgets/button.js"></script><noscript><a href="https://liberapay.com/ub3g33k/donate"><img alt="Donate using Liberapay" src="https://liberapay.com/assets/widgets/donate.svg"></a></noscript></p>
<div style="text-align: center; color: #00FFFF;">
<p>Or via Paypal:</a>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post" target="_top">
<input type="hidden" name="cmd" value="_donations" />
<input type="hidden" name="business" value="GW2H85HY9VJ3L" />
<input type="hidden" name="currency_code" value="USD" />
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif" border="0" name="submit" title="PayPal - The safer, easier way to pay online!" alt="Donate with PayPal button" />
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1" />
</form>
</p>
</div>
</div>
</div>
<div style="clear: both;">&nbsp;</div>
</div>
<?php include 'MENU.php'; ?>
<?php include 'FOOTER.php'; ?>

34
faq.php
View File

@ -1,34 +0,0 @@
<?php include 'HEADER.php';?>
<title>Frequently Asked Questions - thunix Community</title>
</head>
<body>
<div id="top">
<div id="header">
<div id="logo">
<h1>&#9763; thunix</h1>
</div>
</div>
<div id="page">
<div id="page-bgtop">
<div id="page-bgbtm">
<div id="content">
<div class="post">
<h2 class="title">Frequently Asked Questions</h2>
<div style="clear: both;">&nbsp;</div>
<div class="entry">
<p><b style="color: #FF00FF">How do I sign up for an account?</b><br>Simply by going to our <a href="/signup.php">signup page</a> and filling in the form. You can ask for help in #thunix on tilde.chat, or you can <a href="/contact.php">contact us</a>, if you run into any difficulties.</p>
<p><b style="color: #FF00FF">Who is running thunix?</b><br>The current system administrators are <a href="/~amcclure">amcclure</a> and <a href="/~ubergeek">ubergeek</a>.</p>
<p><b style="color: #FF00FF">What happened to the old thunix? Why the name change?</b><br>The original machine and founder dissappeared without any warning to anyone, including server staff. For this reason, most things were not backed up, and we needed to obtain a new domain name, and a new set of machines.</p>
<p><b style="color: #FF00FF">I want a new package installed, or I want something changed on Thunix!</b></br>Excellent! We're looking to make this system useful for the community! You can submit a PR or an issue <a href="https://tildegit.org/thunix/ansible">here</a> to request the system change.</p>
<p><b style="color: #FF00FF">Can I get password-based login? Old thunix had it!</b></br>No. Sorry. Not for shell access. For other integrated services, password auth will be enabled, but not for your ssh connection. We use key based authentication, as it's more secure, and more convienent for you, to be honest.</p>
<p><b style="color: #FF00FF">I want to run {fill in the blank} server, but I can't seem to access it? </b></br>The only exposed ports to the internet are services as defined in our <a href="https://tildegit.org/thunix/ansible">ansible playbook.</a> If there is a public service you want to see, open an issue, or do a pull request for it, and we'll probably enable it without much question.</p>
<p><b style="color: #FF00FF">That's too hard! Can you just open the port up for this service I have running?</b></br>No. Due to security issues, we cannot. HOWEVER! You can certainly use an <a href="https://duckduckgo.com/?q=ssh+tunnnel">SSH tunnel</a> to access it.</p>
<p><b style="color: #FF00FF">Old thunix did {fill in the blank}, and now it doesn't. Make it work like it used to!</b></br>There was a huge changeover. Maybe we can get something going old thunix had, and maybe not. You can mention it in the IRC channel, and we'll see what we can do.</p>
<p><b style="color: #FF00FF">How can I access my thunix email?</b></br>You can use the following for your mail settings (This is Thunderbird's setting screen, but the settings are the same):</p>
<p><a href="images/mail.png"><img style="max-width:50%;" src="images/mail.png"></a></p>
</div>
</div>
<div style="clear: both;">&nbsp;</div>
</div>
<?php include 'MENU.php'; ?>
<?php include 'FOOTER.php';?>

View File

@ -1,62 +0,0 @@
<?php include 'HEADER.php'; ?>
<title>GDPR Statement and Privacy Policy - thunix Community</title>
</head>
<body>
<div id="top">
<div id="header">
<div id="logo">
<h1>&#9763; thunix</h1>
</div>
</div>
<div id="page">
<div id="page-bgtop">
<div id="page-bgbtm">
<div id="content">
<div class="post">
<h2 class="title">GDPR Statement and Privacy Policy</h2>
<div style="clear: both;">&nbsp;</div>
<div class="entry">
<p>Thunix takes privacy seriously, and as such remains committed to being in compliance with the GDPR, which took affect on May 25th, 2018.</p>
</div>
</div>
<div class="post">
<h2 class="title">What data do we collect from you?</h2>
<div style="clear: both;">&nbsp;</div>
<div class="entry">
<p>Thunix collects your email address, during signup, and IPs you log into the system from, in accordance with technical requirements.</p>
<p>We also store whatever data you create or maintain in your home directory on Thunix, which may include emails to and from your Thunix account.</p>
</div>
</div>
<div class="post">
<h2 class="title">How long do we retain data about you?</h2>
<div style="clear: both;">&nbsp;</div>
<div class="entry">
<p>Your email address is retained only long enough to process you account creation request. IPs you log into from are retained for a maximum of 30 days.</p>
</div>
</div>
<div class="post">
<h2 class="title">How can I request a copy of my data?</h2>
<div style="clear: both;">&nbsp;</div>
<div class="entry">
<p>You can submit a request at <a href="/contact.php">contact page</a>. We will endeavor to provide you a copy of all data we store within 14 days.</p>
</div>
</div>
<div class="post">
<h2 class="title">How can I request removal of my information?</h1>
<div style="clear: both;">&nbsp;</div>
<div class="entry">
<p>You can submit a request at <a href="/contact.php">contact page</a>, and we will endeavor to remove all personal data of yours from our system within 14 days. However, this will include removal of your user account from our system as well, which will prevent access to most of the services provided by Thunix.</p>
<p>If you request deletion of your account, all of your data will be purged within 14 days from our system.</p>
</div>
</div>
<div class="post">
<h2 class="title">How do you protect my data?</h1>
<div style="clear: both;">&nbsp;</div>
<div class="entry">
<p>All data on thunix is encrypted at rest. Logs are maintained only for as long as is technically required (30 days, for troubleshooting of issues). Personally created data, is protected by the UNIX permissions model, as dictated by yourself, however, by default, your personally created data is viewable by all other users of the system, per design.</p>
</div>
</div>
<div style="clear: both;">&nbsp;</div>
</div>
<?php include 'MENU.php'; ?>
<?php include 'FOOTER.php'; ?>

112
githook.php Normal file
View File

@ -0,0 +1,112 @@
<?php
/* gitea deploy webhook for thunix*/
/*
* So, this webhook current accepts hooks for www, ansible, and soon
* gopher. It's pretty extensible, and is currently written for gitea,
* but things like gitlab, github, etc should be feasible, if not
* downright easy.
*
* While this 'should' work fine with numberic keys, and has been
* tested, php's loose casting makes it a crap shoot. We should
* probably not start tokens with a 0, or a number for that matter?
* All project hooks need to use the same key.
*
* Also, tildegit's IP address is hard-wired here, so we only accept
* hooks from tildegit. This will need that change, if it moves.
/* security */
$access_token = "secret";
$www_lastrun = '/dev/shm/www-hook-last-run';
$www_dropfile = '/dev/shm/run-www';
$gopher_lastrun = '/dev/shm/gopher-hook-last-run';
$gopher_dropfile = '/dev/shm/run-gopher';
$wiki_lastrun = '/dev/shm/wiki-hook-last-run';
$wiki_dropfile = '/dev/shm/run-wiki';
$allowedip = '198.50.210.248';
$remoteip = $_SERVER['REMOTE_ADDR'];
$ratelimit = 300;
/* get json data */
$json = file_get_contents('php://input');
$data = json_decode($json, true);
/* check our token */
$client_token = $data["secret"];
if ( strcmp($client_token, $access_token) !== 0 )
{
http_response_code(403);
echo "HTTP 403 - Forbidden, P1.\n";
exit(0);
}
/* check our source ip for the hook */
if ( strcmp($remoteip, $allowedip) !== 0 )
{
http_response_code(403);
echo "HTTP 403 - Forbidden, P2.\n";
exit(0);
}
// Hook for www repo here. Same rules apply, as above, for www. We
// could probably make it able to run more frequently. Backend job is
// just a git pull, and is quick.
elseif ($data["repository"]["full_name"] == 'thunix/www') {
syslog(LOG_INFO, 'WWW Webhook recieved.');
if ( time () - filemtime ( $www_lastrun ) > $ratelimit/30 ) {
touch ( $www_dropfile );
touch ( $www_lastrun );
http_response_code(200);
echo "HTTP 200 - WWW webhook recieved.\n";
}
else {
http_response_code(429);
echo "HTTP 429 - Rate Limited.\n";
exit(0);
}
}
// Hook for gopher. Not implemented on the backend yet.
elseif ($data["repository"]["full_name"] == 'thunix/thunix_gopher') {
syslog(LOG_INFO, 'Gopher Webhook recieved.');
if ( time () - filemtime ( $gopher_lastrun ) > $ratelimit ) {
touch ( $gopher_dropfile );
touch ( $gopher_lastrun );
http_response_code(200);
echo "HTTP 200 - Gopher webhook recieved.\n";
}
else {
http_response_code(429);
echo "HTTP 429 - Rate Limited.\n";
exit(0);
}
}
//Wiki webhook
elseif ($data["repository"]["full_name"] == 'thunix/wiki') {
syslog(LOG_INFO, 'Wiki Webhook recieved.');
if ( time () - filemtime ( $wiki_lastrun ) > $ratelimit/30 ) {
touch ( $wiki_dropfile );
touch ( $wiki_lastrun );
http_response_code(200);
echo "HTTP 200 - Wiki webhook recieved.\n";
}
else {
http_response_code(429);
echo "HTTP 429 - Rate Limited.\n";
exit(0);
}
}
// Easter egg for anyone probing the hook. Enjoy. We're a tea pot
// and not a coffee maker :)
else {
http_response_code(418);
echo "HTTP 418 - I'm a teapot.\n";
syslog(LOG_INFO, "Tea Pot Webhook recieved.\n");
exit(0);
}
?>

16
humans.txt Normal file
View File

@ -0,0 +1,16 @@
/* TEAM */
Your title: deepend, naglfar
Site: https://thunix.net, root@thunix.net
Location: Quebec, Canada
/* THANKS */
Name: deepend https://thunix.net/~deepend
ubergeek https://thunix.net/~ubergeek
naglfar https://thunix.net/~naglfar
fosslinux https://thunix.net/~fosslinux
/* SITE */
Last update: 2023/12/26
Standards: HTML5
Components: Apache2, Git, and PHP, Parsedown, Parsedown Extra
Software: vim, geany, ansible, wiki.php

Binary file not shown.

Before

Width:  |  Height:  |  Size: 650 KiB

34
includes/contact.php Normal file
View File

@ -0,0 +1,34 @@
<?php
include "../config.php";
// This code is licensed under the AGPL 3 or later by ubergeek (https://tildegit.org/ubergeek)
$name = $_GET['contact_name'];
$return_addr = $_GET['email_address'];
$type = $_GET['type'];
$body = $_GET['message'];
$tv = $_GET['tv'];
$destination_addr = "root@thunix.net";
$subject = "Contact Form";
$mailbody = "The following submission via the contact form was recieved:
Real Name: $name
Type: $type
Message: $body";
if ( $tv != "tildeverse" ) {
print "Spam attempt";
header("Location: $site_root/?page=success1");
die();
}
shell_exec("echo '$mailbody' | /usr/bin/mail -s '$subject' -r '$return_addr' $destination_addr ");
// In the future, here, we *should* be able to build a process that
// auto opens an issue in the tildegit project
header("Location: $site_root/?page=success2");
die()
?>

BIN
includes/dot.ttf Executable file

Binary file not shown.

5
includes/footer.md Normal file
View File

@ -0,0 +1,5 @@
All content is licensed as [CC BY-SA 4.0 license](https://creativecommons.org/licenses/by-sa/4.0/). Users define their own licensing and own all of their content.
All questions, comments, and concerns about this site should be sent to [the administration team](/contact).
Created with valid [HTML](https://validator.w3.org/check?uri=referer) and [CSS](https://jigsaw.w3.org/css-validator/check/referer) code.

1
includes/header.md Normal file
View File

@ -0,0 +1 @@
![🌻 thunix🌻](/media/thunix.gif)

15
includes/minithunix.css Normal file
View File

@ -0,0 +1,15 @@
body{font-family:"Courier New",Courier,monospace;background:#000;color:lime}
#body{width:95%}
#body h1{color:green}
#body h2{color:green}
#body h3{color:green}
#body a{background:#000;color:lime}
#body a:visited{color:green}
#header{width:90%;text-align:center;font-size:xx-large}
#content{width:78%;float:left;font-size:medium}
#content img{max-height:400px;max-width:98%}
.lineitem{border:1px;border-color:#fff}
#sidebar{width:18%;float:right;font-size:small}
#sidebar h1{color:green;background:#000}
#sidebar h2{color:green;background:#000}
#footer{width:95%;text-align:center;clear:both;font-size:smaller}

16
includes/newthunix.css Normal file
View File

@ -0,0 +1,16 @@
@font-face { font-family: dot; src: url('https://thunix.net/includes/dot.ttf'); }
body{font-family:"dot",Courier,monospace;background:#000;color:#F79862}
#body{width:95%}
#body h1{color:orange}
#body h2{color:orange}
#body h3{color:orange}
a{background:#000;color:#F79862}
a:visited{color:orange}
#header{width:90%;text-align:center;font-size:xx-large}
#content{width:78%;float:left;font-size:medium}
#content img{max-height:400px;max-width:98%}
.lineitem{border:1px;border-color:#fff}
#sidebar{width:18%;float:right;font-size:small}
#sidebar h1{color:orange;background:#000}
#sidebar h2{color:orange;background:#000}
#footer{width:95%;text-align:center;clear:both;font-size:smaller}

8
includes/report Normal file
View File

@ -0,0 +1,8 @@
thunix.net,sshd,GOOD
thunix.net,BZFlag_Server,GOOD
thunix.net,Memory,GOOD
thunix.net,Minetest_Server,GOOD
thunix.net,web_site,GOOD
thunix.net,web_site_https,GOOD
thunix.net,imap,GOOD
thunix.net,smtp,GOOD

48
includes/server.php Normal file
View File

@ -0,0 +1,48 @@
<?php
// Monitoring section
$hosts="all";
$f = fopen("$doc_root/report", "r");
echo "Last update: " . date ("H:i", filemtime('./report'))."<p>\n";
echo "<table style='width:80%'>";
echo " <tr>
<th>Host</th>
<th>Check</th>
<th>Status</th>
</tr>";
while (($line = fgetcsv($f)) !== false) {
echo "<tr>";
if ($hosts == "failed" ) {
if ($line[2] == "FAILED") {
foreach ($line as $cell) {
if ($cell == "FAILED") {
echo '<td style="color:#FF0000">' . htmlspecialchars($cell) . '</td>';
}
else {
echo "<td>" .htmlspecialchars($cell) . "</td>";
}
}
}
}
elseif ($hosts == "all") {
foreach ($line as $cell) {
if ($cell == "FAILED") {
echo '<td style="color:#FF0000">' . htmlspecialchars($cell) . '</td>';
}
elseif ($cell=="GOOD") {
echo '<td style="color:#00FF00">' . htmlspecialchars($cell) . "</td>";
}
else {
echo "<td>" .htmlspecialchars($cell) . "</td>";
}
}
}
echo "</tr>\n";
}
echo "\n</table>\n";
fclose($f);
// End monitoring section
?>

30
includes/sidebar.md Normal file
View File

@ -0,0 +1,30 @@
- Main Menu
---------
- [Home](/main)
- [FAQ](/faq)
- [Terms of Service](/tos)
- [GDPR Statement and Privacy Policy](/gdpr)
- [Contact Us](/contact)
- [Sign Up](/signup)
- [Donations](/donate)
- Status of Servers and Services
---------------------------
- [Status and Information](/server)
- [thunix Mirror Services](https://ftp.thunix.net/)
- [Web Server Stats](https://stats.thunix.net/)
- [Web Mail](/webmail/)
- [ZNC Service](https://thunix.net:1356/)
- [Service News](/news)
- Main Resources On This Site
---------------------------
- [Wiki](https://wiki.thunix.net/)
- [User Web Directories](/users)
- [User Gopher Directories](https://gopher.tildeverse.org/thunix.net)
- Server Staff
------------
- [deepend](/~deepend/)
- [Naglfar](/~naglfar/)

63
includes/signup.php Normal file
View File

@ -0,0 +1,63 @@
<?php
// This code is licensed under the AGPL 3 or later by ubergeek (https://tildegit.org/ubergeek)
include "../config.php";
$name = $_GET['contact_name'];
$email = $_GET['email_address'];
$username = $_GET['username'];
$interest = $_GET['interest'];
$pubkey = $_GET['pubkey'];
$tv = $_GET['tv'];
// username passed lowercased
$username = strtolower($username);
// strip new line characters from the end
$pubkey = trim($pubkey);
$from = 'From: www-data <www-data@thunix.net>';
$destination_addr = "newuser@thunix.net";
$subject = "New User Registration";
$mailbody = "A new user has tried to register.
Username: $username
Real Name: $name
Email Address: $email
Interest: $interest
Pubkey: $pubkey";
// In the future, here, we *should* be able to build a process that
// somehow auto-verifies the user, and instead of email, it'll kick off the new user process here
$user_queue = '/dev/shm/userqueue';
// Spam attempt
$success = 'success1';
if ( $tv == "tildeverse" )
{
// Success!
$success = 'success2';
// Check if username already taken
if (posix_getpwnam($username)) {
$success = 'success3';
}
// Simple SSH public key format check
$valid_key_starts = ['ssh-rsa', 'ssh-dss', 'ecdsa-sha2', 'ssh-ed25519'];
$key_parts = explode(' ', $pubkey, 3);
if (!in_array($key_parts[0], $valid_key_starts) || count($key_parts) < 2) {
$success = 'success4';
}
if ($success == "success2") {
mail($destination_addr, $subject, $mailbody, $from);
$fp = fopen($user_queue, 'a');
fwrite($fp, "'$username','$email','$pubkey'\n");
fclose($fp);
}
}
header("Location: $site_root/?page=$success");
die();
?>

40
includes/site.css Normal file
View File

@ -0,0 +1,40 @@
/*
This file is licensed under the GPL 3.0 or later.
*/
body {
font-family: "Courier New", Courier, monospace;
}
#body {
width: 95%;
}
#header {
width: 90%;
text-align: center;
font-size: xx-large;
}
#content {
width: 78%;
float: left;
font-size: medium;
}
#content img {
max-height: 400px;
max-width: 98%;
}
#sidebar {
width: 18%;
float: right;
font-size: small;
}
#footer {
width: 90%;
text-align: center;
clear: both;
font-size: smaller;
}

78
includes/thunix.css Normal file
View File

@ -0,0 +1,78 @@
/*
This file is licensed under the GPL 3.0 or later.
*/
body {
font-family: "Courier New", Courier, monospace;
background: black;
color: lime;
}
#body {
width: 95%;
}
#body h1 {
color: green;
}
#body h2 {
color: green;
}
#body h3 {
color: green;
}
#body a {
background: black;
color: lime;
}
#body a:visited {
color: green;
}
#header {
width: 90%;
text-align: center;
font-size: xx-large;
}
#content {
width: 78%;
float: left;
font-size: medium;
text-align: justify;
}
#content img {
max-height: 400px;
max-width: 98%;
}
.lineitem {
border: 1px;
border-color:white;
}
#sidebar {
width: 18%;
float: right;
font-size: small;
}
#sidebar h1 {
color: green;
background: black;
}
#sidebar h2 {
color: green;
background: black;
}
#footer {
width: 95%;
text-align: center;
clear: both;
font-size: smaller;
}

17
includes/users.php Normal file
View File

@ -0,0 +1,17 @@
<?php
$html_skel='/etc/skel/public_html/index.html';
print "<!-- Begin autogen userdir list -->";
print "<ul style='list-style: none; margin-left: -40px;'>";
foreach (glob("/home/*") as $userpath):
if (is_dir("$userpath/public_html"))
{
$user = basename($userpath);
if(sha1_file($html_skel) == sha1_file("$userpath/public_html/index.html") || count(scandir("$userpath/public_html")) == 2)
print"<li>~$user</li>\n";
else
print"<li><a href='$site_root/~$user/'>~$user</a></li>\n";
}
endforeach;
print "</ul></div>
<!-- End Autgen userdir list -->";
?>

View File

@ -1,70 +0,0 @@
<?php include 'HEADER.php'; ?>
<title>Welcome to thunix Community</title>
</head>
<body>
<div id="top">
<div id="header">
<div id="logo">
<h1>&#9763; thunix</h1>
</div>
</div>
<div id="page">
<div id="page-bgtop">
<div id="page-bgbtm">
<div id="content">
<div class="post">
<h2 class="title">Welcome to thunix!</h2>
<div style="clear: both;">&nbsp;</div>
<div class="entry">
<p>We're so glad you could drop by and we hope you enjoy your visit. Stay a while! Feel free to inquire about what we have to offer and explore our services.</p>
</div>
</div>
<!--<div class="post">
<h2 class="title">Latest News</h2>
<div style="clear: both;">&nbsp;</div>
<div class="entry">
<p>(Coming soon)</p>
</div>
</div>-->
<div class="post">
<h2 class="title">About thunix Community</h2>
<div style="clear: both;">&nbsp;</div>
<div class="entry">
<p>thunix offers Secure Shell (SSH) accounts, Web Hosting, Email Accounts, and many other services. But, most of all, we are a community of users. It was founded by hexhaxtron in the Summer of 2017, and was continued by <a href="/~amcclure">amcclure</a> and <a href="/~ubergeek">ubergeek</a> since 2018. We aim to provide the best service possible with a wide variety of features, and we hope you have fun with it!</p>
</div>
</div>
<div class="post">
<h2 class="title">thunix Phoenix</h2>
<div style="clear: both;">&nbsp;</div>
<div class="entry">
<p>The thunix Phoenix project aims to provide a new user experience for shell users, with integration into Ben Harris's Tildeverse network.</p>
<p>Join us on IRC at tilde.chat in these channels:</p>
<ul>
<li>#thunix - General discussion about thunix and thunix services, including issues. Shell-specific issues go in #phoenix.</li>
<li>#phoenix - Discussion about the phoenix shell server, including issues.</li>
</ul>
<p>If you want to sign up for an account, simply open our <a href="/signup.php">signup form</a> and provide us with:</p>
<ul>
<li>Your contact name</li>
<li>Your email address (so that we can contact you with login details)</li>
<li>Your desired username (all lowercase, alphanumeric characters only, no spaces)</li>
<li>How you heard about us and what interests you in thunix</li>
<li>Your Public SSH Key</li>
</ul>
<p>thunix tries to adhere to the values and philosophy of the Hacker Ethic whenever possible. The hacker ethics and beliefs as described by Levy are:</p>
<ul>
<li>Access to computers - and anything which might teach you something about the way the world works - should be unlimited and total. Always yield to the Hands-On Imperative!</li>
<li>All information should be free</li>
<li>Mistrust authority - promote decentralization</li>
<li>Hackers should be judged by their hacking, not criteria such as degrees, age, race, sex, or position</li>
<li>You can create art and beauty on a computer</li>
<li>Computers can change your life for the better</li>
</ul>
<p>thunix will never use proprietary software but users can do that if they wish. This is something they should avoid however.</p>
<p>If you want to help keep thunix running, please consider <a href="donate.php">donating</a>.</p>
</div>
</div>
<div style="clear: both;">&nbsp;</div>
</div>
<?php include 'MENU.php'; ?>
<?php include 'FOOTER.php'; ?>

BIN
media/gotthunix.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 26 KiB

BIN
media/mail.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 447 KiB

BIN
media/thunix.gif Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

BIN
media/thunix.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 172 KiB

View File

@ -0,0 +1,20 @@
The MIT License (MIT)
Copyright (c) 2013-2018 Emanuil Rusev, erusev.com
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.

File diff suppressed because it is too large Load Diff

86
parsedown-1.7.3/README.md Normal file
View File

@ -0,0 +1,86 @@
> I also make [Caret](https://caret.io?ref=parsedown) - a Markdown editor for Mac and PC.
## Parsedown
[![Build Status](https://img.shields.io/travis/erusev/parsedown/master.svg?style=flat-square)](https://travis-ci.org/erusev/parsedown)
<!--[![Total Downloads](http://img.shields.io/packagist/dt/erusev/parsedown.svg?style=flat-square)](https://packagist.org/packages/erusev/parsedown)-->
Better Markdown Parser in PHP
[Demo](http://parsedown.org/demo) |
[Benchmarks](http://parsedown.org/speed) |
[Tests](http://parsedown.org/tests/) |
[Documentation](https://github.com/erusev/parsedown/wiki/)
### Features
* One File
* No Dependencies
* Super Fast
* Extensible
* [GitHub flavored](https://help.github.com/articles/github-flavored-markdown)
* Tested in 5.3 to 7.1 and in HHVM
* [Markdown Extra extension](https://github.com/erusev/parsedown-extra)
### Installation
Include `Parsedown.php` or install [the composer package](https://packagist.org/packages/erusev/parsedown).
### Example
``` php
$Parsedown = new Parsedown();
echo $Parsedown->text('Hello _Parsedown_!'); # prints: <p>Hello <em>Parsedown</em>!</p>
```
More examples in [the wiki](https://github.com/erusev/parsedown/wiki/) and in [this video tutorial](http://youtu.be/wYZBY8DEikI).
### Security
Parsedown is capable of escaping user-input within the HTML that it generates. Additionally Parsedown will apply sanitisation to additional scripting vectors (such as scripting link destinations) that are introduced by the markdown syntax itself.
To tell Parsedown that it is processing untrusted user-input, use the following:
```php
$parsedown = new Parsedown;
$parsedown->setSafeMode(true);
```
If instead, you wish to allow HTML within untrusted user-input, but still want output to be free from XSS it is recommended that you make use of a HTML sanitiser that allows HTML tags to be whitelisted, like [HTML Purifier](http://htmlpurifier.org/).
In both cases you should strongly consider employing defence-in-depth measures, like [deploying a Content-Security-Policy](https://scotthelme.co.uk/content-security-policy-an-introduction/) (a browser security feature) so that your page is likely to be safe even if an attacker finds a vulnerability in one of the first lines of defence above.
#### Security of Parsedown Extensions
Safe mode does not necessarily yield safe results when using extensions to Parsedown. Extensions should be evaluated on their own to determine their specific safety against XSS.
### Escaping HTML
> ⚠️  **WARNING:** This method isn't safe from XSS!
If you wish to escape HTML **in trusted input**, you can use the following:
```php
$parsedown = new Parsedown;
$parsedown->setMarkupEscaped(true);
```
Beware that this still allows users to insert unsafe scripting vectors, such as links like `[xss](javascript:alert%281%29)`.
### Questions
**How does Parsedown work?**
It tries to read Markdown like a human. First, it looks at the lines. Its interested in how the lines start. This helps it recognise blocks. It knows, for example, that if a line starts with a `-` then perhaps it belongs to a list. Once it recognises the blocks, it continues to the content. As it reads, it watches out for special characters. This helps it recognise inline elements (or inlines).
We call this approach "line based". We believe that Parsedown is the first Markdown parser to use it. Since the release of Parsedown, other developers have used the same approach to develop other Markdown parsers in PHP and in other languages.
**Is it compliant with CommonMark?**
It passes most of the CommonMark tests. Most of the tests that don't pass deal with cases that are quite uncommon. Still, as CommonMark matures, compliance should improve.
**Who uses it?**
[Laravel Framework](https://laravel.com/), [Bolt CMS](http://bolt.cm/), [Grav CMS](http://getgrav.org/), [Herbie CMS](http://www.getherbie.org/), [Kirby CMS](http://getkirby.com/), [October CMS](http://octobercms.com/), [Pico CMS](http://picocms.org), [Statamic CMS](http://www.statamic.com/), [phpDocumentor](http://www.phpdoc.org/), [RaspberryPi.org](http://www.raspberrypi.org/), [Symfony demo](https://github.com/symfony/symfony-demo) and [more](https://packagist.org/packages/erusev/parsedown/dependents).
**How can I help?**
Use it, star it, share it and if you feel generous, [donate](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=528P3NZQMP8N2).

View File

@ -0,0 +1,33 @@
{
"name": "erusev/parsedown",
"description": "Parser for Markdown.",
"keywords": ["markdown", "parser"],
"homepage": "http://parsedown.org",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "Emanuil Rusev",
"email": "hello@erusev.com",
"homepage": "http://erusev.com"
}
],
"require": {
"php": ">=5.3.0",
"ext-mbstring": "*"
},
"require-dev": {
"phpunit/phpunit": "^4.8.35"
},
"autoload": {
"psr-0": {"Parsedown": ""}
},
"autoload-dev": {
"psr-0": {
"TestParsedown": "test/",
"ParsedownTest": "test/",
"CommonMarkTest": "test/",
"CommonMarkTestWeak": "test/"
}
}
}

View File

@ -0,0 +1,11 @@
language: php
php:
- 5.6
- 5.5
- 5.4
- 5.3
install:
- composer self-update
- composer install

View File

@ -0,0 +1,20 @@
The MIT License (MIT)
Copyright (c) 2013 Emanuil Rusev, erusev.com
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.

View File

@ -0,0 +1,526 @@
<?php
#
#
# Parsedown Extra
# https://github.com/erusev/parsedown-extra
#
# (c) Emanuil Rusev
# http://erusev.com
#
# For the full license information, view the LICENSE file that was distributed
# with this source code.
#
#
class ParsedownExtra extends Parsedown
{
# ~
const version = '0.7.0';
# ~
function __construct()
{
if (parent::version < '1.5.0')
{
throw new Exception('ParsedownExtra requires a later version of Parsedown');
}
$this->BlockTypes[':'] []= 'DefinitionList';
$this->BlockTypes['*'] []= 'Abbreviation';
# identify footnote definitions before reference definitions
array_unshift($this->BlockTypes['['], 'Footnote');
# identify footnote markers before before links
array_unshift($this->InlineTypes['['], 'FootnoteMarker');
}
#
# ~
function text($text)
{
$markup = parent::text($text);
# merge consecutive dl elements
$markup = preg_replace('/<\/dl>\s+<dl>\s+/', '', $markup);
# add footnotes
if (isset($this->DefinitionData['Footnote']))
{
$Element = $this->buildFootnoteElement();
$markup .= "\n" . $this->element($Element);
}
return $markup;
}
#
# Blocks
#
#
# Abbreviation
protected function blockAbbreviation($Line)
{
if (preg_match('/^\*\[(.+?)\]:[ ]*(.+?)[ ]*$/', $Line['text'], $matches))
{
$this->DefinitionData['Abbreviation'][$matches[1]] = $matches[2];
$Block = array(
'hidden' => true,
);
return $Block;
}
}
#
# Footnote
protected function blockFootnote($Line)
{
if (preg_match('/^\[\^(.+?)\]:[ ]?(.*)$/', $Line['text'], $matches))
{
$Block = array(
'label' => $matches[1],
'text' => $matches[2],
'hidden' => true,
);
return $Block;
}
}
protected function blockFootnoteContinue($Line, $Block)
{
if ($Line['text'][0] === '[' and preg_match('/^\[\^(.+?)\]:/', $Line['text']))
{
return;
}
if (isset($Block['interrupted']))
{
if ($Line['indent'] >= 4)
{
$Block['text'] .= "\n\n" . $Line['text'];
return $Block;
}
}
else
{
$Block['text'] .= "\n" . $Line['text'];
return $Block;
}
}
protected function blockFootnoteComplete($Block)
{
$this->DefinitionData['Footnote'][$Block['label']] = array(
'text' => $Block['text'],
'count' => null,
'number' => null,
);
return $Block;
}
#
# Definition List
protected function blockDefinitionList($Line, $Block)
{
if ( ! isset($Block) or isset($Block['type']))
{
return;
}
$Element = array(
'name' => 'dl',
'handler' => 'elements',
'text' => array(),
);
$terms = explode("\n", $Block['element']['text']);
foreach ($terms as $term)
{
$Element['text'] []= array(
'name' => 'dt',
'handler' => 'line',
'text' => $term,
);
}
$Block['element'] = $Element;
$Block = $this->addDdElement($Line, $Block);
return $Block;
}
protected function blockDefinitionListContinue($Line, array $Block)
{
if ($Line['text'][0] === ':')
{
$Block = $this->addDdElement($Line, $Block);
return $Block;
}
else
{
if (isset($Block['interrupted']) and $Line['indent'] === 0)
{
return;
}
if (isset($Block['interrupted']))
{
$Block['dd']['handler'] = 'text';
$Block['dd']['text'] .= "\n\n";
unset($Block['interrupted']);
}
$text = substr($Line['body'], min($Line['indent'], 4));
$Block['dd']['text'] .= "\n" . $text;
return $Block;
}
}
#
# Header
protected function blockHeader($Line)
{
$Block = parent::blockHeader($Line);
if (preg_match('/[ #]*{('.$this->regexAttribute.'+)}[ ]*$/', $Block['element']['text'], $matches, PREG_OFFSET_CAPTURE))
{
$attributeString = $matches[1][0];
$Block['element']['attributes'] = $this->parseAttributeData($attributeString);
$Block['element']['text'] = substr($Block['element']['text'], 0, $matches[0][1]);
}
return $Block;
}
#
# Markup
protected function blockMarkupComplete($Block)
{
if ( ! isset($Block['void']))
{
$Block['markup'] = $this->processTag($Block['markup']);
}
return $Block;
}
#
# Setext
protected function blockSetextHeader($Line, array $Block = null)
{
$Block = parent::blockSetextHeader($Line, $Block);
if (preg_match('/[ ]*{('.$this->regexAttribute.'+)}[ ]*$/', $Block['element']['text'], $matches, PREG_OFFSET_CAPTURE))
{
$attributeString = $matches[1][0];
$Block['element']['attributes'] = $this->parseAttributeData($attributeString);
$Block['element']['text'] = substr($Block['element']['text'], 0, $matches[0][1]);
}
return $Block;
}
#
# Inline Elements
#
#
# Footnote Marker
protected function inlineFootnoteMarker($Excerpt)
{
if (preg_match('/^\[\^(.+?)\]/', $Excerpt['text'], $matches))
{
$name = $matches[1];
if ( ! isset($this->DefinitionData['Footnote'][$name]))
{
return;
}
$this->DefinitionData['Footnote'][$name]['count'] ++;
if ( ! isset($this->DefinitionData['Footnote'][$name]['number']))
{
$this->DefinitionData['Footnote'][$name]['number'] = ++ $this->footnoteCount; # » &
}
$Element = array(
'name' => 'sup',
'attributes' => array('id' => 'fnref'.$this->DefinitionData['Footnote'][$name]['count'].':'.$name),
'handler' => 'element',
'text' => array(
'name' => 'a',
'attributes' => array('href' => '#fn:'.$name, 'class' => 'footnote-ref'),
'text' => $this->DefinitionData['Footnote'][$name]['number'],
),
);
return array(
'extent' => strlen($matches[0]),
'element' => $Element,
);
}
}
private $footnoteCount = 0;
#
# Link
protected function inlineLink($Excerpt)
{
$Link = parent::inlineLink($Excerpt);
$remainder = substr($Excerpt['text'], $Link['extent']);
if (preg_match('/^[ ]*{('.$this->regexAttribute.'+)}/', $remainder, $matches))
{
$Link['element']['attributes'] += $this->parseAttributeData($matches[1]);
$Link['extent'] += strlen($matches[0]);
}
return $Link;
}
#
# ~
#
protected function unmarkedText($text)
{
$text = parent::unmarkedText($text);
if (isset($this->DefinitionData['Abbreviation']))
{
foreach ($this->DefinitionData['Abbreviation'] as $abbreviation => $meaning)
{
$pattern = '/\b'.preg_quote($abbreviation, '/').'\b/';
$text = preg_replace($pattern, '<abbr title="'.$meaning.'">'.$abbreviation.'</abbr>', $text);
}
}
return $text;
}
#
# Util Methods
#
protected function addDdElement(array $Line, array $Block)
{
$text = substr($Line['text'], 1);
$text = trim($text);
unset($Block['dd']);
$Block['dd'] = array(
'name' => 'dd',
'handler' => 'line',
'text' => $text,
);
if (isset($Block['interrupted']))
{
$Block['dd']['handler'] = 'text';
unset($Block['interrupted']);
}
$Block['element']['text'] []= & $Block['dd'];
return $Block;
}
protected function buildFootnoteElement()
{
$Element = array(
'name' => 'div',
'attributes' => array('class' => 'footnotes'),
'handler' => 'elements',
'text' => array(
array(
'name' => 'hr',
),
array(
'name' => 'ol',
'handler' => 'elements',
'text' => array(),
),
),
);
uasort($this->DefinitionData['Footnote'], 'self::sortFootnotes');
foreach ($this->DefinitionData['Footnote'] as $definitionId => $DefinitionData)
{
if ( ! isset($DefinitionData['number']))
{
continue;
}
$text = $DefinitionData['text'];
$text = parent::text($text);
$numbers = range(1, $DefinitionData['count']);
$backLinksMarkup = '';
foreach ($numbers as $number)
{
$backLinksMarkup .= ' <a href="#fnref'.$number.':'.$definitionId.'" rev="footnote" class="footnote-backref">&#8617;</a>';
}
$backLinksMarkup = substr($backLinksMarkup, 1);
if (substr($text, - 4) === '</p>')
{
$backLinksMarkup = '&#160;'.$backLinksMarkup;
$text = substr_replace($text, $backLinksMarkup.'</p>', - 4);
}
else
{
$text .= "\n".'<p>'.$backLinksMarkup.'</p>';
}
$Element['text'][1]['text'] []= array(
'name' => 'li',
'attributes' => array('id' => 'fn:'.$definitionId),
'text' => "\n".$text."\n",
);
}
return $Element;
}
# ~
protected function parseAttributeData($attributeString)
{
$Data = array();
$attributes = preg_split('/[ ]+/', $attributeString, - 1, PREG_SPLIT_NO_EMPTY);
foreach ($attributes as $attribute)
{
if ($attribute[0] === '#')
{
$Data['id'] = substr($attribute, 1);
}
else # "."
{
$classes []= substr($attribute, 1);
}
}
if (isset($classes))
{
$Data['class'] = implode(' ', $classes);
}
return $Data;
}
# ~
protected function processTag($elementMarkup) # recursive
{
# http://stackoverflow.com/q/1148928/200145
libxml_use_internal_errors(true);
$DOMDocument = new DOMDocument;
# http://stackoverflow.com/q/11309194/200145
$elementMarkup = mb_convert_encoding($elementMarkup, 'HTML-ENTITIES', 'UTF-8');
# http://stackoverflow.com/q/4879946/200145
$DOMDocument->loadHTML($elementMarkup);
$DOMDocument->removeChild($DOMDocument->doctype);
$DOMDocument->replaceChild($DOMDocument->firstChild->firstChild->firstChild, $DOMDocument->firstChild);
$elementText = '';
if ($DOMDocument->documentElement->getAttribute('markdown') === '1')
{
foreach ($DOMDocument->documentElement->childNodes as $Node)
{
$elementText .= $DOMDocument->saveHTML($Node);
}
$DOMDocument->documentElement->removeAttribute('markdown');
$elementText = "\n".$this->text($elementText)."\n";
}
else
{
foreach ($DOMDocument->documentElement->childNodes as $Node)
{
$nodeMarkup = $DOMDocument->saveHTML($Node);
if ($Node instanceof DOMElement and ! in_array($Node->nodeName, $this->textLevelElements))
{
$elementText .= $this->processTag($nodeMarkup);
}
else
{
$elementText .= $nodeMarkup;
}
}
}
# because we don't want for markup to get encoded
$DOMDocument->documentElement->nodeValue = 'placeholder\x1A';
$markup = $DOMDocument->saveHTML($DOMDocument->documentElement);
$markup = str_replace('placeholder\x1A', $elementText, $markup);
return $markup;
}
# ~
protected function sortFootnotes($A, $B) # callback
{
return $A['number'] - $B['number'];
}
#
# Fields
#
protected $regexAttribute = '(?:[#.][-\w]+[ ]*)';
}

View File

@ -0,0 +1,31 @@
> You might also like [Caret](http://caret.io?ref=parsedown) - our Markdown editor for the Desktop.
## Parsedown Extra
[![Build Status](https://img.shields.io/travis/erusev/parsedown-extra/master.svg?style=flat-square)](https://travis-ci.org/erusev/parsedown-extra)
An extension of [Parsedown](http://parsedown.org) that adds support for [Markdown Extra](https://michelf.ca/projects/php-markdown/extra/).
[See Demo](http://parsedown.org/extra/)
### Installation
Include both `Parsedown.php` and `ParsedownExtra.php` or install [the composer package](https://packagist.org/packages/erusev/parsedown-extra).
### Example
``` php
$Extra = new ParsedownExtra();
echo $Extra->text('# Header {.sth}'); # prints: <h1 class="sth">Header</h1>
```
### Questions
**Who uses Parsedown Extra?**
[October CMS](http://octobercms.com/), [Bolt CMS](http://bolt.cm/), [Kirby CMS](http://getkirby.com/), [Grav CMS](http://getgrav.org/), [Statamic CMS](http://www.statamic.com/) and [more](https://www.versioneye.com/php/erusev:parsedown-extra/references).
**How can I help?**
Use it, star it, share it and in case you feel generous, [donate some money](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=528P3NZQMP8N2).

View File

@ -0,0 +1,21 @@
{
"name": "erusev/parsedown-extra",
"description": "An extension of Parsedown that adds support for Markdown Extra.",
"keywords": ["markdown", "markdown extra", "parser", "parsedown"],
"homepage": "https://github.com/erusev/parsedown-extra",
"type": "library",
"license": "MIT",
"authors": [
{
"name": "Emanuil Rusev",
"email": "hello@erusev.com",
"homepage": "http://erusev.com"
}
],
"require": {
"erusev/parsedown": "~1.4"
},
"autoload": {
"psr-0": {"ParsedownExtra": ""}
}
}

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<phpunit bootstrap="test/bootstrap.php" colors="true">
<testsuites>
<testsuite>
<file>test/ParsedownExtraTest.php</file>
</testsuite>
</testsuites>
</phpunit>

View File

@ -0,0 +1,20 @@
<?php
class ParsedownExtraTest extends ParsedownTest
{
protected function initDirs()
{
$dirs = parent::initDirs();
$dirs []= dirname(__FILE__).'/data/';
return $dirs;
}
protected function initParsedown()
{
$Parsedown = new ParsedownExtra();
return $Parsedown;
}
}

View File

@ -0,0 +1,10 @@
<?php
$dir = file_exists('../parsedown/')
? '../parsedown/' # child
: 'vendor/erusev/parsedown/'; # parent
include $dir . 'Parsedown.php';
include $dir . 'test/ParsedownTest.php';
include 'ParsedownExtra.php';

View File

@ -0,0 +1,3 @@
<p>The <abbr title="Hyper Text Markup Language">HTML</abbr> specification
is maintained by the <abbr title="World Wide Web Consortium">W3C</abbr>.
The abbreviation <abbr title="Markup Language">ML</abbr> is contained in the abbreviation <abbr title="Hyper Text Markup Language">HTML</abbr>.</p>

View File

@ -0,0 +1,7 @@
The HTML specification
is maintained by the W3C.
The abbreviation ML is contained in the abbreviation HTML.
*[HTML]: Hyper Text Markup Language
*[W3C]: World Wide Web Consortium
*[ML]: Markup Language

View File

@ -0,0 +1,18 @@
<p>footnote <sup id="fnref1:1"><a href="#fn:1" class="footnote-ref">1</a></sup> and another one <sup id="fnref1:2"><a href="#fn:2" class="footnote-ref">2</a></sup></p>
<div class="footnotes">
<hr />
<ol>
<li id="fn:1">
<p>line 1
line 2</p>
<blockquote>
<p>quote</p>
</blockquote>
<p>another paragraph&#160;<a href="#fnref1:1" rev="footnote" class="footnote-backref">&#8617;</a></p>
</li>
<li id="fn:2">
<p>paragraph</p>
<p>another paragraph&#160;<a href="#fnref1:2" rev="footnote" class="footnote-backref">&#8617;</a></p>
</li>
</ol>
</div>

View File

@ -0,0 +1,14 @@
footnote [^1] and another one [^2]
[^1]: line 1
line 2
> quote
another paragraph
[^2]:
paragraph
another paragraph

View File

@ -0,0 +1,17 @@
<dl>
<dt>Term 1</dt>
<dd>one</dd>
<dd>two
extra line</dd>
<dt>Term 2</dt>
<dd><p>lazy
line</p></dd>
<dd><p>multiple</p>
<p>paragraphs</p></dd>
<dd><p>nested</p>
<pre><code>code block</code></pre>
<blockquote>
<p>quote
block</p>
</blockquote></dd>
</dl>

View File

@ -0,0 +1,20 @@
Term 1
: one
: two
extra line
Term 2
: lazy
line
: multiple
paragraphs
: nested
code block
> quote
> block

View File

@ -0,0 +1,20 @@
<p>first <sup id="fnref1:1"><a href="#fn:1" class="footnote-ref">1</a></sup> second <sup id="fnref1:2"><a href="#fn:2" class="footnote-ref">2</a></sup>.</p>
<p>first <sup id="fnref1:a"><a href="#fn:a" class="footnote-ref">3</a></sup> second <sup id="fnref1:b"><a href="#fn:b" class="footnote-ref">4</a></sup>.</p>
<p>second time <sup id="fnref2:1"><a href="#fn:1" class="footnote-ref">1</a></sup></p>
<div class="footnotes">
<hr />
<ol>
<li id="fn:1">
<p>one&#160;<a href="#fnref1:1" rev="footnote" class="footnote-backref">&#8617;</a> <a href="#fnref2:1" rev="footnote" class="footnote-backref">&#8617;</a></p>
</li>
<li id="fn:2">
<p>two&#160;<a href="#fnref1:2" rev="footnote" class="footnote-backref">&#8617;</a></p>
</li>
<li id="fn:a">
<p>one&#160;<a href="#fnref1:a" rev="footnote" class="footnote-backref">&#8617;</a></p>
</li>
<li id="fn:b">
<p>two&#160;<a href="#fnref1:b" rev="footnote" class="footnote-backref">&#8617;</a></p>
</li>
</ol>
</div>

View File

@ -0,0 +1,11 @@
first [^1] second [^2].
[^1]: one
[^2]: two
first [^a] second [^b].
[^a]: one
[^b]: two
second time [^1]

View File

@ -0,0 +1,25 @@
<div class="example">
<p><em>markdown</em></p>
<p>This is another paragraph. It contains <em>inline markup</em>.</p>
<div>
_no markdown_
</div>
</div>
<hr />
<div>
<p><em>markdown</em></p>
<div>
<p><em>markdown</em></p>
</div>
</div>
<hr />
<div>
_no markdown_
<div>
<p><em>markdown</em></p>
</div>
</div>
<hr />
<div markdown="0">
_no markdown_
</div>

View File

@ -0,0 +1,32 @@
<div class="example" markdown="1">
_markdown_
This is another paragraph. It contains <em>inline markup</em>.
<div>
_no markdown_
</div>
</div>
---
<div markdown="1">
_markdown_
<div markdown="1">
_markdown_
</div>
</div>
---
<div>
_no markdown_
<div markdown="1">
_markdown_
</div>
</div>
---
<div markdown="0">
_no markdown_
</div>

View File

@ -0,0 +1,6 @@
<h1 id="header1">Header 1</h1>
<h2 id="header2">Header 2</h2>
<h2 class="main">The Site</h2>
<h2 id="the-site" class="main shine">The Site</h2>
<p><a href="http://parsedown.org" id="link" class="primary upper-case">link</a></p>
<p><img src="/md.png" alt="logo" id="logo" class="big" /></p>

View File

@ -0,0 +1,12 @@
Header 1 {#header1}
========
## Header 2 ## {#header2}
## The Site ## {.main}
## The Site ## {.main .shine #the-site}
[link](http://parsedown.org) {.primary #link .upper-case}
![logo](/md.png) {#logo .big}

View File

@ -1,100 +0,0 @@
<?php include 'HEADER.php'; ?>
<title>Status of thunix Servers and Services - thunix Community</title>
</head>
<body>
<div id="top">
<div id="header">
<div id="logo">
<h1>&#9763; thunix</h1>
</div>
</div>
<div id="page">
<div id="page-bgtop">
<div id="page-bgbtm">
<div id="content">
<div class="post">
<h2 class="title">Information and Service Status</h2>
<div style="clear: both;">&nbsp;</div>
<div class="entry">
<h3>State of the Thunix - Feb 6, 2019</h3>
<p>So, here were are, almost one month post-new server! Some exciting things, and some things that possible have people a little upset.</p>
<p>A BIG change are the ports being wide open on the system. I tried this for about a week, and got a notice from the provider, as a warning. So, we had to enable a firewall on the system, and open ports, as requested by users. But, in order to get a port opened up, you need to either a) do a pull request on tildegit.org configuring the daemon you want to run, or b) open an issue there, with your request. Be mindful, in order for us to set it up for you, the software must be free and open source software.</p>
<p>Another big change, and I feel this is super-empowering for the users is that our configuration is maintained in a central source control. This allows all users the ability to see how things work, and also enabled them to request the exact changes they desire. It also removes the Bus Factor of 1, which old-thunix was prone to, and eventually succumbed to. Anyone can create a new thunix from the work done here, to include any member of the admin team (As they also maintain backups of key files, and most of the home dirs).</p>
<p>But! We also added some stuff, to make it feel more like home as well. There's currently a bzflag server, some shell customizations to help you feel a bit more comfortable, all the build tools you need. If some are missing, ask in IRC, or do a PR, or create an issue on tildegit. We are working on getting a Doom multiplayer server up and running, as well as a GlowstoneMC instance.</p>
<p>While not a huge deal, I am paying out of pocket for this, which I don't mind doing at all. It's fun, after all! But, if you want, you can donate via Liberapay, Paypal, and BitCoin. Just click on the donate link in the sidebar.</p>
<p>So, welcome back to Thunix, any questions, I'm a nice guy, as are amcclure and Naglfar (The other admins), and we're more than happy to answer questions.</p>
<br>
<p>Ubergeek/ub3g33k</p>
</div>
<!-- Placeholder for format hints
<div style="clear: both;">&nbsp;</div>
<div class="entry">
<p>(Coming soon)</p>
</div>
</div>
<div class="post">
<h2 class="title">Server Status</h2>
<div style="clear: both;">&nbsp;</div>
-->
</div>
<div class="post">
<h2 class="title">Server Status</h2>
<div style="clear: both;">&nbsp;</div>
<div class="entry">
<p>
<!-- Have to clean this section up a bit, styling, really -->
<?php
$hosts="all";
$f = fopen("./report", "r");
echo "Last update: " . date ("H:i", filemtime('./report'))."<p>\n";
echo "<table style='width:80%'>";
echo " <tr>
<th>Host</th>
<th>Check</th>
<th>Status</th>
</tr>";
while (($line = fgetcsv($f)) !== false) {
echo "<tr>";
if ($hosts == "failed" ) {
if ($line[2] == "FAILED") {
foreach ($line as $cell) {
if ($cell == "FAILED") {
echo '<td style="color:#FF0000">' . htmlspecialchars($cell) . '</td>';
}
else {
echo "<td>" .htmlspecialchars($cell) . "</td>";
}
}
}
}
elseif ($hosts == "all") {
foreach ($line as $cell) {
if ($cell == "FAILED") {
echo '<td style="color:#FF0000">' . htmlspecialchars($cell) . '</td>';
}
elseif ($cell=="GOOD") {
echo '<td style="color:#00FF00">' . htmlspecialchars($cell) . "</td>";
}
else {
echo "<td>" .htmlspecialchars($cell) . "</td>";
}
}
}
echo "</tr>\n";
}
echo "\n</table>\n";
fclose($f);
?>
<!-- End of the monitoring script portion -->
</p>
</div>
</div>
<div style="clear: both;">&nbsp;</div>
</div>
<?php include 'MENU.php'; ?>
<?php include 'FOOTER.php'; ?>

View File

@ -1,860 +0,0 @@
<?php
require_once( dirname(__FILE__).'/signup.lib.php' );
define( 'PHPFMG_USER', "newuser@thunix.net" ); // must be a email address. for sending password to you.
define( 'PHPFMG_PW', "a31add" );
?>
<?php
/**
* GNU Library or Lesser General Public License version 2.0 (LGPLv2)
*/
# main
# ------------------------------------------------------
error_reporting( E_ERROR ) ;
phpfmg_admin_main();
# ------------------------------------------------------
function phpfmg_admin_main(){
$mod = isset($_REQUEST['mod']) ? $_REQUEST['mod'] : '';
$func = isset($_REQUEST['func']) ? $_REQUEST['func'] : '';
$function = "phpfmg_{$mod}_{$func}";
if( !function_exists($function) ){
phpfmg_admin_default();
exit;
};
// no login required modules
$public_modules = false !== strpos('|captcha||ajax|', "|{$mod}|");
$public_functions = false !== strpos('|phpfmg_ajax_submit||phpfmg_mail_request_password||phpfmg_filman_download||phpfmg_image_processing||phpfmg_dd_lookup|', "|{$function}|") ;
if( $public_modules || $public_functions ) {
$function();
exit;
};
return phpfmg_user_isLogin() ? $function() : phpfmg_admin_default();
}
function phpfmg_ajax_submit(){
$phpfmg_send = phpfmg_sendmail( $GLOBALS['form_mail'] );
$isHideForm = isset($phpfmg_send['isHideForm']) ? $phpfmg_send['isHideForm'] : false;
$response = array(
'ok' => $isHideForm,
'error_fields' => isset($phpfmg_send['error']) ? $phpfmg_send['error']['fields'] : '',
'OneEntry' => isset($GLOBALS['OneEntry']) ? $GLOBALS['OneEntry'] : '',
);
@header("Content-Type:text/html; charset=$charset");
echo "<html><body><script>
var response = " . json_encode( $response ) . ";
try{
parent.fmgHandler.onResponse( response );
}catch(E){};
\n\n";
echo "\n\n</script></body></html>";
}
function phpfmg_admin_default(){
if( phpfmg_user_login() ){
phpfmg_admin_panel();
};
}
function phpfmg_admin_panel()
{
if( !phpfmg_user_isLogin() ){
exit;
};
phpfmg_admin_header();
phpfmg_writable_check();
?>
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td valign=top style="padding-left:280px;">
<style type="text/css">
.fmg_title{
font-size: 16px;
font-weight: bold;
padding: 10px;
}
.fmg_sep{
width:32px;
}
.fmg_text{
line-height: 150%;
vertical-align: top;
padding-left:28px;
}
</style>
<script type="text/javascript">
function deleteAll(n){
if( confirm("Are you sure you want to delete?" ) ){
location.href = "admin.php?mod=log&func=delete&file=" + n ;
};
return false ;
}
</script>
<div class="fmg_title">
1. Email Traffics
</div>
<div class="fmg_text">
<a href="admin.php?mod=log&func=view&file=1">view</a> &nbsp;&nbsp;
<a href="admin.php?mod=log&func=download&file=1">download</a> &nbsp;&nbsp;
<?php
if( file_exists(PHPFMG_EMAILS_LOGFILE) ){
echo '<a href="#" onclick="return deleteAll(1);">delete all</a>';
};
?>
</div>
<div class="fmg_title">
2. Form Data
</div>
<div class="fmg_text">
<a href="admin.php?mod=log&func=view&file=2">view</a> &nbsp;&nbsp;
<a href="admin.php?mod=log&func=download&file=2">download</a> &nbsp;&nbsp;
<?php
if( file_exists(PHPFMG_SAVE_FILE) ){
echo '<a href="#" onclick="return deleteAll(2);">delete all</a>';
};
?>
</div>
<div class="fmg_title">
3. Form Generator
</div>
<div class="fmg_text">
<a href="http://www.formmail-maker.com/generator.php" onclick="document.frmFormMail.submit(); return false;" title="<?php echo htmlspecialchars(PHPFMG_SUBJECT);?>">Edit Form</a> &nbsp;&nbsp;
<a href="http://www.formmail-maker.com/generator.php" >New Form</a>
</div>
<form name="frmFormMail" action='http://www.formmail-maker.com/generator.php' method='post' enctype='multipart/form-data'>
<input type="hidden" name="uuid" value="<?php echo PHPFMG_ID; ?>">
<input type="hidden" name="external_ini" value="<?php echo function_exists('phpfmg_formini') ? phpfmg_formini() : ""; ?>">
</form>
</td>
</tr>
</table>
<?php
phpfmg_admin_footer();
}
function phpfmg_admin_header( $title = '' ){
header( "Content-Type: text/html; charset=" . PHPFMG_CHARSET );
?>
<html>
<head>
<title><?php echo '' == $title ? '' : $title . ' | ' ; ?>PHP FormMail Admin Panel </title>
<meta name="keywords" content="PHP FormMail Generator, PHP HTML form, send html email with attachment, PHP web form, Free Form, Form Builder, Form Creator, phpFormMailGen, Customized Web Forms, phpFormMailGenerator,formmail.php, formmail.pl, formMail Generator, ASP Formmail, ASP form, PHP Form, Generator, phpFormGen, phpFormGenerator, anti-spam, web hosting">
<meta name="description" content="PHP formMail Generator - A tool to ceate ready-to-use web forms in a flash. Validating form with CAPTCHA security image, send html email with attachments, send auto response email copy, log email traffics, save and download form data in Excel. ">
<meta name="generator" content="PHP Mail Form Generator, phpfmg.sourceforge.net">
<style type='text/css'>
body, td, label, div, span{
font-family : Verdana, Arial, Helvetica, sans-serif;
font-size : 12px;
}
</style>
</head>
<body marginheight="0" marginwidth="0" leftmargin="0" topmargin="0">
<table cellspacing=0 cellpadding=0 border=0 width="100%">
<td nowrap align=center style="background-color:#024e7b;padding:10px;font-size:18px;color:#ffffff;font-weight:bold;width:250px;" >
Form Admin Panel
</td>
<td style="padding-left:30px;background-color:#86BC1B;width:100%;font-weight:bold;" >
&nbsp;
<?php
if( phpfmg_user_isLogin() ){
echo '<a href="admin.php" style="color:#ffffff;">Main Menu</a> &nbsp;&nbsp;' ;
echo '<a href="admin.php?mod=user&func=logout" style="color:#ffffff;">Logout</a>' ;
};
?>
</td>
</table>
<div style="padding-top:28px;">
<?php
}
function phpfmg_admin_footer(){
?>
</div>
<div style="color:#cccccc;text-decoration:none;padding:18px;font-weight:bold;">
:: <a href="http://phpfmg.sourceforge.net" target="_blank" title="Free Mailform Maker: Create read-to-use Web Forms in a flash. Including validating form with CAPTCHA security image, send html email with attachments, send auto response email copy, log email traffics, save and download form data in Excel. " style="color:#cccccc;font-weight:bold;text-decoration:none;">PHP FormMail Generator</a> ::
</div>
</body>
</html>
<?php
}
function phpfmg_image_processing(){
$img = new phpfmgImage();
$img->out_processing_gif();
}
# phpfmg module : captcha
# ------------------------------------------------------
function phpfmg_captcha_get(){
$img = new phpfmgImage();
$img->out();
//$_SESSION[PHPFMG_ID.'fmgCaptchCode'] = $img->text ;
$_SESSION[ phpfmg_captcha_name() ] = $img->text ;
}
function phpfmg_captcha_generate_images(){
for( $i = 0; $i < 50; $i ++ ){
$file = "$i.png";
$img = new phpfmgImage();
$img->out($file);
$data = base64_encode( file_get_contents($file) );
echo "'{$img->text}' => '{$data}',\n" ;
unlink( $file );
};
}
function phpfmg_dd_lookup(){
$paraOk = ( isset($_REQUEST['n']) && isset($_REQUEST['lookup']) && isset($_REQUEST['field_name']) );
if( !$paraOk )
return;
$base64 = phpfmg_dependent_dropdown_data();
$data = @unserialize( base64_decode($base64) );
if( !is_array($data) ){
return ;
};
foreach( $data as $field ){
if( $field['name'] == $_REQUEST['field_name'] ){
$nColumn = intval($_REQUEST['n']);
$lookup = $_REQUEST['lookup']; // $lookup is an array
$dd = new DependantDropdown();
echo $dd->lookupFieldColumn( $field, $nColumn, $lookup );
return;
};
};
return;
}
function phpfmg_filman_download(){
if( !isset($_REQUEST['filelink']) )
return ;
$filelink = base64_decode($_REQUEST['filelink']);
$file = PHPFMG_SAVE_ATTACHMENTS_DIR . basename($filelink);
// 2016-12-05: to prevent *LFD/LFI* attack. patch provided by Pouya Darabi, a security researcher in cert.org
$real_basePath = realpath(PHPFMG_SAVE_ATTACHMENTS_DIR);
$real_requestPath = realpath($file);
if ($real_requestPath === false || strpos($real_requestPath, $real_basePath) !== 0) {
return;
};
if( !file_exists($file) ){
return ;
};
phpfmg_util_download( $file, $filelink );
}
class phpfmgDataManager
{
var $dataFile = '';
var $columns = '';
var $records = '';
function __construct(){
$this->dataFile = PHPFMG_SAVE_FILE;
}
function phpfmgDataManager(){
$this->dataFile = PHPFMG_SAVE_FILE;
}
function parseFile(){
$fp = @fopen($this->dataFile, 'rb');
if( !$fp ) return false;
$i = 0 ;
$phpExitLine = 1; // first line is php code
$colsLine = 2 ; // second line is column headers
$this->columns = array();
$this->records = array();
$sep = chr(0x09);
while( !feof($fp) ) {
$line = fgets($fp);
$line = trim($line);
if( empty($line) ) continue;
$line = $this->line2display($line);
$i ++ ;
switch( $i ){
case $phpExitLine:
continue;
break;
case $colsLine :
$this->columns = explode($sep,$line);
break;
default:
$this->records[] = explode( $sep, phpfmg_data2record( $line, false ) );
};
};
fclose ($fp);
}
function displayRecords(){
$this->parseFile();
echo "<table border=1 style='width=95%;border-collapse: collapse;border-color:#cccccc;' >";
echo "<tr><td>&nbsp;</td><td><b>" . join( "</b></td><td>&nbsp;<b>", $this->columns ) . "</b></td></tr>\n";
$i = 1;
foreach( $this->records as $r ){
echo "<tr><td align=right>{$i}&nbsp;</td><td>" . join( "</td><td>&nbsp;", $r ) . "</td></tr>\n";
$i++;
};
echo "</table>\n";
}
function line2display( $line ){
$line = str_replace( array('"' . chr(0x09) . '"', '""'), array(chr(0x09),'"'), $line );
$line = substr( $line, 1, -1 ); // chop first " and last "
return $line;
}
}
# end of class
# ------------------------------------------------------
class phpfmgImage
{
var $im = null;
var $width = 73 ;
var $height = 33 ;
var $text = '' ;
var $line_distance = 8;
var $text_len = 4 ;
function __construct( $text = '', $len = 4 ){
$this->phpfmgImage( $text, $len );
}
function phpfmgImage( $text = '', $len = 4 ){
$this->text_len = $len ;
$this->text = '' == $text ? $this->uniqid( $this->text_len ) : $text ;
$this->text = strtoupper( substr( $this->text, 0, $this->text_len ) );
}
function create(){
$this->im = imagecreate( $this->width, $this->height );
$bgcolor = imagecolorallocate($this->im, 255, 255, 255);
$textcolor = imagecolorallocate($this->im, 0, 0, 0);
$this->drawLines();
imagestring($this->im, 5, 20, 9, $this->text, $textcolor);
}
function drawLines(){
$linecolor = imagecolorallocate($this->im, 210, 210, 210);
//vertical lines
for($x = 0; $x < $this->width; $x += $this->line_distance) {
imageline($this->im, $x, 0, $x, $this->height, $linecolor);
};
//horizontal lines
for($y = 0; $y < $this->height; $y += $this->line_distance) {
imageline($this->im, 0, $y, $this->width, $y, $linecolor);
};
}
function out( $filename = '' ){
if( function_exists('imageline') ){
$this->create();
if( '' == $filename ) header("Content-type: image/png");
( '' == $filename ) ? imagepng( $this->im ) : imagepng( $this->im, $filename );
imagedestroy( $this->im );
}else{
$this->out_predefined_image();
};
}
function uniqid( $len = 0 ){
$md5 = md5( uniqid(rand()) );
return $len > 0 ? substr($md5,0,$len) : $md5 ;
}
function out_predefined_image(){
header("Content-type: image/png");
$data = $this->getImage();
echo base64_decode($data);
}
// Use predefined captcha random images if web server doens't have GD graphics library installed
function getImage(){
$images = array(
'3B4D' => 'iVBORw0KGgoAAAANSUhEUgAAAEkAAAAhAgMAAADoum54AAAACVBMVEX///8AAADS0tIrj1xmAAAAZklEQVR4nGNYhQEaGAYTpIn7RANEQxgaHUMdkMQCpoi0MrQ6OgQgq2wVaXSY6ugggiwGUhcIFwM7aWXU1LCVmZlZ05DdB1TH2oimF2iea2gghpgDmjqwWxpR3YLNzQMVflSEWNwHAEOFzEh9UajnAAAAAElFTkSuQmCC',
'7BFD' => 'iVBORw0KGgoAAAANSUhEUgAAAEkAAAAhAgMAAADoum54AAAACVBMVEX///8AAADS0tIrj1xmAAAAYUlEQVR4nGNYhQEaGAYTpIn7QkNFQ1hDA0MdkEVbRVpZGxgdAlDFGl2BYiLIYlMg6kSQ3Rc1NWxp6MqsaUjuA6pAVgeGrA2Y5olgEQtowHRLQAPQzQ2MqG4eoPCjIsTiPgAe5cqdZczn0gAAAABJRU5ErkJggg==',
'E261' => 'iVBORw0KGgoAAAANSUhEUgAAAEkAAAAhAgMAAADoum54AAAACVBMVEX///8AAADS0tIrj1xmAAAAaUlEQVR4nGNYhQEaGAYTpIn7QkMYQxhCGVqRxQIaWFsZHR2mooqJNLo2OISiijEAxeB6wU4KjVq1dOnUVUuR3QdUN4XV0QHNDoYA1oYANDFGB0wx1gZGNL2hIaKhQJeEBgyC8KMixOI+AEt9zRwxrfAxAAAAAElFTkSuQmCC',
'F3FA' => 'iVBORw0KGgoAAAANSUhEUgAAAEkAAAAhAgMAAADoum54AAAACVBMV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gMAAADoum54AAAACVBMVEX///8AAADS0tIrj1xmAAAAbUlEQVR4nGNYhQEaGAYTpIn7QkMZQxmmMEx1QBZtZW10CGUICEARE2lwdHR0EEEWmyLSwNoQCBODuClq2qqlq6KiwpDcx+gAUhcwFVkvawNYrAFZTKQBZIcDih0BDZhuCWjA4uYBCj8qQizuAwATscxANMnEiwAAAABJRU5ErkJggg==',
'B18E' => 'iVBORw0KGgoAAAANSUhEUgAAAEkAAAAhAgMAAADoum54AAAACVBMVEX///8AAADS0tIrj1xmAAAAXUlEQVR4nGNYhQEaGAYTpIn7QgMYAhhCGUMDkMQCpjAGMDo6OiCrC2hlDWBtCEQVm8KArA7spNCoVVGrQleGZiG5D00d1DwGTPOwiWHRGxrAGoru5oEKPypCLO4DAAcdyOK2z/uBAAAAAElFTkSuQmCC',
'DAAA' => 'iVBORw0KGgoAAAANSUhEUgAAAEkAAAAhAgMAAADoum54AAAACVBMVEX///8AAADS0tIrj1xmAAAAZElEQVR4nGNYhQEaGAYTpIn7QgMYAhimMLQiiwVMYQxhCGWY6oAs1srayujoEBCAIibS6NoQ6CCC5L6opdNWpq6KzJqG5D40dVAx0VDX0MDQENzmQd2CKRYagCk2UOFHRYjFfQDwH865R4QP8AAAAABJRU5ErkJggg==',
'61ED' => 'iVBORw0KGgoAAAANSUhEUgAAAEkAAAAhAgMAAADoum54AAAACVBMVEX///8AAADS0tIrj1xmAAAAXklEQVR4nGNYhQEaGAYTpIn7WAMYAlhDHUMdkMREpjAGsDYwOgQgiQW0sILFRJDFGhiQxcBOioxaFbU0dGXWNCT3hUxhwNTbSpyYCFQvsluALglFd/NAhR8VIRb3AQCR1siDjlalSAAAAABJRU5ErkJggg==',
'0A24' => 'iVBORw0KGgoAAAANSUhEUgAAAEkAAAAhAgMAAADoum54AAAACVBMVEX///8AAADS0tIrj1xmAAAAdUlEQVR4nGNYhQEaGAYTpIn7GB0YAhhCGRoCkMRYAxhDGB0dGpHFRKawtrI2BLQiiwW0ijQ6NARMCUBy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pHsVDboAAAAASUVORK5CYII=',
'80A8' => 'iVBORw0KGgoAAAANSUhEUgAAAEkAAAAhAgMAAADoum54AAAACVBMVEX///8AAADS0tIrj1xmAAAAbklEQVR4nGNYhQEaGAYTpIn7WAMYAhimMEx1QBITmcIYwhDKEBCAJBbQytrK6OjoIIKiTqTRtSEApg7spKVR01amroqamoXkPjR1UPOAYqGBKOaB7GBtCESzgzGEFU0vyM1AMRQ3D1T4URFicR8A4hLM/qeWwtgAAAAASUVORK5CYII=',
'FCB9' => 'iVBORw0KGgoAAAANSUhEUgAAAEkAAAAhAgMAAADoum54AAAACVBMVEX///8AAADS0tIrj1xmAAAAXklEQVR4nGNYhQEaGAYTpIn7QkMZQ1lDGaY6IIkFNLA2ujY6BASgiIk0uDYEOoigibE2OsLEwE4KjZq2amnoqqgwJPdB1DlMxdALJtHtCECzA5tbMN08UOFHRYjFfQBIy87EigEC4AAAAABJRU5ErkJggg==',
'23FB' => 'iVBORw0KGgoAAAANSUhEUgAAAEkAAAAhAgMAAADoum54AAAACVBMVEX///8AAADS0tIrj1xmAAAAZUlEQVR4nGNYhQEaGAYTpIn7WANYQ1hDA0MdkMREpoi0sjYwOgQgiQW0MjS6AsVEkHW3MiCrg7hp2qqwpaErQ7OQ3RfAgGEeowOmeawNmGIiDZhuCQ0FurmBEcXNAxV+VIRY3AcAi7nKCkJFVakAAAAASUVORK5CYII=',
'0979' => 'iVBORw0KGgoAAAANSUhEUgAAAEkAAAAhAgMAAADoum54AAAACVBMVEX///8AAADS0tIrj1xmAAAAeUlEQVR4nGNYhQEaGAYTpIn7GB0YQ1hDA6Y6IImxBrC2MjQEBAQgiYlMEWl0aAh0EEESC2gFijU6wsTATopaunRp1tJVUWFI7gtoZQx0mMIwFVUvQ6NDANBcFDtYgKYxoNgBcgtrAwOKW8BubmBAcfNAhR8VIRb3AQD/YsvXhNFv2wAAAABJRU5ErkJggg==',
'1AD1' => 'iVBORw0KGgoAAAANSUhEUgAAAEkAAAAhAgMAAADoum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mMAawNjpMdUASC2gFqmwICAhAEWMIYGh0dBBBct+0qauiVk1dmTUNyX2srijqIBCktyEwNARJTAAihqJOZAoD0C2oelkDWEMZQxlRzRug8KMixOI+AHGBycFywSvGAAAAAElFTkSuQmCC',
'3349' => 'iVBORw0KGgoAAAANSUhEUgAAAEkAAAAhAgMAAADoum54AAAACVBMVEX///8AAADS0tIrj1xmAAAAaElEQVR4nGNYhQEaGAYTpIn7RANYQxgaHaY6IIkFTBFpZWh1CAhAVtkKUuXoIIIsNgUoGggXAztpZdSqsJWZWVFhyO4DqmMF6hZBM881NKABXcyh0QHFDrBbGlHdgs3NAxV+VIRY3AcAwFDMuPPKh68AAAAASUVORK5CYII=',
'B742' => 'iVBORw0KGgoAAAANSUhEUgAAAEkAAAAhAgMAAADoum54AAAACVBMVEX///8AAADS0tIrj1xmAAAAc0lEQVR4nGNYhQEaGAYTpIn7QgNEQx0aHaY6IIkFTGFodGh1CAhAFmsFik11dBBBVdfKEOjQIILkvtCoVdNWZmatikJyH1BdAGsj0BYU8xgdWEOBpqKIsTYAbZmCIjZFBCQWgOpmkJhjaMggCD8qQizuAwC5M87T/bVB7QAAAABJRU5ErkJggg==',
'7D9E' => 'iVBORw0KGgoAAAANSUhEUgAAAEkAAAAhAgMAAADoum54AAAACVBMVEX///8AAADS0tIrj1xmAAAAYklEQVR4nGNYhQEaGAYTpIn7QkNFQxhCGUMDkEVbRVoZHR0dGFDFGl0bAlHFpqCIQdwUNW1lZmZkaBaS+xgdRBodQlD1sjYAxdDMEwGKOaKJBTRguiWgAYubByj8qAixuA8ADr7Kl8Etk1gAAAAASUVORK5CYII=',
'A845' => 'iVBORw0KGgoAAAANSUhEUgAAAEkAAAAhAgMAAADoum54AAAACVBMVEX///8AAADS0tIrj1xmAAAAdUlEQVR4nGNYhQEaGAYTpIn7GB0YQxgaHUMDkMRYA1hbGVodHZDViUwRaXSYiioW0ApUF+jo6oDkvqilK8NWZmZGRSG5D6SOtdGhQQRJb2ioSKMr0FYR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COKmwcq/KgIsbgPAIpgx7v+WAmDAAAAAElFTkSuQmCC',
'019C' => 'iVBORw0KGgoAAAANSUhEUgAAAEkAAAAhAgMAAADoum54AAAACVBMVEX///8AAADS0tIrj1xmAAAAa0lEQVR4nGNYhQEaGAYTpIn7GB0YAhhCGaYGIImxBjAGMDo6BIggiYlMYQ1gbQh0YEESC2hlAIshuy9q6aqolZmRWcjuA6ljCIGrQ4g1oIqJTGEIYESzgzWAAcMtjA6soehuHqjwoyLE4j4AGn7IJHjHWsQAAAAASUVORK5CYII='
);
$this->text = array_rand( $images );
return $images[ $this->text ] ;
}
function out_processing_gif(){
$image = dirname(__FILE__) . '/processing.gif';
$base64_image = "R0lGODlhFAAUALMIAPh2AP+TMsZiALlcAKNOAOp4ANVqAP+PFv///wAAAAAAAAAAAAAAAAAAAAAAAAAAACH/C05FVFNDQVBFMi4wAwEAAAAh+QQFCgAIACwAAAAAFAAUAAAEUxDJSau9iBDMtebTMEjehgTBJYqkiaLWOlZvGs8WDO6UIPCHw8TnAwWDEuKPcxQml0Ynj2cwYACAS7VqwWItWyuiUJB4s2AxmWxGg9bl6YQtl0cAACH5BAUKAAgALAEAAQASABIAAAROEMkpx6A4W5upENUmEQT2feFIltMJYivbvhnZ3Z1h4FMQIDodz+cL7nDEn5CH8DGZhcLtcMBEoxkqlXKVIgAAibbK9YLBYvLtHH5K0J0IACH5BAUKAAgALAEAAQASABIAAAROEMkphaA4W5upMdUmDQP2feFIltMJYivbvhnZ3V1R4BNBIDodz+cL7nDEn5CH8DGZAMAtEMBEoxkqlXKVIg4HibbK9YLBYvLtHH5K0J0IACH5BAUKAAgALAEAAQASABIAAAROEMkpjaE4W5tpKdUmCQL2feFIltMJYivbvhnZ3R0A4NMwIDodz+cL7nDEn5CH8DGZh8ONQMBEoxkqlXKVIgIBibbK9YLBYvLtHH5K0J0IACH5BAUKAAgALAEAAQASABIAAAROEMkpS6E4W5spANUmGQb2feFIltMJYivbvhnZ3d1x4JMgIDodz+cL7nDEn5CH8DGZgcBtMMBEoxkqlXKVIggEibbK9YLBYvLtHH5K0J0IACH5BAUKAAgALAEAAQASABIAAAROEMkpAaA4W5vpOdUmFQX2feFIltMJYivbvhnZ3V0Q4JNhIDodz+cL7nDEn5CH8DGZBMJNIMBEoxkqlXKVIgYDibbK9YLBYvLtHH5K0J0IACH5BAUKAAgALAEAAQASABIAAAROEMkpz6E4W5tpCNUmAQD2feFIltMJYivbvhnZ3R1B4FNRIDodz+cL7nDEn5CH8DGZg8HNYMBEoxkqlXKVIgQCibbK9YLBYvLtHH5K0J0IACH5BAkKAAgALAEAAQASABIAAAROEMkpQ6A4W5spIdUmHQf2feFIltMJYivbvhnZ3d0w4BMAIDodz+cL7nDEn5CH8DGZAsGtUMBEoxkqlXKVIgwGibbK9YLBYvLtHH5K0J0IADs=";
$binary = is_file($image) ? join("",file($image)) : base64_decode($base64_image);
header("Cache-Control: post-check=0, pre-check=0, max-age=0, no-store, no-cache, must-revalidate");
header("Pragma: no-cache");
header("Content-type: image/gif");
echo $binary;
}
}
# end of class phpfmgImage
# ------------------------------------------------------
# end of module : captcha
# module user
# ------------------------------------------------------
function phpfmg_user_isLogin(){
return ( isset($_SESSION['authenticated']) && true === $_SESSION['authenticated'] );
}
function phpfmg_user_logout(){
session_destroy();
header("Location: admin.php");
}
function phpfmg_user_login()
{
if( phpfmg_user_isLogin() ){
return true ;
};
$sErr = "" ;
if( 'Y' == $_POST['formmail_submit'] ){
if(
defined( 'PHPFMG_USER' ) && strtolower(PHPFMG_USER) == strtolower($_POST['Username']) &&
defined( 'PHPFMG_PW' ) && strtolower(PHPFMG_PW) == strtolower($_POST['Password'])
){
$_SESSION['authenticated'] = true ;
return true ;
}else{
$sErr = 'Login failed. Please try again.';
}
};
// show login form
phpfmg_admin_header();
?>
<form name="frmFormMail" action="" method='post' enctype='multipart/form-data'>
<input type='hidden' name='formmail_submit' value='Y'>
<br><br><br>
<center>
<div style="width:380px;height:260px;">
<fieldset style="padding:18px;" >
<table cellspacing='3' cellpadding='3' border='0' >
<tr>
<td class="form_field" valign='top' align='right'>Email :</td>
<td class="form_text">
<input type="text" name="Username" value="<?php echo $_POST['Username']; ?>" class='text_box' >
</td>
</tr>
<tr>
<td class="form_field" valign='top' align='right'>Password :</td>
<td class="form_text">
<input type="password" name="Password" value="" class='text_box'>
</td>
</tr>
<tr><td colspan=3 align='center'>
<input type='submit' value='Login'><br><br>
<?php if( $sErr ) echo "<span style='color:red;font-weight:bold;'>{$sErr}</span><br><br>\n"; ?>
<a href="admin.php?mod=mail&func=request_password">I forgot my password</a>
</td></tr>
</table>
</fieldset>
</div>
<script type="text/javascript">
document.frmFormMail.Username.focus();
</script>
</form>
<?php
phpfmg_admin_footer();
}
function phpfmg_mail_request_password(){
$sErr = '';
if( $_POST['formmail_submit'] == 'Y' ){
if( strtoupper(trim($_POST['Username'])) == strtoupper(trim(PHPFMG_USER)) ){
phpfmg_mail_password();
exit;
}else{
$sErr = "Failed to verify your email.";
};
};
$n1 = strpos(PHPFMG_USER,'@');
$n2 = strrpos(PHPFMG_USER,'.');
$email = substr(PHPFMG_USER,0,1) . str_repeat('*',$n1-1) .
'@' . substr(PHPFMG_USER,$n1+1,1) . str_repeat('*',$n2-$n1-2) .
'.' . substr(PHPFMG_USER,$n2+1,1) . str_repeat('*',strlen(PHPFMG_USER)-$n2-2) ;
phpfmg_admin_header("Request Password of Email Form Admin Panel");
?>
<form name="frmRequestPassword" action="admin.php?mod=mail&func=request_password" method='post' enctype='multipart/form-data'>
<input type='hidden' name='formmail_submit' value='Y'>
<br><br><br>
<center>
<div style="width:580px;height:260px;text-align:left;">
<fieldset style="padding:18px;" >
<legend>Request Password</legend>
Enter Email Address <b><?php echo strtoupper($email) ;?></b>:<br />
<input type="text" name="Username" value="<?php echo $_POST['Username']; ?>" style="width:380px;">
<input type='submit' value='Verify'><br>
The password will be sent to this email address.
<?php if( $sErr ) echo "<br /><br /><span style='color:red;font-weight:bold;'>{$sErr}</span><br><br>\n"; ?>
</fieldset>
</div>
<script type="text/javascript">
document.frmRequestPassword.Username.focus();
</script>
</form>
<?php
phpfmg_admin_footer();
}
function phpfmg_mail_password(){
phpfmg_admin_header();
if( defined( 'PHPFMG_USER' ) && defined( 'PHPFMG_PW' ) ){
$body = "Here is the password for your form admin panel:\n\nUsername: " . PHPFMG_USER . "\nPassword: " . PHPFMG_PW . "\n\n" ;
if( 'html' == PHPFMG_MAIL_TYPE )
$body = nl2br($body);
mailAttachments( PHPFMG_USER, "Password for Your Form Admin Panel", $body, PHPFMG_USER, 'You', "You <" . PHPFMG_USER . ">" );
echo "<center>Your password has been sent.<br><br><a href='admin.php'>Click here to login again</a></center>";
};
phpfmg_admin_footer();
}
function phpfmg_writable_check(){
if( is_writable( dirname(PHPFMG_SAVE_FILE) ) && is_writable( dirname(PHPFMG_EMAILS_LOGFILE) ) ){
return ;
};
?>
<style type="text/css">
.fmg_warning{
background-color: #F4F6E5;
border: 1px dashed #ff0000;
padding: 16px;
color : black;
margin: 10px;
line-height: 180%;
width:80%;
}
.fmg_warning_title{
font-weight: bold;
}
</style>
<br><br>
<div class="fmg_warning">
<div class="fmg_warning_title">Your form data or email traffic log is NOT saving.</div>
The form data (<?php echo PHPFMG_SAVE_FILE ?>) and email traffic log (<?php echo PHPFMG_EMAILS_LOGFILE?>) will be created automatically when the form is submitted.
However, the script doesn't have writable permission to create those files. In order to save your valuable information, please set the directory to writable.
If you don't know how to do it, please ask for help from your web Administrator or Technical Support of your hosting company.
</div>
<br><br>
<?php
}
function phpfmg_log_view(){
$n = isset($_REQUEST['file']) ? $_REQUEST['file'] : '';
$files = array(
1 => PHPFMG_EMAILS_LOGFILE,
2 => PHPFMG_SAVE_FILE,
);
phpfmg_admin_header();
$file = $files[$n];
if( is_file($file) ){
if( 1== $n ){
echo "<pre>\n";
echo join("",file($file) );
echo "</pre>\n";
}else{
$man = new phpfmgDataManager();
$man->displayRecords();
};
}else{
echo "<b>No form data found.</b>";
};
phpfmg_admin_footer();
}
function phpfmg_log_download(){
$n = isset($_REQUEST['file']) ? $_REQUEST['file'] : '';
$files = array(
1 => PHPFMG_EMAILS_LOGFILE,
2 => PHPFMG_SAVE_FILE,
);
$file = $files[$n];
if( is_file($file) ){
phpfmg_util_download( $file, PHPFMG_SAVE_FILE == $file ? 'form-data.csv' : 'email-traffics.txt', true, 1 ); // skip the first line
}else{
phpfmg_admin_header();
echo "<b>No email traffic log found.</b>";
phpfmg_admin_footer();
};
}
function phpfmg_log_delete(){
$n = isset($_REQUEST['file']) ? $_REQUEST['file'] : '';
$files = array(
1 => PHPFMG_EMAILS_LOGFILE,
2 => PHPFMG_SAVE_FILE,
);
phpfmg_admin_header();
$file = $files[$n];
if( is_file($file) ){
echo unlink($file) ? "It has been deleted!" : "Failed to delete!" ;
};
phpfmg_admin_footer();
}
function phpfmg_util_download($file, $filename='', $toCSV = false, $skipN = 0 ){
if (!is_file($file)) return false ;
set_time_limit(0);
$buffer = "";
$i = 0 ;
$fp = @fopen($file, 'rb');
while( !feof($fp)) {
$i ++ ;
$line = fgets($fp);
if($i > $skipN){ // skip lines
if( $toCSV ){
$line = str_replace( chr(0x09), ',', $line );
$buffer .= phpfmg_data2record( $line, false );
}else{
$buffer .= $line;
};
};
};
fclose ($fp);
/*
If the Content-Length is NOT THE SAME SIZE as the real conent output, Windows+IIS might be hung!!
*/
$len = strlen($buffer);
$filename = basename( '' == $filename ? $file : $filename );
$file_extension = strtolower(substr(strrchr($filename,"."),1));
switch( $file_extension ) {
case "pdf": $ctype="application/pdf"; break;
case "exe": $ctype="application/octet-stream"; break;
case "zip": $ctype="application/zip"; break;
case "doc": $ctype="application/msword"; break;
case "xls": $ctype="application/vnd.ms-excel"; break;
case "ppt": $ctype="application/vnd.ms-powerpoint"; break;
case "gif": $ctype="image/gif"; break;
case "png": $ctype="image/png"; break;
case "jpeg":
case "jpg": $ctype="image/jpg"; break;
case "mp3": $ctype="audio/mpeg"; break;
case "wav": $ctype="audio/x-wav"; break;
case "mpeg":
case "mpg":
case "mpe": $ctype="video/mpeg"; break;
case "mov": $ctype="video/quicktime"; break;
case "avi": $ctype="video/x-msvideo"; break;
//The following are for extensions that shouldn't be downloaded (sensitive stuff, like php files)
case "php":
case "htm":
case "html":
$ctype="text/plain"; break;
default:
$ctype="application/x-download";
}
//Begin writing headers
header("Pragma: public");
header("Expires: 0");
header("Cache-Control: must-revalidate, post-check=0, pre-check=0");
header("Cache-Control: public");
header("Content-Description: File Transfer");
//Use the switch-generated Content-Type
header("Content-Type: $ctype");
//Force the download
header("Content-Disposition: attachment; filename=".$filename.";" );
header("Content-Transfer-Encoding: binary");
header("Content-Length: ".$len);
while (@ob_end_clean()); // no output buffering !
flush();
echo $buffer ;
return true;
}
?>

File diff suppressed because it is too large Load Diff

View File

@ -1,104 +0,0 @@
<?php
if( !defined('FormmailMakerFormLoader') ){
require_once( dirname(__FILE__).'/signup.lib.php' );
phpfmg_display_form();
};
function phpfmg_form( $sErr = false ){
$style=" class='form_text' ";
?>
<div id='frmFormMailContainer'>
<form style="text-align: center;" name="frmFormMail" id="frmFormMail" target="submitToFrame" action='<?php echo PHPFMG_ADMIN_URL . '' ; ?>' method='post' enctype='multipart/form-data' onsubmit='return fmgHandler.onSubmit(this);'>
<input type='hidden' name='formmail_submit' value='Y'>
<input type='hidden' name='mod' value='ajax'>
<input type='hidden' name='func' value='submit'>
<ol class='phpfmg_form' >
<li class='field_block' id='field_0_div'><div class='col_label'>
<label class='form_field'>Contact Name:</label></div>
<div class='col_field'>
<input type="text" name="field_0" id="field_0" value="<?php phpfmg_hsc("field_0", ""); ?>" class='text_box'>
<div id='field_0_tip' class='instruction'></div>
</div>
</li>
<li class='field_block' id='field_1_div'><div class='col_label'>
<label class='form_field'>Desired Username:</label></div>
<div class='col_field'>
<input type="text" name="field_1" id="field_1" value="<?php phpfmg_hsc("field_1", ""); ?>" class='text_box'>
<div id='field_1_tip' class='instruction'></div>
</div>
</li>
<li class='field_block' id='field_2_div'><div class='col_label'>
<label class='form_field'>Email Address:</label></div>
<div class='col_field'>
<input type="text" name="field_2" id="field_2" value="<?php phpfmg_hsc("field_2", ""); ?>" class='text_box'>
<div id='field_2_tip' class='instruction'></div>
</div>
</li>
<li class='field_block' id='field_3_div'><div class='col_label'>
<label class='form_field'>What interests you about thunix?</label></div>
<div class='col_field'>
<textarea name="field_3" id="field_3" rows=4 cols=25 class='text_area'><?php phpfmg_hsc("field_3"); ?></textarea>
<div id='field_3_tip' class='instruction'></div>
</div>
</li>
<li class='field_block' id='field_4_div'><div class='col_label'>
<label class='form_field'>Public SSH Key:</label></div>
<div class='col_field'>
<textarea name="field_4" id="field_4" rows=4 cols=25 class='text_area'><?php phpfmg_hsc("field_4"); ?></textarea>
<div id='field_4_tip' class='instruction'></div>
</div>
</li>
<li class='field_block' id='phpfmg_captcha_div'>
<div class='col_label'><label class='form_field'>Security Code:</label></div><div class='col_field'>
<?php phpfmg_show_captcha(); ?>
</div>
</li>
<li>
<div class='form_submit_block col_field'>
<input type='submit' value='Send' class='form_button'>
<div id='err_required' class="form_error" style='display:none;'>
<label class='form_error_title'>Please fill in every field.</label>
</div>
<span id='phpfmg_processing' style='display:none;'>
<img id='phpfmg_processing_gif' src='<?php echo PHPFMG_ADMIN_URL . '?mod=image&amp;func=processing' ;?>' alt='Processing...'> <label id='phpfmg_processing_dots'></label>
</span>
</div>
</li>
</ol>
</form>
<br><p>If you don't have a public SSH key, don't worry! Check out <a href="https://tilde.team/wiki/?page=ssh">this guide</a> to SSH keys and make sure that you only fill in your public SSH key here.</p>
<p>Signing up implies that you agree with our <a href="/tos.php">terms of service</a>. If you haven't done so, please read it before you sign up.</p>
<iframe name="submitToFrame" id="submitToFrame" src="javascript:false" style="position:absolute;top:-10000px;left:-10000px;"></iframe>
</div>
<!-- end of form container -->
<!-- [Your confirmation message goes here] -->
<div id='thank_you_msg' style='display:none;'>
Your signup form has been sent. Thank you!
</div>
<?php
phpfmg_javascript($sErr);
}
# end of form
function phpfmg_form_css(){
$formOnly = isset($GLOBALS['formOnly']) && true === $GLOBALS['formOnly'];
?>
<style>
ol.phpfmg_form{
list-style-type:none;
padding:0px;
margin:0px;
}
.text_box, .text_area, .text_select {
min-width:500px;
max-width:500px;
}
.form_error_title{
font-weight: bold;
color: #FF0000;
}
<?php phpfmg_text_align();?>
</style>
<?php
}
# end of css
?>

File diff suppressed because it is too large Load Diff

317
site.css
View File

@ -1,317 +0,0 @@
body {
margin: 0;
padding: 0;
background: #222222;
font-family: Consolas, Arial, Helvetica, Sans-Serif;
font-size: 12px;
color: #00CD00;
}
h1, h2, h3 {
margin: 0;
padding: 0;
font-weight: normal;
color: #00CD00;
}
h1 {
font-size: 2em;
}
h2 {
font-size: 1.8em;
}
h3 {
font-size: 1.6em;
}
p, ul, ol {
margin-top: 0;
line-height: 180%;
}
ul, ol {
}
a {
color: #00CDCD;
text-decoration: none;
}
a:hover {
text-decoration: underline;
}
#top {
margin: 0 auto;
padding: 0;
}
/* Header */
#header {
background: linear-gradient(#666666,#222222);
margin: 0 auto;
padding: 0px 0px 0px 0px;
}
/* Logo */
#logo {
text-align: center;
margin: 0;
padding-top: 20px;
}
#logo h1, #logo p {
margin: 0;
padding: 0;
}
#logo h1 {
font-size: 3.8em;
color: #EEEEEE;
text-shadow: -1px 1px #000000;
}
#logo p {
margin: 0;
padding: 0px 0 0 2px;
font: normal 14px Georgia, "Times New Roman", Times, serif;
font-style: italic;
color: #00CD00;
}
#logo a {
text-decoration: none;
font-family: sans-serif;
color: #EEEEEE;
}
#logo a:hover {
text-decoration: underline;
font-family: sans-serif;
color: #EEEEEE;
}
/* Menu */
#menu {
height: 90px;
margin: 0 auto;
padding: 0;
}
#menu ul {
margin: 0;
padding: 50px 0px 0px 0px;
list-style: none;
line-height: normal;
}
#menu li {
float: left;
}
#menu a {
display: block;
width: 130px;
height: 30px;
margin-right: 1px;
padding: 9px 0px 0px 0px;
text-decoration: none;
text-align: center;
font-size: 13px;
font-weight: bold;
color: #00CDCD;
border: none;
}
#menu a:hover, #menu .current_page_item a {
text-decoration: none;
}
#menu .current_page_item a {
padding-left: 0;
}
/* Page */
#page {
margin: 0 auto;
padding: 0px 0px 0px 0px;
}
#page-bgtop {
padding: 20px 0px;
}
/* Content */
#content {
padding: 0px 20px 0px 20px;
}
@media only screen and (orientation: landscape) and (min-width: 1024px){
#content {
float: right;
width: 74%;
padding: 0px 20px 0px 0px;
}
}
.post {
background: #000000;
border: 2px solid #EEEEEE;
border-radius: 5px;
margin-bottom: 40px;
}
.post .title {
height: 33px;
padding: 7px 0px 0px 30px;
background: #EEEEEE;
letter-spacing: -.5px;
color: #000000;
}
.post .title a {
color: #000000;
border: none;
}
.post .meta {
margin-bottom: 30px;
padding: 20px 30px 0px 30px;
text-align: left;
font-family: Consolas, Arial, Helvetica, Sans-Serif;
font-size: 13px;
font-weight: bold;
font-style: italic;
}
.post .meta .date {
float: left;
}
.post .meta .posted {
float: right;
}
.post .meta a {
}
.post .entry {
font-size: 14px;
padding: 0px 30px 20px 30px;
padding-bottom: 20px;
text-align: justify;
}
.links {
padding-top: 20px;
font-size: 12px;
font-weight: bold;
}
/* Sidebar */
#sidebar {
margin: 0px;
padding: 0px 0px 0px 0px;
color: #00CD00;
}
@media only screen and (orientation: landscape) and (min-width: 1024px){
#sidebar {
float: left;
width: 22%;
margin: 0px;
padding: 0px 20px 0px 0px;
color: #00CD00;
}
}
#sidebar ul {
margin: 0;
padding: 0;
list-style: none;
}
#sidebar li {
margin: 0;
padding: 0;
}
#sidebar li ul {
margin: 0px 0px;
padding-bottom: 30px;
}
#sidebar li li {
padding-bottom: 5px;
line-height: 16px;
border-bottom: 1px solid #222222;
margin: 5px 30px 0px;
border-left: none;
}
#sidebar li li span {
display: block;
margin-top: -20px;
padding: 0;
font-size: 11px;
font-style: italic;
}
#sidebar h2 {
height: 38px;
padding-left: 30px;
letter-spacing: -.5px;
font-size: 1.5em;
}
#sidebar p {
margin: 0 0px;
padding: 0px 30px 20px 30px;
text-align: justify;
}
#sidebar a {
border: none;
color: #00CDCD;
}
#sidebar a:hover {
text-decoration: underline;
color: #00CDCD;
}
/* Footer */
#footer {
margin: 0 auto;
padding: 0px 0 15px 0;
background: linear-gradient(#222222,#000000);
font-family: Consolas, Arial, Helvetica, Sans-Serif;
}
#footer p {
margin: 0;
padding-top: 15px;
line-height: normal;
font-size: 9px;
text-align: center;
color: #00CD00;
}
#footer a {
color: #00CDCD;
}
#footer a:hover {
text-decoration: underline;
color: #00CDCD;
}

427
sitemap.xml Normal file
View File

@ -0,0 +1,427 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9
http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd">
<!-- created with Free Online Sitemap Generator www.xml-sitemaps.com -->
<url>
<loc>https://www.thunix.net/</loc>
<lastmod>2019-07-17T01:25:07+00:00</lastmod>
<priority>1.00</priority>
</url>
<url>
<loc>https://www.thunix.net/main</loc>
<lastmod>2019-07-17T01:25:07+00:00</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://www.thunix.net/faq</loc>
<lastmod>2019-07-17T01:25:07+00:00</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://www.thunix.net/tos</loc>
<lastmod>2019-07-17T01:25:07+00:00</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://www.thunix.net/gdpr</loc>
<lastmod>2019-07-17T01:25:07+00:00</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://www.thunix.net/contact</loc>
<lastmod>2019-07-17T01:25:07+00:00</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://www.thunix.net/signup</loc>
<lastmod>2019-07-17T01:25:07+00:00</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://www.thunix.net/donate</loc>
<lastmod>2019-07-17T01:25:07+00:00</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://www.thunix.net/server</loc>
<lastmod>2019-07-17T01:25:07+00:00</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://www.thunix.net/news</loc>
<lastmod>2019-07-17T01:25:07+00:00</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://www.thunix.net/users</loc>
<lastmod>2019-07-17T01:25:07+00:00</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://www.thunix.net/~amcclure/</loc>
<lastmod>2019-07-17T01:25:07+00:00</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://www.thunix.net/~ubergeek/</loc>
<lastmod>2019-07-17T01:25:07+00:00</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://www.thunix.net/~naglfar/</loc>
<lastmod>2019-07-17T01:25:07+00:00</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://www.thunix.net/~fosslinux/</loc>
<lastmod>2019-07-17T01:25:07+00:00</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://www.thunix.net/copyright</loc>
<lastmod>2019-07-17T01:25:07+00:00</lastmod>
<priority>0.80</priority>
</url>
<url>
<loc>https://www.thunix.net/~adam/</loc>
<lastmod>2019-06-10T13:48:44+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://www.thunix.net/~aniruddh/</loc>
<lastmod>2019-04-24T17:25:18+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://www.thunix.net/~brendantcc/</loc>
<lastmod>2019-02-17T23:13:11+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://www.thunix.net/~cyphyx/</loc>
<lastmod>2019-07-17T01:25:07+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://www.thunix.net/~diabla/</loc>
<lastmod>2019-01-10T23:22:46+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://www.thunix.net/~gokce/</loc>
<lastmod>2019-01-07T22:00:54+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://www.thunix.net/~isaac/</loc>
<lastmod>2019-07-09T01:02:26+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://www.thunix.net/~khuxkm/</loc>
<lastmod>2019-06-14T13:18:42+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://www.thunix.net/~mandlebroth/</loc>
<lastmod>2019-07-17T01:25:07+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://www.thunix.net/~ml/</loc>
<lastmod>2019-01-23T10:05:23+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://www.thunix.net/~orliesaurus/</loc>
<lastmod>2019-01-07T02:00:52+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://www.thunix.net/~quetzalcoatl/</loc>
<lastmod>2019-01-21T23:53:53+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://www.thunix.net/~ringo/</loc>
<lastmod>2019-01-03T01:11:03+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://www.thunix.net/~sancho/</loc>
<lastmod>2019-06-01T22:07:12+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://www.thunix.net/~smtpsupplicant/</loc>
<lastmod>2019-05-18T18:47:11+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://www.thunix.net/~techemporium/</loc>
<lastmod>2019-06-15T23:44:56+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://www.thunix.net/~thekingofbandit/</loc>
<lastmod>2019-05-29T04:46:22+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://www.thunix.net/~usernameak/</loc>
<lastmod>2019-01-15T22:17:49+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://www.thunix.net/~amcclure/home</loc>
<lastmod>2019-07-17T01:25:07+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://www.thunix.net/~amcclure/contact</loc>
<lastmod>2019-07-17T01:25:07+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://www.thunix.net/~amcclure/documents</loc>
<lastmod>2019-07-17T01:25:07+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://www.thunix.net/~amcclure/projects</loc>
<lastmod>2019-07-17T01:25:07+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://www.thunix.net/~amcclure/links</loc>
<lastmod>2019-07-17T01:25:07+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://www.thunix.net/~amcclure/readme</loc>
<lastmod>2019-07-17T01:25:07+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://www.thunix.net/~amcclure/license</loc>
<lastmod>2019-07-17T01:25:07+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://www.thunix.net/~amcclure/tos</loc>
<lastmod>2019-07-17T01:25:07+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://www.thunix.net/~amcclure/privacy</loc>
<lastmod>2019-07-17T01:25:07+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://www.thunix.net/~amcclure/etiquette</loc>
<lastmod>2019-07-17T01:25:07+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://www.thunix.net/~ubergeek/main</loc>
<lastmod>2019-07-17T01:25:07+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://www.thunix.net/~ubergeek/gopher</loc>
<lastmod>2019-07-17T01:25:07+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://www.thunix.net/~ubergeek/workstation</loc>
<lastmod>2019-07-17T01:25:07+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://www.thunix.net/~ubergeek/cli</loc>
<lastmod>2019-07-17T01:25:07+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://www.thunix.net/~ubergeek/thunix</loc>
<lastmod>2019-07-17T01:25:07+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://www.thunix.net/~ubergeek/sitecode</loc>
<lastmod>2019-07-17T01:25:07+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://www.thunix.net/~fosslinux/?C=N;O=D</loc>
<lastmod>2019-07-17T01:25:07+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://www.thunix.net/~fosslinux/?C=M;O=A</loc>
<lastmod>2019-07-17T01:25:07+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://www.thunix.net/~fosslinux/?C=S;O=A</loc>
<lastmod>2019-07-17T01:25:07+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://www.thunix.net/~fosslinux/?C=D;O=A</loc>
<lastmod>2019-07-17T01:25:07+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://www.thunix.net/~fosslinux/glowing-bear/</loc>
<lastmod>2019-02-08T00:38:04+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://www.thunix.net/~fosslinux/proxy.php</loc>
<lastmod>2019-07-17T01:25:07+00:00</lastmod>
<priority>0.64</priority>
</url>
<url>
<loc>https://www.thunix.net/~adam/copyright.html</loc>
<lastmod>2019-06-10T13:44:58+00:00</lastmod>
<priority>0.51</priority>
</url>
<url>
<loc>https://www.thunix.net/~brendantcc/.</loc>
<lastmod>2019-02-17T23:13:11+00:00</lastmod>
<priority>0.51</priority>
</url>
<url>
<loc>https://www.thunix.net/en</loc>
<lastmod>2019-07-17T01:25:07+00:00</lastmod>
<priority>0.51</priority>
</url>
<url>
<loc>https://www.thunix.net/en/archive</loc>
<lastmod>2019-07-17T01:25:07+00:00</lastmod>
<priority>0.51</priority>
</url>
<url>
<loc>https://www.thunix.net/~ml/lynx_bookmarks.html</loc>
<lastmod>2019-07-15T11:48:29+00:00</lastmod>
<priority>0.51</priority>
</url>
<url>
<loc>https://www.thunix.net/~ml/fwa.txt</loc>
<lastmod>2019-07-16T15:57:08+00:00</lastmod>
<priority>0.51</priority>
</url>
<url>
<loc>https://www.thunix.net/~ml/tt.txt</loc>
<lastmod>2019-01-21T07:45:06+00:00</lastmod>
<priority>0.51</priority>
</url>
<url>
<loc>https://www.thunix.net/~ml/lw</loc>
<lastmod>2019-07-15T11:48:29+00:00</lastmod>
<priority>0.51</priority>
</url>
<url>
<loc>https://www.thunix.net/~sancho/.</loc>
<lastmod>2019-06-01T22:07:12+00:00</lastmod>
<priority>0.51</priority>
</url>
<url>
<loc>https://www.thunix.net/~sancho/pages/about-me.html</loc>
<lastmod>2019-06-01T22:07:12+00:00</lastmod>
<priority>0.51</priority>
</url>
<url>
<loc>https://www.thunix.net/~sancho/category/general.html</loc>
<lastmod>2019-06-01T22:07:12+00:00</lastmod>
<priority>0.51</priority>
</url>
<url>
<loc>https://www.thunix.net/~sancho/first-post.html</loc>
<lastmod>2019-06-01T22:07:12+00:00</lastmod>
<priority>0.51</priority>
</url>
<url>
<loc>https://www.thunix.net/copyright.htm</loc>
<lastmod>2019-07-17T01:25:07+00:00</lastmod>
<priority>0.51</priority>
</url>
<url>
<loc>https://www.thunix.net/~techemporium/htpwdgen.php</loc>
<lastmod>2019-07-17T01:25:07+00:00</lastmod>
<priority>0.51</priority>
</url>
<url>
<loc>https://www.thunix.net/~techemporium/crapforum.php</loc>
<lastmod>2019-07-17T01:25:07+00:00</lastmod>
<priority>0.51</priority>
</url>
<url>
<loc>https://www.thunix.net/~techemporium/hcsfs.php</loc>
<lastmod>2019-07-17T01:25:07+00:00</lastmod>
<priority>0.51</priority>
</url>
<url>
<loc>https://www.thunix.net/~techemporium/pmcms.php</loc>
<lastmod>2019-07-17T01:25:07+00:00</lastmod>
<priority>0.51</priority>
</url>
<url>
<loc>https://www.thunix.net/~techemporium/sshacs.php</loc>
<lastmod>2019-07-17T01:25:07+00:00</lastmod>
<priority>0.51</priority>
</url>
<url>
<loc>https://www.thunix.net/~techemporium/warlord.php</loc>
<lastmod>2019-07-17T01:25:07+00:00</lastmod>
<priority>0.51</priority>
</url>
<url>
<loc>https://www.thunix.net/~techemporium/technes.php</loc>
<lastmod>2019-07-17T01:25:07+00:00</lastmod>
<priority>0.51</priority>
</url>
<url>
<loc>https://www.thunix.net/~techemporium/browzos.php</loc>
<lastmod>2019-07-17T01:25:07+00:00</lastmod>
<priority>0.51</priority>
</url>
<url>
<loc>https://www.thunix.net/~fosslinux/?C=N;O=A</loc>
<lastmod>2019-07-17T01:25:07+00:00</lastmod>
<priority>0.51</priority>
</url>
<url>
<loc>https://www.thunix.net/~fosslinux/?C=M;O=D</loc>
<lastmod>2019-07-17T01:25:07+00:00</lastmod>
<priority>0.51</priority>
</url>
<url>
<loc>https://www.thunix.net/~fosslinux/?C=S;O=D</loc>
<lastmod>2019-07-17T01:25:07+00:00</lastmod>
<priority>0.51</priority>
</url>
<url>
<loc>https://www.thunix.net/~fosslinux/?C=D;O=D</loc>
<lastmod>2019-07-17T01:25:07+00:00</lastmod>
<priority>0.51</priority>
</url>
<url>
<loc>https://www.thunix.net/~techemporium/gpl-3.0.php</loc>
<lastmod>2019-07-17T01:25:07+00:00</lastmod>
<priority>0.41</priority>
</url>
<url>
<loc>https://www.thunix.net/~techemporium/mit_license.php</loc>
<lastmod>2019-07-17T01:25:07+00:00</lastmod>
<priority>0.41</priority>
</url>
</urlset>

6
teapot.php Normal file
View File

@ -0,0 +1,6 @@
<?php
http_response_code(418);
echo "HTTP 418 - I'm a teapot.";
?>

1459
tilde.json Normal file

File diff suppressed because it is too large Load Diff

43
tos.php
View File

@ -1,43 +0,0 @@
<?php include 'HEADER.php'; ?>
<title>Terms of Service - thunix Community</title>
</head>
<body>
<div id="top">
<div id="header">
<div id="logo">
<h1>&#9763; thunix</h1>
</div>
</div>
<div id="page">
<div id="page-bgtop">
<div id="page-bgbtm">
<div id="content">
<div class="post">
<h2 class="title">Terms of Service</h2>
<div style="clear: both;">&nbsp;</div>
<div class="entry">
<p>Nothing is without its rules and regulations; thunix is no exception. Below are the site's service terms. Everything in this page should be clear to everyone who wishes to use thunix's services; failure to abide by these terms can result in such penalties as service bans and even legal action, depending on the severity of a violation. Be sure to read this page carefully and understand it.</p><p>thunix relies on the common courtesy and consideration of users to make its services fair for everyone. The following offences will result in a service ban:</p>
<ol>
<li>Deliberately defacing the accounts of other users</li>
<li>Deliberately trying to disrupt thunix's server</li>
<li>Using thunix as a launch pad for disrupting other servers</li>
<li>Using thunix to impersonate other websites and businesses for criminal purposes</li>
<li>Storing/distributing pornography of any genre and medium (especially child pornography)</li>
<li>Storing/distributing content that defames any individual</li>
<li>Promoting racial, ethnic, religious, political and other forms of bigotry</li>
<li>Storing/distributing, promoting, or encouraging use of pirated/cracked software, license keys, license/registration circumvention programs, or any questionable programs/scripts that can risk causing unauthorized modifications, or disrupts network services for any programs or devices.</li>
<li>Mining cryptocurrencies</li>
<li>Spamming on any forums, mailing lists, irc channels, newsgroups, etc.</li>
</ol>
<p>Items 4, 5, 6, 7, and 8 may also result in legal action against any offending users, depending on the severity of each case and any other individuals who may have been affected.</p>
<p>Copyright infringement is not allowed on thunix, and we will not allow any illegal content to be distributed.</p>
<p>It's also expected that all users respect the copyrights of those who produce original content of any kind (only share if the author or license grants you permission). However, using accounts for external file storage is permissible, under fair use and other laws promoting consumer rights. Note that original content from other users must also be respected, though creating/sharing public domain content is highly encouraged.</p>
<p>If you want to request for content you own the copyright for to be removed from thunix, please refer to our <a href="/abuse.php">abuse reporting page</a>. In the email, please identify who you are, if you are the copyright holder or legally representing them, the exact files you want removed with links to the files and infringed content, and contact information such as phone numbers or a reply-to email address.</p>
<p>Users that repeatedly infringe copyrights will have their account removed. Depending on the degree of the offense, their account may be removed immediately.</p>
<p>These rules also apply to official communication services such as forums, mailing lists, irc channels, newsgroups, and any other service hosted on thunix. If you come across anything that violates the terms of service, please let us know with the <a href="/abuse.php">abuse reporting page</a>.</p>
</div>
</div>
<div style="clear: both;">&nbsp;</div>
</div>
<?php include 'MENU.php'; ?>
<?php include 'FOOTER.php'; ?>

View File

@ -1,37 +0,0 @@
<?php include 'HEADER.php'; ?>
<title>User Web Directories - thunix Community</title>
</head>
<body>
<div id="top">
<div id="header">
<div id="logo">
<h1>&#9763; thunix</h1>
</div>
</div>
<div id="page">
<div id="page-bgtop">
<div id="page-bgbtm">
<div id="content">
<div class="post">
<h2 class="title">User Web Directories</h2>
<div style="clear: both;">&nbsp;</div>
<div class="entry">
<p>Below is a list of user web directories:</p>
<ul style="list-style: none; margin-left: -40px;">
<?php
foreach (glob("/home/*") as $user):
if (!is_dir($user . "/public_html") || (!file_exists($user . "/public_html/index.html") && !file_exists($user . "/public_html/index.php")))
continue;
$user = basename($user);?>
<li><a href="/~<?=$user?>/">~<?=$user?></a></li>
<?php endforeach; ?>
</ul>
<p>Note that most content on thunix are provided by thunix's users, not the owner of the server. Comments should be addressed to the owner of the web directory in the first instance - their email address here is <code>&lt;username&gt;@thunix.net</code>, unless otherwise specified within their web directory.</p>
<p>If there is a problem which is not resolved by the owner of the web directory, please send us an <a href="/abuse.php">abuse report</a>.</p>
<p>If you want to be added to this list, simply create an index.html or index.php file and upload it to your public_html directory. If you want to be removed from the list, simply remove your index file from your public_html directory.</p>
</div>
</div>
<div style="clear: both;">&nbsp;</div>
</div>
<?php include 'MENU.php'; ?>
<?php include 'FOOTER.php'; ?>

91
wiki.php Normal file
View File

@ -0,0 +1,91 @@
<?php
/*
This code is licensed under the AGPL 3 or later by ubergeek (https://tildegit.org/ubergeek)
Parsedown is licensed under the MIT license.
*/
include('config.php');
include('parsedown-1.7.3/Parsedown.php');
include('parsedown-extra-0.7.1/ParsedownExtra.php');
if(isset($_GET['page']))
$page = $_GET['page'];
else
$page = "main";
if(isset($_GET['style']))
$site_style = $_GET['style'];
$Parsedown = new Parsedown();
$Parsedown->setMarkupEscaped(true);
$ParsedownExtra = new ParsedownExtra();
if (empty($site_style))
$site_style="site";
$header = file_get_contents("$doc_root/includes/header.md");
$sidebar = file_get_contents("$doc_root/includes/sidebar.md");
$content = file_get_contents("$doc_root/articles/$page.md");
$footer = file_get_contents("$doc_root/includes/footer.md");
print "<!DOCTYPE html>
<html lang='en'>
<head>
<title>$site_name - $page</title>
<link rel='stylesheet' type='text/css' href='$site_root/includes/$site_style.css'>
</head>
<body>
<!-- Begin Header -->
<div id='header'>";
print $Parsedown->text($header);
print "
</div>
<!-- End Header -->
";
print "<hr>
<div id='body'>
<!-- Begin Sidebar -->
<div id='sidebar'>
";
echo $Parsedown->text($sidebar);
print " </div>
<!-- End Sidebar -->
<!-- Begin Body -->
<div id='content'>";
echo $ParsedownExtra->text($content);
switch ($page)
{
case 'users':
case 'server':
require "includes/$page.php";
}
print " </div>
<!-- End Body -->
</div>
<!-- Begin Footer -->
<div id='footer'>
<hr>
";
echo $Parsedown->text($footer);
print " <a href=\"https://tildegit.org/thunix/www\">Site Source</a> | <a href=\"https://tildegit.org/thunix/www/src/branch/master/articles/$page.md\">Page Source</a>
</div>
<!-- End Footer -->
</body>
</html>";
?>