d5da9a9574
I started addressing the issue I created 2 years ago about this shit
...
being unreadable. Hopefully this makes the thing more clear and
readable.
Some improvements could be done to the upload_file_* thing. As there's
really no need to pass argc and argv to those. And passing argv to
that is an overkill
Solution: To create a const char* variable and save the filename in
there and pass that to the functions. Simple as that. But i'm a lazy
motherfucker and I'm tired. Boss.
2025-01-21 23:04:41 +01:00
9af44501cc
Deleted a I that was there for free and removed an useless line
2023-03-10 14:57:17 +01:00
82422e6d37
Curl devs were very smart and decided to deprecated the
...
CURL_PROGRESSFUNCTION option that had 0 problems in my opinion and
decided to change it with CURL_XFERINFOFUNCTION thing which barely
works and had to do a very weird workaround so I don't get a floating
point exception just because. Well, it works and that's what matters.
2023-03-09 15:39:38 +01:00
a804518ef6
Fixed sakisafecli to work with latest commit
2023-02-15 12:57:18 +01:00
e28e8f54f8
Updated documentation
2022-11-30 15:04:25 +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
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
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
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