Commit graph

155 commits

Author SHA1 Message Date
80ef5e6ba2
append .txt to the filename if the filename is "-" 2022-11-21 13:02:00 +01:00
db06f1cdc4
Better index 2022-11-21 12:59:53 +01:00
7ef35ba9bd
Removed unnecessary files 2022-11-20 15:08:49 +01:00
5fbb1f5257
Renamed upload.cgi to sakisafe.pl 2022-11-20 15:07:45 +01:00
868ba54822
Allow post to / 2022-11-20 15:07:34 +01:00
84ec3c9bc1
Rewrote the shit using Mojo 2022-11-20 12:21:31 +01:00
b39bd3bc5b Added compilation option for sakisafecli to use strlcpy on Linux systems 2022-11-12 14:41:00 +01:00
955985b825 Make code better 2022-07-15 11:16:15 +02:00
9c8749e664 Clean code 2022-07-09 16:40:25 +02:00
957b87161c Added features about sakisafecli in the readme 2022-07-09 16:31:23 +02:00
300f9fe78c Updated readme 2022-07-09 16:27:34 +02:00
cdb7bdd148 Fix memory leak 2022-07-09 09:48:37 +02:00
81e2129dd5 Moved the curl_mime thing inside the HTTP upload process, so there isn't a memory leak and the thing isn't allocated if it isn't needed. 2022-07-09 09:40:15 +02:00
1f60c083b5 Now HTTP uploads are not a mess to stdout 2022-07-08 20:53:45 +02:00
bfcc3b9d94 Cleaned the code, added the 'key' option to the config file (so you
can give a default ssh key) and added it to the manpages.
2022-07-08 20:49:19 +02:00
2daedef710 Add experimental scp support 2022-07-08 19:22:27 +02:00
272f41022b I was trolled by the FSF 2022-07-05 15:11:10 +02:00
cf163acb3e Changed to the BSD license 2022-07-05 15:06:46 +02:00
e43df05e80 Update readme and gitignore 2022-06-25 23:13:13 +02:00
64767aa30d Improved help message and added manpage entry for -C 2022-06-23 16:49:53 +02:00
1d71334340 Better documentation in the code
New flag: -C, which prints the current settings (Still have to add it to the manpage and help message)
2022-06-23 16:45:46 +02:00
a4db8e35e3 Added -x options (paste mode). And updated manpage referencing that switch. 2022-06-22 18:45:42 +02:00
7c8ebde582 Removed the store_links function, use the standard \033 escape
sequences. And created config.c which contains configuration file
related functions.
2022-06-21 16:18:07 +02:00
3aa6ba02a7 Use curl_mime instead of the deprecated curl_formadd. Also removed the
token feature as nothing uses it.
2022-06-21 16:00:51 +02:00
3cf76d429e Apparently this works 2022-06-20 12:40:51 +02:00
76e713f5b1 Mr Matao 2022-06-20 12:38:25 +02:00
9e0b5bbf08 FUG _D 2022-06-20 12:36:38 +02:00
2bd36de5e1 damn 2022-06-20 12:31:02 +02:00
e9ea553fb0 Yet another fix 2022-06-20 12:25:25 +02:00
418fce13bf Modified makefile for FreeBSD porting 2022-06-20 12:21:22 +02:00
f36642ca74 Added makefile at the root and updated readme. 2022-06-09 19:21:09 +02:00
3945bbcdcb manpages written in mdoc and added a manpage for the configuration file. Also makefile installs the manpages 2022-06-09 19:11:47 +02:00
dbb3038f8f Made the thing better for BSD systems 2022-06-09 18:32:18 +02:00
qorg11
491e309c9d
nixx1 | Oh yeah I changed that to 'file' now by the way
I_NEED_MONEY | ...
I_NEED_MONEY | I added a `if` statement for that.
2022-05-24 14:17:12 +02:00
qorg11
68e00034bb
Added support for up.concealed.world 2022-05-11 16:13:10 +02:00
qorg11
efc3ac374d
Added config file support 2022-05-06 14:03:05 +02:00
qorg11
0d1e07fe51
Rebranded 2022-05-05 20:04:29 +02:00
qorg11
0987a4cfa3
Fixed all valgrind's complains 2022-02-09 15:23:52 +01:00
qorg11
fdf5264e18
Remove newline from printinng buffer 2021-10-19 19:00:37 +02:00
qorg11
1c896a7b32
make the donation thing more tidy 2021-10-17 19:52:47 +02:00
qorg11
1d4b10b9a2
Removed info about lsd 2021-10-17 19:51:55 +02:00
qorg11
46162aab5f
damn 2021-10-17 19:05:51 +02:00
qorg11
54b4b7cf86
renamed the readme 2021-10-17 19:05:11 +02:00
qorg11
3d5593abc9
Fixed shebang 2021-10-17 19:01:28 +02:00
qorg11
6e67fb78ed
Fixed the shit lol 2021-10-17 19:00:54 +02:00
qorg11
d041a216f7
Modified the thing so you can easily paste and new index 2021-10-17 18:13:39 +02:00
qorg11
3f3d173e5d
append .txt if the filename is "-"
This is to allow pastes like `curl -F'file=@-;' https://ls.qorg11.net`
2021-10-17 14:47:28 +02:00
qorg11
20b30be2f5
Modified index 2021-10-12 13:58:57 +02:00
qorg11
d9afa6076a
changed puts("") but putchar('\n')
and added clang format so the formatting changed
2021-07-07 16:23:39 +02:00
qorg11
50a2682cab
Removed tor and I2P flags, repleaced by --socks-proxy and --httproxy
which both take them a full address (127.0.0.1:9050 for example)
2021-05-20 13:56:23 +02:00