Skip to content

Commit

Permalink
Removed --no-check-certificate from wget
Browse files Browse the repository at this point in the history
--no-check-certificate presents a possible security risk.
--no-check-certificate is only used because older distros do not
recognise githubusercontent.com and will fail to download files. I have
decided to remove remove this option for now. It may be the case later
that I all this with older distros if there is a need for it.
  • Loading branch information
dgibbs64 committed May 3, 2015
1 parent c5de6b6 commit 58f1e2a
Show file tree
Hide file tree
Showing 37 changed files with 107 additions and 105 deletions.
7 changes: 4 additions & 3 deletions 7DaysToDie/sdtdserver
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# 7 Days To Die
# Server Management Script
# Author: Daniel Gibbs
# Website: http://danielgibbs.co.uk
# Version: 210115
# Website: http://gameservermanagers.com
# Version: 030515

#### Variables ####

Expand Down Expand Up @@ -85,7 +85,8 @@ if [ ! -f "${rootdir}/functions/${functionfile}" ]; then
fi
cd functions
echo -e "loading ${functionfile}...\c"
wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45-
if
wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45-
chmod +x "${functionfile}"
cd "${rootdir}"
sleep 1
Expand Down
6 changes: 3 additions & 3 deletions Arma3/arma3server
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
# Server Management Script
# Author: Daniel Gibbs
# Contributor: Scarsz
# Website: http://danielgibbs.co.uk
# Version: 240415
# Website: http://gameservermanagers.com
# Version: 030515

#### Variables ####

Expand Down Expand Up @@ -85,7 +85,7 @@ if [ ! -f "${rootdir}/functions/${functionfile}" ]; then
fi
cd functions
echo -e "loading ${functionfile}...\c"
wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45-
wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45-
chmod +x "${functionfile}"
cd "${rootdir}"
sleep 1
Expand Down
6 changes: 3 additions & 3 deletions BladeSymphony/bsserver
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# Blade Symphony
# Server Management Script
# Author: Daniel Gibbs
# Website: http://danielgibbs.co.uk
# Version: 210115
# Website: http://gameservermanagers.com
# Version: 030515

#### Variables ####

Expand Down Expand Up @@ -78,7 +78,7 @@ if [ ! -f "${rootdir}/functions/${functionfile}" ]; then
fi
cd functions
echo -e "loading ${functionfile}...\c"
wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45-
wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45-
chmod +x "${functionfile}"
cd "${rootdir}"
sleep 1
Expand Down
6 changes: 3 additions & 3 deletions CounterStrike/csserver
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# Counter Strike
# Server Management Script
# Author: Daniel Gibbs
# Website: http://danielgibbs.co.uk
# Version: 010215
# Website: http://gameservermanagers.com
# Version: 030515

#### Variables ####

Expand Down Expand Up @@ -77,7 +77,7 @@ if [ ! -f "${rootdir}/functions/${functionfile}" ]; then
fi
cd functions
echo -e "loading ${functionfile}...\c"
wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45-
wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45-
chmod +x "${functionfile}"
cd "${rootdir}"
sleep 1
Expand Down
6 changes: 3 additions & 3 deletions CounterStrikeConditionZero/csczserver
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# Counter Strike: Condition Zero
# Server Management Script
# Author: Daniel Gibbs
# Website: http://danielgibbs.co.uk
# Version: 210115
# Website: http://gameservermanagers.com
# Version: 030515

#### Variables ####

Expand Down Expand Up @@ -77,7 +77,7 @@ if [ ! -f "${rootdir}/functions/${functionfile}" ]; then
fi
cd functions
echo -e "loading ${functionfile}...\c"
wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45-
wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45-
chmod +x "${functionfile}"
cd "${rootdir}"
sleep 1
Expand Down
6 changes: 3 additions & 3 deletions CounterStrikeGlobalOffensive/csgoserver
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# Counter Strike: Global Offensive
# Server Management Script
# Author: Daniel Gibbs
# Website: http://danielgibbs.co.uk
# Version: 210115
# Website: http://gameservermanagers.com
# Version: 030515

#### Variables ####

Expand Down Expand Up @@ -95,7 +95,7 @@ if [ ! -f "${rootdir}/functions/${functionfile}" ]; then
fi
cd functions
echo -e "loading ${functionfile}...\c"
wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45-
wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45-
chmod +x "${functionfile}"
cd "${rootdir}"
sleep 1
Expand Down
6 changes: 3 additions & 3 deletions CounterStrikeSource/cssserver
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# Counter Strike: Source
# Server Management Script
# Author: Daniel Gibbs
# Website: http://danielgibbs.co.uk
# Version: 210115
# Website: http://gameservermanagers.com
# Version: 030515

