1
0
mirror of https://github.com/Rouji/single_php_filehost.git synced 2025-04-04 16:39:34 +00:00
Commit Graph

48 Commits

Author SHA1 Message Date
Rouji
eaee93e0ed add newline to output
kept annoying people who their shell prompt stuck to the end of the link
and breaking url handling in their terminal etc.
2021-06-05 23:36:28 +02:00
Rouji
3d3ccec162 optionally detect file extension by file contents
mainly useful for the netcat -> http post bridge thing
2021-05-22 00:55:45 +02:00
Rouji
0304c069fd add license
oi m8 you got a loicense for that code?
2021-03-15 20:42:03 +01:00
Rouji
8ff340afc9 provide a generic hook thing instead of the clamav specific thing 2021-01-30 19:22:32 +01:00
Rouji
547e13d591 uncamel a case 2020-07-12 13:01:39 +02:00
Rouji
c45cde12f7 check for 0B files and reject them 2020-07-12 12:50:46 +02:00
Rouji
98b7c16263 add hint about piping to curl with a file extension 2020-06-07 22:35:39 +02:00
Rouji
0897b3e94e kill some pesky commas 2020-03-17 10:32:13 +01:00
Rouji
e05d07e7a4 remove x0 from title 2020-03-17 10:30:36 +01:00
Rouji
89145d6585 fix some html validator concerns 2019-06-24 00:40:03 +02:00
Rouji
be2d77e546 remove erroneous </title> tag 2019-06-03 19:50:27 +02:00
Rouji
985a185cdc remove erroneous \n 2019-04-20 23:48:38 +02:00
Rouji
494f4a0c89 virus->malware 2019-03-23 19:06:25 +01:00
Rouji
858427c364 get rid of .htaccess 2019-03-23 18:17:14 +01:00
Rouji
8bbc9138da clean up some things
also added logging and (clunky) scan using clamd
2019-03-23 18:12:25 +01:00
Rouji
3a2d84d7de point hupl link to github because google pulled the app from the store for no reason they feel is important enough to mention to me. also add a hupl uploader link 2018-09-19 23:35:25 +02:00
Rouji
0e52b3b0da remove testing output crap... 2017-10-02 20:58:30 +02:00
Rouji
3110662020 up the filename length only after multiple collisions 2017-10-02 20:56:04 +02:00
Rouji
5e0af0eb61 omit trailing dot on files without extension 2017-04-04 00:16:23 +02:00
Rouji
b37a6c4ae4 set destinationtype in sharex config 2017-03-28 18:39:33 +02:00
Rouji
c7fd21fa58 sharex .json -> .sxcu 2017-03-28 17:59:43 +02:00
狼耳
a858d133d0 using the correct comparison here would be a good idea, I think 2017-03-12 18:38:29 +01:00
Rj48
90ff72ffc7 change github url 2017-01-23 05:50:28 +01:00
Rj48
18a1d66d09 Merge branch 'master' of github.com:Rj48/single_php_filehost 2017-01-22 17:19:22 +01:00
Rj48
d1b1d838e3 ids don't need to be this long, do they? 2017-01-22 17:18:26 +01:00
Rj48
626a227f76 prevent filename collisions 2017-01-22 17:17:15 +01:00
Rj48
16f2b6669f add ShareX link + custom uploader 2016-12-30 05:02:09 +01:00
Rj48
9ceb65a05c commenting commentary comments 2016-12-22 22:55:31 +01:00
Rj48
13d926d210 more sane default exponent 2016-12-22 22:38:53 +01:00
Rj48
09e4a35f82 doesn't need to be uneven, I should l2maths 2016-12-22 22:37:39 +01:00
Rj48
ccb5da9d6e trim long extensions 2016-10-27 23:31:46 +02:00
Rj48
110381682a skip .htaccess and .htpasswd during purge 2016-07-18 06:24:28 +02:00
Rj48
cc1f0e9181 Merge branch 'master' of github.com:Rj48/single_php_filehost 2016-07-18 03:43:21 +02:00
Rj48
cc77a10fe5 added default directory for uploaded files + .htaccess for it 2016-07-18 03:42:34 +02:00
Rj48
077606523e gitignore is kind of useless for this 2016-07-18 03:40:06 +02:00
Rj48
7e3dd58c6f set charset for serving .txt files to utf8 2016-07-18 03:37:57 +02:00
Rj48
92937e1d30 doubly duplicated negated negatives 2016-05-13 00:02:18 +02:00
Rj48
add7171900 explaining all the explanations 2016-05-12 23:58:38 +02:00
Rj48
3232c68e83 check uploaded file's size 2016-05-12 22:56:58 +02:00
Rj48
af4af0a77a php's settings are apparently in MiB, not MB 2016-05-12 22:24:36 +02:00
Rj48
e60c3131b6 moved code to pretty file up a bit 2016-05-12 22:20:31 +02:00
Rj48
fad7869109 handle special file extensions like .tar.gz 2016-05-12 22:11:59 +02:00
Rj48
1f0f9d82a1 print warnings for incorrect php.ini settings (dynamically setting them via ini_set() doesn't really work) 2016-05-12 21:56:13 +02:00
Rj48
a41a2eafa7 appended info output with a few things 2016-05-12 20:52:20 +02:00
Rj48
0ebe995415 add readme 2016-04-27 00:14:38 +02:00
Rj48
cb5d0d7442 pretty up comments a bit 2016-04-26 23:47:09 +02:00
Rj48
9d1468b010 typo 2016-04-23 16:26:56 +02:00
Rj48
a6202ec155 initial commit 2016-04-23 04:54:23 +02:00