CHANGE docs from {path} to {paste_id} to make it more persistent

This commit is contained in:
Caffeine Fueled 2025-10-16 18:19:23 +02:00
parent c7446d0f48
commit f3a52b33d3
Signed by: cf7
GPG key ID: CA295D643074C68C
2 changed files with 16 additions and 16 deletions

View file

@ -58,19 +58,19 @@ ipconfig | Invoke-RestMethod -Uri "https://linedump.com/" -Method Post -Body { $
█ Download:
curl https://linedump.com/{path} # print to stdout
curl -o filename.txt https://linedump.com/{path} # save to file
curl https://linedump.com/{paste_id} # print to stdout
curl -o filename.txt https://linedump.com/{paste_id} # save to file
wget -O- https://linedump.com/{path} # print to stdout
wget -O filename.txt https://linedump.com/{path} # save to file
wget -O- https://linedump.com/{paste_id} # print to stdout
wget -O filename.txt https://linedump.com/{paste_id} # save to file
Invoke-RestMethod -Uri "https://linedump.com/{path}" # print to stdout
Invoke-RestMethod -Uri "https://linedump.com/{path}" -OutFile "filename.txt" # save to file
Invoke-RestMethod -Uri "https://linedump.com/{paste_id}" # print to stdout
Invoke-RestMethod -Uri "https://linedump.com/{paste_id}" -OutFile "filename.txt" # save to file
█ Delete:
curl -X POST "https://linedump.com/{path}?token={deletion_token}" # delete paste
curl -X POST "https://linedump.com/{paste_id}?token={deletion_token}" # delete paste
@ -94,7 +94,7 @@ ip -br a | openssl enc -aes-256-cbc -pbkdf2 -salt -pass pass:yourkey -base64
█ Download:
curl -s https://linedump.com/{path} | base64 -d | openssl enc -d -aes-256-cbc -pbkdf2 -pass pass:yourkey
curl -s https://linedump.com/{paste_id} | base64 -d | openssl enc -d -aes-256-cbc -pbkdf2 -pass pass:yourkey

16
main.py
View file

@ -462,19 +462,19 @@ ipconfig | Invoke-RestMethod -Uri "{BASEURL}/"{auth_header_ps} -Method Post -Bod
Download:
curl {BASEURL}/{{path}} # print to stdout
curl -o filename.txt {BASEURL}/{{path}} # save to file
curl {BASEURL}/{{paste_id}} # print to stdout
curl -o filename.txt {BASEURL}/{{paste_id}} # save to file
wget -O- {BASEURL}/{{path}} # print to stdout
wget -O filename.txt {BASEURL}/{{path}} # save to file
wget -O- {BASEURL}/{{paste_id}} # print to stdout
wget -O filename.txt {BASEURL}/{{paste_id}} # save to file
Invoke-RestMethod -Uri "{BASEURL}/{{path}}" # print to stdout
Invoke-RestMethod -Uri "{BASEURL}/{{path}}" -OutFile "filename.txt" # save to file
Invoke-RestMethod -Uri "{BASEURL}/{{paste_id}}" # print to stdout
Invoke-RestMethod -Uri "{BASEURL}/{{paste_id}}" -OutFile "filename.txt" # save to file
Delete:
curl -X POST "{BASEURL}/{{path}}?token={{deletion_token}}" # delete paste
curl -X POST "{BASEURL}/{{paste_id}}?token={{deletion_token}}" # delete paste
@ -503,7 +503,7 @@ ip -br a \
Download:
curl -s {BASEURL}/{{path}} \
curl -s {BASEURL}/{{paste_id}} \
| base64 -d \
| openssl enc -d -aes-256-cbc -pbkdf2 -pass pass:yourkey