#### Variables ####

Expand Down Expand Up @@ -78,7 +78,7 @@ if [ ! -f "${rootdir}/functions/${functionfile}" ]; then
fi
cd functions
echo -e "loading ${functionfile}...\c"
wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45-
wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45-
chmod +x "${functionfile}"
cd "${rootdir}"
sleep 1
Expand Down
6 changes: 3 additions & 3 deletions DayOfDefeat/dodserver
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# Day of Defeat
# Server Management Script
# Author: Daniel Gibbs
# Website: http://danielgibbs.co.uk
# Version: 210115
# Website: http://gameservermanagers.com
# Version: 030515

#### Variables ####

Expand Down Expand Up @@ -77,7 +77,7 @@ if [ ! -f "${rootdir}/functions/${functionfile}" ]; then
fi
cd functions
echo -e "loading ${functionfile}...\c"
wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45-
wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45-
chmod +x "${functionfile}"
cd "${rootdir}"
sleep 1
Expand Down
6 changes: 3 additions & 3 deletions DayOfDefeatSource/dodsserver
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# Day of Defeat: Source
# Server Management Script
# Author: Daniel Gibbs
# Website: http://danielgibbs.co.uk
# Version: 210115
# Website: http://gameservermanagers.com
# Version: 030515

#### Variables ####

Expand Down Expand Up @@ -78,7 +78,7 @@ if [ ! -f "${rootdir}/functions/${functionfile}" ]; then
fi
cd functions
echo -e "loading ${functionfile}...\c"
wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45-
wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45-
chmod +x "${functionfile}"
cd "${rootdir}"
sleep 1
Expand Down
4 changes: 2 additions & 2 deletions DeathmatchClassic/dmcserver
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Server Management Script
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
# Version: 150315
# Version: 030515

#### Variables ####

Expand Down Expand Up @@ -77,7 +77,7 @@ if [ ! -f "${rootdir}/functions/${functionfile}" ]; then
fi
cd functions
echo -e "loading ${functionfile}...\c"
wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45-
wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45-
chmod +x "${functionfile}"
cd "${rootdir}"
sleep 1
Expand Down
4 changes: 2 additions & 2 deletions DoubleActionBoogaloo/dabserver
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Server Management Script
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
# Version: 220315
# Version: 030515

#### Variables ####

Expand Down Expand Up @@ -78,7 +78,7 @@ if [ ! -f "${rootdir}/functions/${functionfile}" ]; then
fi
cd functions
echo -e "loading ${functionfile}...\c"
wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45-
wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgameservers/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45-
chmod +x "${functionfile}"
cd "${rootdir}"
sleep 1
Expand Down
6 changes: 3 additions & 3 deletions FistfulOfFrags/fofserver
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# Fistful Of Frags
# Server Management Script
# Author: Daniel Gibbs
# Website: http://danielgibbs.co.uk
# Version: 210115
# Website: http://gameservermanagers.com
# Version: 030515

#### Variables ####

Expand Down Expand Up @@ -78,7 +78,7 @@ if [ ! -f "${rootdir}/functions/${functionfile}" ]; then
fi
cd functions
echo -e "loading ${functionfile}...\c"
wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45-
wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45-
chmod +x "${functionfile}"
cd "${rootdir}"
sleep 1
Expand Down
6 changes: 3 additions & 3 deletions GarrysMod/gmodserver
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# Garry's Mod
# Server Management Script
# Author: Daniel Gibbs
# Website: http://danielgibbs.co.uk
# Version: 160315
# Website: http://gameservermanagers.com
# Version: 030515

#### Variables ####

Expand Down Expand Up @@ -84,7 +84,7 @@ if [ ! -f "${rootdir}/functions/${functionfile}" ]; then
fi
cd functions
echo -e "loading ${functionfile}...\c"
wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45-
wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45-
chmod +x "${functionfile}"
cd "${rootdir}"
sleep 1
Expand Down
6 changes: 3 additions & 3 deletions HalfLife2Deathmatch/hl2dmserver
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# Half Life 2: Deathmatch
# Server Management Script
# Author: Daniel Gibbs
# Website: http://danielgibbs.co.uk
# Version: 210115
# Website: http://gameservermanagers.com
# Version: 030515

