Skip to content

Commit

Permalink
Arreglados maskprocessor gtest y mkvtoolnix
Browse files Browse the repository at this point in the history
  • Loading branch information
wifislax-ng committed Nov 29, 2015
1 parent a343c01 commit 67ea98d
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
6 changes: 3 additions & 3 deletions Auditoria/maskprocessor_updater
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Script by www.seguridadwireless.net

SCRIPT_VERSION=20151101
SCRIPT_VERSION=20151129

############################################################
## Funciones comunes. Su nombre empieza por f_ ##
Expand All @@ -24,8 +24,8 @@ F_variables() {
fi
SRCNAM=maskprocessor
echo -ne "\033]2;${PRGNAM}_updater\007"
WEB=https://github.com/jsteube/$SRCNAM
VERSION=`echo $(curl -s $WEB/releases|grep "tar.gz"|cut -d "/" -f5|cut -d "t" -f1|sed 's/.$//g'|sed 's/^.//g')`
WEB=https://github.com/hashcat/$SRCNAM
VERSION=`curl -s $WEB/releases|grep "tar.gz"|head -1|cut -d v -f3|cut -d t -f-1|sed 's/.$//g'`
EXTENSION=tar.gz
SOURCES=v$VERSION.$EXTENSION
DOWNLOAD=$WEB/archive/$SOURCES
Expand Down
10 changes: 5 additions & 5 deletions Desarrollo/gtest_updater
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Script by www.seguridadwireless.net

SCRIPT_VERSION=20151024
SCRIPT_VERSION=20151129

############################################################
## Funciones comunes. Su nombre empieza por f_ ##
Expand All @@ -18,11 +18,11 @@ f_variables(){
F_variables() {
PRGNAM=gtest
echo -ne "\033]2;${PRGNAM}_updater\007"
WEB="https://code.google.com/p/googletest/downloads/list?can=1&q=&colspec=Filename+Summary+Uploaded+ReleaseDate+Size+DownloadCount"
SOURCES=$(curl -sk $WEB |grep "files/$PRGNAM" | grep -Po 'href="\K.*(?=" )' -m1 | rev | cut -d/ -f1|rev)
VERSION=$(echo "$SOURCES" | rev | cut -d\. -f2- | rev | cut -d- -f2-)
WEB=https://github.com/google/googletest/releases
VERSION=`curl -s $WEB|grep tar.gz|head -1|cut -d- -f2|cut -d t -f-1|sed 's/.$//g'`
EXTENSION=zip
DOWNLOAD="https://googletest.googlecode.com/files/$SOURCES"
SOURCES=$PRGNAM-$VERSION.$EXTENSION
DOWNLOAD=http://googletest.googlecode.com/files/$SOURCES
}

# Descomprimimos el fichero descargado y compilamos
Expand Down
4 changes: 2 additions & 2 deletions Multimedia/mkvtoolnix_updater
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# Script by www.seguridadwireless.net

SCRIPT_VERSION=20151106
SCRIPT_VERSION=20151129
CATEGORIA="Editores de video"

############################################################
Expand All @@ -19,7 +19,7 @@ f_variables(){
F_variables() {
PRGNAM=mkvtoolnix
echo -ne "\033]2;${PRGNAM}_updater\007"
WEB=https://www.bunkus.org/videotools/$PRGNAM/sources/
WEB=https://mkvtoolnix.download/sources/
VERSION=`curl -s $WEB|grep .tar.xz|tail -1|cut -d- -f2|cut -d t -f-1|sed 's/.$//g'`
EXTENSION=tar.xz
SOURCES=$PRGNAM-$VERSION.$EXTENSION
Expand Down

0 comments on commit 67ea98d

Please sign in to comment.