renommé : TP04/Scripts/.bashrc -> sio1/TP04/Scripts/.bashrc renommé : TP04/Scripts/.lesshst -> sio1/TP04/Scripts/.lesshst renommé : TP04/Scripts/.profile -> sio1/TP04/Scripts/.profile renommé : TP04/Scripts/.ssh/id_rsa -> sio1/TP04/Scripts/.ssh/id_rsa renommé : TP04/Scripts/.ssh/id_rsa.pub -> sio1/TP04/Scripts/.ssh/id_rsa.pub renommé : TP04/Scripts/.ssh/known_hosts -> sio1/TP04/Scripts/.ssh/known_hosts renommé : TP04/Scripts/.ssh/known_hosts.old -> sio1/TP04/Scripts/.ssh/known_hosts.old renommé : TP04/Scripts/LeScript.sh -> sio1/TP04/Scripts/LeScript.sh renommé : TP04/Scripts/Users.csv -> sio1/TP04/Scripts/Users.csv renommé : TP04/Scripts/createLogins.sh -> sio1/TP04/Scripts/createLogins.sh renommé : TP04/Scripts/createUsers.sh -> sio1/TP04/Scripts/createUsers.sh renommé : TP04/Scripts/logins.csv -> sio1/TP04/Scripts/logins.csv renommé : TP04/Scripts/testlogin.csv -> sio1/TP04/Scripts/testlogin.csv renommé : siotp/sisr1/TP7/scriptsnft/current_ruleset.nft -> sio1/siotp/sisr1/TP7/scriptsnft/current_ruleset.nft renommé : siotp/sisr1/TP7/scriptsnft/fw_part1.nft -> sio1/siotp/sisr1/TP7/scriptsnft/fw_part1.nft renommé : siotp/sisr1/TP7/scriptsnft/fw_part2.nft -> sio1/siotp/sisr1/TP7/scriptsnft/fw_part2.nft renommé : siotp/sisr1/TP7/scriptsnft/fw_part3.nft -> sio1/siotp/sisr1/TP7/scriptsnft/fw_part3.nft renommé : siotp/sisr1/TP7/scriptsnft/fw_part4.nft -> sio1/siotp/sisr1/TP7/scriptsnft/fw_part4.nft renommé : siotp/sisr1/TP7/scriptsnft/fw_part5.nft -> sio1/siotp/sisr1/TP7/scriptsnft/fw_part5.nft renommé : siotp/sisr1/TP7/scriptsnft/fw_part6.nft -> sio1/siotp/sisr1/TP7/scriptsnft/fw_part6.nft renommé : siotp/sisr1/TP7/scriptsnft/fw_part7.nft -> sio1/siotp/sisr1/TP7/scriptsnft/fw_part7.nft renommé : siotp/sisr1/TP7/scriptsnft/old-current_ruleset.nft -> sio1/siotp/sisr1/TP7/scriptsnft/old-current_ruleset.nft renommé : siotp/sisr1/TP7/scriptsnft/refresh_firewall.sh -> sio1/siotp/sisr1/TP7/scriptsnft/refresh_firewall.sh renommé : siotp/sisr1/tp01-02/srv-dhcp/dhcpd.conf -> sio1/siotp/sisr1/tp01-02/srv-dhcp/dhcpd.conf renommé : siotp/sisr1/tp01-02/srv-dhcp/hosts -> sio1/siotp/sisr1/tp01-02/srv-dhcp/hosts renommé : siotp/sisr1/tp01-02/srv-dhcp/interfaces -> sio1/siotp/sisr1/tp01-02/srv-dhcp/interfaces renommé : siotp/sisr1/tp01-02/srv-dhcp/isc-dhcp-server -> sio1/siotp/sisr1/tp01-02/srv-dhcp/isc-dhcp-server renommé : siotp/sisr1/tp01-02/srv-dhcp/nat.sh -> sio1/siotp/sisr1/tp01-02/srv-dhcp/nat.sh renommé : siotp/sisr1/tp01-02/srv-dns1/db.sio1lab.lan -> sio1/siotp/sisr1/tp01-02/srv-dns1/db.sio1lab.lan renommé : siotp/sisr1/tp01-02/srv-dns1/db.sio1lab.lan.rev -> sio1/siotp/sisr1/tp01-02/srv-dns1/db.sio1lab.lan.rev renommé : siotp/sisr1/tp01-02/srv-dns1/named.conf -> sio1/siotp/sisr1/tp01-02/srv-dns1/named.conf renommé : siotp/sisr1/tp01-02/srv-dns1/named.conf.local -> sio1/siotp/sisr1/tp01-02/srv-dns1/named.conf.local renommé : siotp/sisr1/tp01-02/srv-dns1/named.conf.options -> sio1/siotp/sisr1/tp01-02/srv-dns1/named.conf.options renommé : siotp/sisr1/tp01-02/srv-dns2/db.sio1lab.lan -> sio1/siotp/sisr1/tp01-02/srv-dns2/db.sio1lab.lan renommé : siotp/sisr1/tp01-02/srv-dns2/db.sio1lab.lan.rev -> sio1/siotp/sisr1/tp01-02/srv-dns2/db.sio1lab.lan.rev renommé : siotp/sisr1/tp01-02/srv-dns2/named.conf.default-zones -> sio1/siotp/sisr1/tp01-02/srv-dns2/named.conf.default-zones renommé : siotp/sisr1/tp01-02/srv-dns2/named.conf.local -> sio1/siotp/sisr1/tp01-02/srv-dns2/named.conf.local renommé : siotp/sisr1/tp01-02/srv-dns2/named.conf.options -> sio1/siotp/sisr1/tp01-02/srv-dns2/named.conf.options renommé : siotp/sisr1/tp03/srv-admin/interfaces -> sio1/siotp/sisr1/tp03/srv-admin/interfaces renommé : siotp/sisr1/tp03/srv-admin/nat.sh -> sio1/siotp/sisr1/tp03/srv-admin/nat.sh renommé : siotp/sisr1/tp03/srv-dns2/bind/db.monlabo.lan -> sio1/siotp/sisr1/tp03/srv-dns2/bind/db.monlabo.lan renommé : siotp/sisr1/tp03/srv-dns2/bind/db.monlabo.lan.rev -> sio1/siotp/sisr1/tp03/srv-dns2/bind/db.monlabo.lan.rev renommé : siotp/sisr1/tp03/srv-dns2/bind/named.conf.local -> sio1/siotp/sisr1/tp03/srv-dns2/bind/named.conf.local renommé : siotp/sisr1/tp03/srv-dns2/bind/named.conf.options -> sio1/siotp/sisr1/tp03/srv-dns2/bind/named.conf.options renommé : siotp/sisr1/tp03/srv-service/bind/db.monlabo.lan -> sio1/siotp/sisr1/tp03/srv-service/bind/db.monlabo.lan renommé : siotp/sisr1/tp03/srv-service/bind/db.monlabo.lan.rev -> sio1/siotp/sisr1/tp03/srv-service/bind/db.monlabo.lan.rev renommé : siotp/sisr1/tp03/srv-service/bind/named.conf.local -> sio1/siotp/sisr1/tp03/srv-service/bind/named.conf.local renommé : siotp/sisr1/tp03/srv-service/bind/named.conf.options -> sio1/siotp/sisr1/tp03/srv-service/bind/named.conf.options renommé : siotp/sisr1/tp03/srv-service/dhcp/dhcpd.conf -> sio1/siotp/sisr1/tp03/srv-service/dhcp/dhcpd.conf renommé : siotp/sisr1/tp4/Users.csv -> sio1/siotp/sisr1/tp4/Users.csv renommé : siotp/sisr1/tp4/createLogins.sh -> sio1/siotp/sisr1/tp4/createLogins.sh renommé : siotp/sisr1/tp4/logins.csv -> sio1/siotp/sisr1/tp4/logins.csv renommé : squid/conf.d/debian.conf -> sio1/squid/conf.d/debian.conf renommé : squid/errorpage.css -> sio1/squid/errorpage.css renommé : squid/passwords -> sio1/squid/passwords renommé : squid/squid.conf -> sio1/squid/squid.conf renommé : squid/squid.conf.old -> sio1/squid/squid.conf.old renommé : squid/users -> sio1/squid/users
320 lines
5.6 KiB
Bash
320 lines
5.6 KiB
Bash
sudo apt-get install sudo mc tcpdump
|
|
apt-get install sudo mc tcpdump
|
|
sudo cd
|
|
host dns
|
|
exit
|
|
nano /etc/ssh/sshd_config
|
|
ip a
|
|
systemctl restart ssh
|
|
nano /etc/ssh/sshd_config
|
|
ip r
|
|
nano /etc/network/interfaces
|
|
ssh-keygen
|
|
ip a*
|
|
ip a
|
|
host dns
|
|
host google.com
|
|
host dns
|
|
cat /etc/resolv.conf
|
|
dhclient
|
|
cat /etc/resolv.conf
|
|
dhclient
|
|
reboot
|
|
ip a
|
|
cat /etc/resolv.conf
|
|
host dns
|
|
ping 172.16.0.1
|
|
host srv-service
|
|
nano /etc/resolv.conf
|
|
host srv-service
|
|
host google.com
|
|
host 172.16.0.254
|
|
host 172.16.0.254
|
|
logout
|
|
ip a
|
|
ifdown enp0s3
|
|
ifup enp0s3
|
|
ip a
|
|
nano /etc/resolv.conf
|
|
host google.com
|
|
ip a
|
|
nano /etc/network/interfaces
|
|
nano /etc/network/interfaces
|
|
nano /etc/network/interfaces
|
|
i^p a
|
|
ip a
|
|
touch createLogins.sh
|
|
bash createLogins.sh
|
|
nano createLogins.sh
|
|
nano createLogins.sh
|
|
nano createLogins.sh
|
|
bash createLogins.sh
|
|
nano createLogins.sh
|
|
bash createLogins.sh
|
|
nano createLogins.sh
|
|
bash createLogins.sh
|
|
nano createLogins.sh
|
|
bash createLogins.sh
|
|
nano createLogins.sh
|
|
bash createLogins.sh
|
|
nano createLogins.sh
|
|
nano createLogins.sh
|
|
bash createLogins.sh
|
|
nano createLogins.sh
|
|
bash createLogins.sh
|
|
nano createLogins.sh
|
|
bash createLogins.sh
|
|
nano createLogins.sh
|
|
nano createLogins.sh
|
|
bash createLogins.sh
|
|
nano createLogins.sh
|
|
bash createLogins.sh
|
|
nano createLogins.sh
|
|
nano createLogins.sh
|
|
nano createLogins.sh
|
|
nano createLogins.sh
|
|
nano createLogins.sh
|
|
bash createLogins.sh
|
|
nano createLogins.sh
|
|
bash createLogins.sh
|
|
nano createLogins.sh
|
|
bash createLogins.sh
|
|
nano createLogins.sh
|
|
bash createLogins.sh
|
|
ls
|
|
cat logins.csv
|
|
bash createLogins.sh
|
|
cat logins.csv
|
|
nano createLogins.sh
|
|
nano createLogins.sh
|
|
bash createLogins.sh
|
|
nano createLogins.sh
|
|
bash createLogins.sh
|
|
nano createLogins.sh
|
|
bash createLogins.sh
|
|
nano createLogins.sh
|
|
bash createLogins.sh
|
|
bash createLogins.sh
|
|
nano createLogins.sh
|
|
ip a
|
|
bash createLogins.sh
|
|
ls
|
|
ls
|
|
ls -r
|
|
ls -l
|
|
ls -f
|
|
bash createLogins.sh
|
|
nano createLogins.sh
|
|
bash createLogins.sh
|
|
ls /home/sio/
|
|
ls
|
|
ls -f
|
|
ip a
|
|
ls
|
|
nano createLogins.sh
|
|
bash createLogins.sh
|
|
nano createLogins.sh
|
|
bash createLogins.sh
|
|
nano createLogins.sh
|
|
ls
|
|
ls- l
|
|
ls- r
|
|
ls -l
|
|
ls
|
|
clear
|
|
nano createLogins.sh
|
|
scp ~/Téléchargements/Users.csv root@192.168.0.30
|
|
scp /Téléchargements/Users.csv root@192.168.0.30
|
|
scp ~/Téléchargements/Users.csv root@192.168.0.30:etc/
|
|
ls
|
|
ls /etc/
|
|
cp /etc/Users.csv ./
|
|
ls
|
|
bash createLogins.sh
|
|
nano createLogins.sh
|
|
bash createLogins.sh
|
|
nano createLogins.sh
|
|
ls
|
|
cat logins.csv
|
|
nano createLogins.sh
|
|
touch createUsers.sh
|
|
nano createUsers.sh
|
|
nano createLogins.sh
|
|
nano createUsers.sh
|
|
cat logins.csv
|
|
clear
|
|
nano createUsers.sh
|
|
touch testlogin.csv
|
|
nano testlogin.csv
|
|
nano logins.csv
|
|
nano testlogin.csv
|
|
nano logins.csv
|
|
nano testlogin.csv
|
|
nano logins.csv
|
|
nano testlogin.csv
|
|
nano createUsers.sh
|
|
nano /etc/group
|
|
nano createUsers.sh
|
|
getent group
|
|
nano createUsers.sh
|
|
bash createUsers.sh
|
|
nano createUsers.sh
|
|
nano testlogin.csv
|
|
nano createUsers.sh
|
|
bash createUsers.sh tcpdump
|
|
nano createUsers.sh
|
|
nano createUsers.sh
|
|
bash createUsers.sh 1ertest
|
|
nano createUsers.sh
|
|
bash createUsers.sh tcpdump
|
|
nano createUsers.sh
|
|
man grep
|
|
nano createUsers.sh
|
|
bash createUsers.sh tcpdump
|
|
nano createUsers.sh
|
|
bash createUsers.sh tcpdump
|
|
nano createUsers.sh
|
|
bash createUsers.sh tcpdump
|
|
nano createUsers.sh
|
|
bash createUsers.sh tcpdump
|
|
bash createUsers.sh gre1
|
|
bash createUsers.sh gre1
|
|
nano createUsers.sh
|
|
bash createLogins.sh
|
|
nano createLogins.sh
|
|
nano createUsers.sh
|
|
ls
|
|
nano createUsers.sh
|
|
nano createUsers.sh b
|
|
nano createUsers.sh
|
|
nano createUsers.sh
|
|
bash createUsers.sh
|
|
bash createUsers.sh
|
|
bash createUsers.sh
|
|
bash createUsers.sh
|
|
bash createUsers.sh
|
|
bash createUsers.sh
|
|
bash createUsers.sh
|
|
nano /etc/group
|
|
nano testlogin.csv
|
|
cat temptp4.txt
|
|
cat temptp4.txt
|
|
cat temptp4.txt
|
|
cat temptp4.txt
|
|
nano createUsers.sh
|
|
nano createUsers.sh
|
|
nano createUsers.sh
|
|
nano /etc/group
|
|
nano createUsers.sh
|
|
nano createUsers.sh
|
|
nano createUsers.sh
|
|
nano createUsers.sh
|
|
nano createUsers.sh
|
|
nano createUsers.sh
|
|
bash createUsers.sh
|
|
nano createUsers.sh
|
|
nano createUsers.sh
|
|
nano createUsers.sh
|
|
nano createUsers.sh
|
|
bash createUsers.sh
|
|
bash createUsers.sh
|
|
nano createUsers.sh
|
|
bash createUsers.sh
|
|
nano createUsers.sh
|
|
bash createUsers.sh
|
|
getent Users
|
|
cd /etc
|
|
ls
|
|
cat passwd
|
|
cat /users
|
|
cat /group
|
|
cat group
|
|
man usermod
|
|
useradd anthonycon --gropups
|
|
useradd anthonycon --groups
|
|
useradd anthonycon --groups
|
|
useradd anthonycon --groups
|
|
useradd anthonycon --groups
|
|
useradd anthonycon --groups
|
|
useradd anthonycon --groups sio
|
|
cat group
|
|
cd
|
|
nano createUsers.sh
|
|
nano createUsers.sh
|
|
nano createUsers.sh
|
|
nano createUsers.sh
|
|
bash createUsers.sh
|
|
nano createUsers.sh
|
|
nano createUsers.sh
|
|
bash createUsers.sh
|
|
nano createUsers.sh
|
|
bash createUsers.sh
|
|
bash createUsers.sh
|
|
nano testlogin.csv
|
|
bash createUsers.sh
|
|
nano testlogin.csv
|
|
nano createUsers.sh
|
|
bash createUsers.sh
|
|
ls /home
|
|
ls -l
|
|
ls -l /home
|
|
nano createUsers.sh
|
|
nano createUsers.sh
|
|
bash createUsers.sh
|
|
bash createUsers.sh
|
|
nano createUsers.sh
|
|
ip a
|
|
nano create
|
|
nano createUsers.sh
|
|
nano logins.csv
|
|
nano testlogin.csv
|
|
nano createUsers.sh
|
|
bash createUsers.sh
|
|
logout
|
|
nano createUsers.sh
|
|
logout
|
|
ls -l /home
|
|
nano createUsers.sh
|
|
touch LeScript
|
|
mv LeScript LeScript.sh
|
|
nano LeScript.sh
|
|
nano LeScript.sh
|
|
nano LeScript.sh
|
|
bash LeScript.sh
|
|
nano LeScript.sh
|
|
nano createUsers.sh
|
|
nano LeScript.sh
|
|
nano LeScript.sh
|
|
bash LeScript.sh
|
|
nano LeScript.sh
|
|
bash LeScript.sh
|
|
nano LeScript.sh
|
|
nano createUsers.sh
|
|
nano LeScript.sh
|
|
ls
|
|
logout
|
|
ip a
|
|
nano LeScript.sh
|
|
ls
|
|
nano LeScript.sh
|
|
nano LeScript.sh
|
|
nano createUsers.sh
|
|
man groupa
|
|
nano LeScript.sh
|
|
nano LeScript.sh
|
|
ls
|
|
nano LeScript.sh
|
|
nano LeScript.sh
|
|
bash LeScript.sh
|
|
nano LeScript.sh
|
|
bash LeScript.sh
|
|
ls
|
|
nano LeScript.sh
|
|
bash LeScript.sh
|
|
nano LeScript.sh
|
|
bash LeScript.sh
|
|
bash createLogins.sh
|
|
nano createLogins.sh
|
|
|
|
nano LeScript.sh
|