Commit Graph

107 Commits

Author SHA1 Message Date
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
qorg11 807e1302fe
Updated readme 2021-05-01 20:37:09 +02:00
qorg11 c81acdd4fd
Added token support 2021-04-04 14:50:24 +02:00
qorg11 89ad06ce23
whoops 2021-03-27 16:48:38 +01:00
qorg11 efbcccbe03
Now you can add pass more files to clainsafecli 2021-03-26 01:36:38 +01:00
qorg11 082d1ae23a
Make lainsafe change the name repleace the spaces in the url with %20
for weird browsers and weird clients (poezio i'm looking at you)
2021-03-23 12:43:31 +01:00
qorg11 a5b0de143b
* Modified the makefile so you can add custom CFLAGS
* Added manpage for clainsafecli
* Removed lainsafecli
2021-03-10 14:56:35 +01:00
qorg11 7f96695e4e
whoops 2021-03-10 09:55:14 +01:00
qorg11 018f0d64e4
Tabs, makefile modification and no warnings 2021-03-10 09:49:56 +01:00
qorg11 3e27f25236
Added makefile for clainsafecli 2021-03-10 09:38:43 +01:00
qorg11 7f88127116
lots 2021-02-22 16:56:57 +01:00
qorg11 8c9529a7ba
Use stdbool.h things instead of ints for true/false args 2021-02-14 20:26:45 +01:00
qorg11 fbc96d4b47
Added -4 and -6 options to force ipv4 or ipv6. 2021-02-14 03:13:30 +01:00
qorg11 3c03246af4
Added a more user friendly progress bar (in bytes so kinda to do) but
it shows the % at least.
2021-02-14 00:48:22 +01:00
qorg11 6608a22922
Added -S|--silent option to clainsafecli
This allows you not to print the progress bar
2021-02-10 22:42:59 +01:00
qorg11 7fec1f8e01
Added deprecation notice to lainsafecli 2021-02-09 19:36:44 +01:00
qorg11 0658b5f237
fugging strlen :DDDD 2021-02-09 19:01:49 +01:00
qorg11 5f840b01da
Never used that function 2021-02-09 18:39:15 +01:00
qorg11 acb47dd5bb
Added a header for clainsafecli which contains the functions. Also
added the default curl progress bar.

Added deprecation note for lainsafecli.
2021-02-09 18:23:43 +01:00
qorg11 e87c6c9b1c
fug 2021-02-06 00:15:41 +01:00
qorg11 8170a8a935
Created configuration file for clainsafecli and added option to store
links
2021-02-06 00:13:56 +01:00
qorg11 d2c48dcb66
Added --i2p to the --help message in clainsafecli and improved usage
message

starting # with '#' will be ignored, and an empty message aborts the
commit.  # # On branch master # Your branch is up to date with
'origin/master'.  # # Changes to be committed: # modified:
clainsafecli.c # # Untracked files: # clainsafecli #
2021-02-05 00:58:44 +01:00
qorg11 4535b267a9
Check if malloc() was succesful 2021-02-03 17:39:34 +01:00
qorg11 509c6e9c68
Add --i2p flag 2021-02-02 23:28:17 +01:00
qorg11 693be32ee3
Add --tor|-t flag to clainsafecli
(or you can use torsocks but well, proxies are good)
2021-02-02 14:40:58 +01:00
qorg11 6aafa6783b
Added help, usage and comments 2021-02-01 23:52:28 +01:00
qorg11 e136eebd2c
Added implementation of lainsafecli written in c, so it's faster or something
compile with gcc clainsafecli.c -lcurl -o clainsafecli
2021-02-01 23:31:14 +01:00
qorg11 ffd96c69cc
Modified the way that lainsafe stores files
Now it creates a directory for the new file, with a random name, and
and stores the file with the original filename in there, so .tar.gz
issue is fixed.
2021-01-30 22:25:07 +01:00
qorg11 bdc0246971
fix grammar, lol and isntructions on using curl and hlainsafecli 2020-11-30 10:13:00 +01:00
qorg11 551ed15a5a
I no longer mantain the debian repo 2020-11-30 10:10:23 +01:00
qorg11 100c1666f3
Default file size to 100MB 2020-11-26 21:57:53 +01:00
qorg11 bb3ac7f248
s/github.com/codeberg.org/
some idiot will tell me that ACKSHUALLY is s/github\.com/codeberg.org

fuck you
2020-11-24 22:20:41 +01:00
qorg11 7a39f6a32c
fix typo lol 2020-11-18 19:00:23 +01:00
qorg11 267a7807d6
Update the example in readme.md 2020-11-18 18:58:58 +01:00
qorg11 ac4c841e64
Stop if request method is GET 2020-11-15 02:48:42 +01:00
qorg11 59ae705c09
Updated synopsys in the manpage 2020-11-14 23:40:41 +01:00
qorg11 a3211d897e
add fcgiwrap to the installation 2020-11-14 23:30:49 +01:00
qorg11 68d9f1e56e
Change the .cgi extension to .notcgi so the stupid http server doesn't try to execute it 2020-11-14 22:48:02 +01:00
qorg11 d85e35d0d5
POSTing to / is now possible 2020-11-14 22:35:26 +01:00
qorg11 44c566380c
Merge branch 'master' of vxempire.xyz:lainsafe 2020-11-07 17:46:28 +01:00
qorg11 d363d9695b
Add --i2p to the lainsafecli manpage 2020-11-07 17:45:12 +01:00
qorg11 6165c4bfc3
Added a available servers
(Please informe me if you setup one!)
2020-10-20 16:12:09 +02:00
qorg11 abbfb622a0
duckdns lainsafe used the oldest lainsafe version as possible and delegao's doesn't and it's not cloudflared anymore. so "official" again! 2020-10-20 16:06:15 +02:00
qorg11 29bd98c134
FINAL COMMIT I SWEAR 2020-10-20 16:00:20 +02:00
qorg11 3c9e3897f6
I swear i'm not farming commits 2020-10-20 15:58:39 +02:00
qorg11 d2c759f53d
whoops 2020-10-20 15:57:55 +02:00
qorg11 baec5b3edd
Improved lainsafe manpage formatting 2020-10-20 15:56:22 +02:00
qorg11 c055fb17a3
Improved documentation 2020-10-20 15:48:23 +02:00
qorg11 072c16cceb
Added info about php lainsafe 2020-10-19 22:59:14 +02:00