Small fixed and 2 new scripts
This commit is contained in:
12
foscamdecrypt.sh
Executable file
12
foscamdecrypt.sh
Executable file
@@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
# Passwords from: http://www.openipcam.com/forum/index.php/topic,687.msg3663.html
|
||||
PASSWORDS=("Wxift*" "Wxift*v2" "Wxift*v3" "Pxift*" "Pxift*v2" "Pxift*v3" "WT8Nk*" "WT8Nk*v2" "ipc.fos~" "#foscam&*234" "aaa1111" "aaaa3234")
|
||||
for p in "${PASSWORDS[@]}"; do
|
||||
openssl enc -d -aes-128-cbc -k $p -in "$1" > "$1.tar.gz"
|
||||
RETCODE=$?
|
||||
if [ "$RETCODE" -eq 0 ]; then
|
||||
echo "Successfully decoded using password: $p"
|
||||
break
|
||||
fi
|
||||
rm "$1.tar.gz"
|
||||
done
|
7
gits.sh
Executable file
7
gits.sh
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/bin/sh
|
||||
STATUS=`git status -s`
|
||||
if [ -n "$STATUS" ]; then
|
||||
echo "Modifications found in $PWD"
|
||||
echo "$STATUS"
|
||||
fi
|
||||
|
@@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
# Install mp3gain from: https://launchpad.net/~flexiondotorg/+archive/ubuntu/audio
|
||||
mp3gain -k -p -a -s i *.mp3
|
||||
LD_PRELOAD= mp3gain -k -p -a -s i *.mp3
|
||||
#replaygain *.mp3
|
||||
|
@@ -1,4 +1,4 @@
|
||||
#!/bin/sh
|
||||
# Install mp3gain from: https://launchpad.net/~flexiondotorg/+archive/ubuntu/audio
|
||||
mp3gain -k -p -r -s i "$@"
|
||||
LD_PRELOAD= mp3gain -k -p -r -s i "$@"
|
||||
#replaygain --no-album "$@"
|
||||
|
@@ -10,6 +10,8 @@ if [ -z "$CONCURRENCY_LEVEL" ]; then
|
||||
CONCURRENCY_LEVEL=1
|
||||
fi
|
||||
|
||||
LD_PRELOAD=
|
||||
|
||||
echo "Processing using $CONCURRENCY_LEVEL processes..."
|
||||
# -q - Quiet mode: no status messages
|
||||
# -k - automatically lower Track/Album gain to not clip audio
|
||||
|
2
stopbracketedpaste.sh
Executable file
2
stopbracketedpaste.sh
Executable file
@@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
printf "\e[?2004l"
|
Reference in New Issue
Block a user