Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
mksipe authored Oct 14, 2018
1 parent ee0f77c commit fdef5cf
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 29 deletions.
2 changes: 1 addition & 1 deletion Daemonconf.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
sudo apt install daemonlogger -y
sudo dpkg-query -l | grep daemonlogger *
echo "0 12 * * * daemonlogger" | sudo tee -a /etc/crontab
echo "0 12 * * * daemonlogger -D " | sudo tee -a /etc/crontab
echo "Daemonlogger Installed"
7 changes: 4 additions & 3 deletions RecSetup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,23 +42,23 @@ apt autoremove -y
echo "Running Setup Scripts"
./Stealth-Mode.sh
./UFWC2.sh
ufw enable
./umasks.sh
./users-groups.sh
./User-Auth.sh
./Apache.sh
if [ $(which apache2 | grep / -c) = 1; then ./Apache.sh; else echo "Skipping Apache2 Installation"; fi]
./banners.sh
./files.sh
./iptables.sh
./iptables2.sh
./network.sh
./nginx.sh
if [ $(which nginx | grep / -c) = 1; then ./nginx.sh; else echo "Skipping Apache2 Installation"; fi ]
./services.sh
./ssh.sh
./sudo-su.sh
./ssl.sh
./proftpd.sh
./users-linux.sh
ufw enable
./A:apache2.sh
./A:banners.sh
./A:files.sh
Expand All @@ -76,6 +76,7 @@ ufw enable
./prerm
./ipfilter.sh
./ipfw.sh
./SElinux.sh
./Daemonconf.sh
./Clamconf.sh
./Snortconf.sh
Expand Down
2 changes: 1 addition & 1 deletion Snortconf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ systemctl enable snort
systemctl start snort
systemctl status snort
echo "Snort Installed"
echo "0 12 * * * snort -vc /etc/snort/snort.conf " | sudo tee -a /etc/crontab
echo "0 12 * * * snort -D -vc /etc/snort/snort.conf " | sudo tee -a /etc/crontab
24 changes: 0 additions & 24 deletions network.sh
Original file line number Diff line number Diff line change
@@ -1,27 +1,3 @@
#!/bin/bash

# This file is part of blue-team
# Copyright (C) 2017 @maldevel
# https://github.com/maldevel/blue-team
#
# blue-team - Blue Team Scripts.
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# For more see the file 'LICENSE' for copying permission.



# Disable IP forwarding
sed -i "s/#net.ipv4.ip_forward=1/net.ipv4.ip_forward=0/" /etc/sysctl.conf
Expand Down

0 comments on commit fdef5cf

Please sign in to comment.