mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
Merge pull request #3748 from holta/dpaste.com-instead-of-sprunge.us
Let's try pastebin service dpaste.com (limited to 30 days, and ~1,000,000 characters unfortunately) — instead of problematic (flaky) sprunge.us
This commit is contained in:
commit
7c44e2eb2f
2 changed files with 4 additions and 4 deletions
|
@ -272,12 +272,12 @@ echo -e "\e[1m"
|
|||
#if [ "$ans" == "" ] || [ "$ans" == "y" ] || [ "$ans" == "Y" ]; then
|
||||
if ! [[ $ans =~ ^[nNqQ]$ ]]; then
|
||||
echo -ne "PUBLISHING TO URL... " # Run 'pastebinit -l' to list other possible pastebin site URLs
|
||||
pastebinit -b sprunge.us < $outfile # Stopped working for many weeks (mid-2023)
|
||||
pastebinit -b dpaste.com < $outfile # Unfortunately limited to 30 days by default. Claims 1,000,000 character maximum pastebin size, but that claim is not 100% accurate.
|
||||
#pastebinit -b sprunge.us < $outfile # Stopped working for many weeks (mid-2023, and again in mid-2024)
|
||||
#pastebinit -b paste2.org < $outfile # Spammy/dangerous pastebins
|
||||
#pastebinit -b dpaste.com < $outfile # Claims 1,000,000 character maximum pastebin size, but not reliable
|
||||
else
|
||||
echo -e "If you later decide to publish it, run:"
|
||||
echo
|
||||
echo -e " pastebinit -b sprunge.us < $outfile"
|
||||
echo -e " pastebinit -b dpaste.com < $outfile"
|
||||
fi
|
||||
echo -e "\e[0m"
|
||||
|
|
|
@ -55,7 +55,7 @@ But first off, the file is compiled by harvesting 1 + 6 kinds of things:
|
|||
Or, you can later/manually upload it using the ``pastebinit`` command:
|
||||
|
||||
```
|
||||
pastebinit -b sprunge.us < /etc/iiab/diag/NEW-FILE-NAME
|
||||
pastebinit -b dpaste.com /etc/iiab/diag/NEW-FILE-NAME
|
||||
```
|
||||
|
||||
Either way, this will generate an actual web link (URL).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue