Goodies serveur

Privatebin

Pour envoyer des textes depuis le serveur vers une instance de privatebin.
cf. https://github.com/pixelfactoryio/privatebin-cli

Installer l'outil (node+npm en pré-requis)
npm install -g @pixelfactory/privatebin


Exemple de commande pour un bin qui expire en 5 minutes douche comprise
cat /etc/borgmatic/config.yaml | privatebin send -e 5min -u https://paste.mrflos.pw


Transférer un fichier

croc is a tool that allows any two computers to simply and securely transfer files and folders. AFAIK, croc is the only CLI file-transfer tool that does all of the following:
  • allows any two computers to transfer data (using a relay)
  • provides end-to-end encryption (using PAKE)
  • enables easy cross-platform transfers (Windows, Linux, Mac)
  • alows multiple file transfers
  • allows resuming transfers that are interrupted
  • local server or port-forwarding not needed
  • ipv6-first with ipv4 fallback
  • can use proxy, like tor

Installation :
curl https://getcroc.schollz.com | bash


Ensuite pour envoyer un fichier, il suffit de taper la commande croc suivie du nom du fichier à envoyer :
croc send FICHIER_OU_DOSSIER


Vous obtiendrez alors un code que vous devrez transmettre à votre destinataire. Celui-ci n’aura qu’à entrer la commande croc suivie du code pour que la connexion s’établisse et que le fichier se transmette.
croc CODE


Et pour passer par Tor :
croc --socks5 "127.0.0.1:9050" send FICHIER.ZIP