#### Variables ####

Expand Down Expand Up @@ -78,7 +78,7 @@ if [ ! -f "${rootdir}/functions/${functionfile}" ]; then
fi
cd functions
echo -e "loading ${functionfile}...\c"
wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45-
wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45-
chmod +x "${functionfile}"
cd "${rootdir}"
sleep 1
Expand Down
4 changes: 2 additions & 2 deletions HalfLifeDeathmatch/hldmserver
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# Server Management Script
# Author: Daniel Gibbs
# Website: http://gameservermanagers.com
# Version: 150315
# Version: 030515

#### Variables ####

Expand Down Expand Up @@ -77,7 +77,7 @@ if [ ! -f "${rootdir}/functions/${functionfile}" ]; then
fi
cd functions
echo -e "loading ${functionfile}...\c"
wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45-
wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45-
chmod +x "${functionfile}"
cd "${rootdir}"
sleep 1
Expand Down
6 changes: 3 additions & 3 deletions Insurgency/insserver
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# Insurgency
# Server Management Script
# Author: Daniel Gibbs
# Website: http://danielgibbs.co.uk
# Version: 210115
# Website: http://gameservermanagers.com
# Version: 030515

#### Variables ####

Expand Down Expand Up @@ -78,7 +78,7 @@ if [ ! -f "${rootdir}/functions/${functionfile}" ]; then
fi
cd functions
echo -e "loading ${functionfile}...\c"
wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45-
wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45-
chmod +x "${functionfile}"
cd "${rootdir}"
sleep 1
Expand Down
6 changes: 3 additions & 3 deletions JustCause2/jc2server
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# Just Cause 2
# Server Management Script
# Author: Daniel Gibbs
# Website: http://danielgibbs.co.uk
# Version: 210115
# Website: http://gameservermanagers.com
# Version: 030515

#### Variables ####

Expand Down Expand Up @@ -73,7 +73,7 @@ if [ ! -f "${rootdir}/functions/${functionfile}" ]; then
fi
cd functions
echo -e "loading ${functionfile}...\c"
wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45-
wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45-
chmod +x "${functionfile}"
cd "${rootdir}"
sleep 1
Expand Down
6 changes: 3 additions & 3 deletions KillingFloor/kfserver
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# Killing Floor
# Server Management Script
# Author: Daniel Gibbs
# Website: http://danielgibbs.co.uk
# Version: 210115
# Website: http://gameservermanagers.com
# Version: 030515

#### Variables ####

Expand Down Expand Up @@ -80,7 +80,7 @@ if [ ! -f "${rootdir}/functions/${functionfile}" ]; then
fi
cd functions
echo -e "loading ${functionfile}...\c"
wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45-
wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45-
chmod +x "${functionfile}"
cd "${rootdir}"
sleep 1
Expand Down
6 changes: 3 additions & 3 deletions Left4Dead/l4dserver
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
# Server Management Script
# Author: Daniel Gibbs
# Contributor: Summit Singh Thakur
# Website: http://danielgibbs.co.uk
# Version: 210115
# Website: http://gameservermanagers.com
# Version: 030515

#### Variables ####

Expand Down Expand Up @@ -78,7 +78,7 @@ if [ ! -f "${rootdir}/functions/${functionfile}" ]; then
fi
cd functions
echo -e "loading ${functionfile}...\c"
wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45-
wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45-
chmod +x "${functionfile}"
cd "${rootdir}"
sleep 1
Expand Down
6 changes: 3 additions & 3 deletions Left4Dead2/l4d2server
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
# Left 4 Dead 2
# Server Management Script
# Author: Daniel Gibbs
# Website: http://danielgibbs.co.uk
# Version: 210115
# Website: http://gameservermanagers.com
# Version: 030515

#### Variables ####

Expand Down Expand Up @@ -77,7 +77,7 @@ if [ ! -f "${rootdir}/functions/${functionfile}" ]; then
fi
cd functions
echo -e "loading ${functionfile}...\c"
wget -N --no-check-certificate /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45-
wget -N /dev/null https://raw.githubusercontent.com/dgibbs64/linuxgsm/master/functions/${functionfile} 2>&1 | grep -F HTTP | cut -c45-
chmod +x "${functionfile}"
cd "${rootdir}"
sleep 1
Expand Down
Loading

0 comments on commit 58f1e2a

Please sign in to comment.