Browse Source

Update 'project-sec.html'

master
cse44742 4 years ago
parent
commit
00705833eb
  1. 8
      project-sec.html

8
project-sec.html

@ -219,7 +219,7 @@ cd project
<div class="sectionbody"> <div class="sectionbody">
<div class="paragraph"> <div class="paragraph">
<p>First of all, type ifconfig to see your ip address. Then, create an inventory.yml <p>First of all, type ifconfig to see your ip address. Then, create an inventory.yml
with the IPs using nmap -sP 172.19.0.* | grep Nmap | cut -d' ' -f5-6</p> with the IPs using nmap -sP 172.27.0.* | grep Nmap | cut -d' ' -f5-6</p>
</div> </div>
<div class="listingblock"> <div class="listingblock">
<div class="content"> <div class="content">
@ -337,7 +337,7 @@ host_key_checking = False
sudo apt update sudo apt update
sudo apt install hping3 -y sudo apt install hping3 -y
#syn_flood_attack_with_hping3_on_docker_master_with_IP_172.19.0.2 #syn_flood_attack_with_hping3_on_docker_master_with_IP_172.27.0.2
#hping3 -i u1 -S -p 80 172.27.0.2 #hping3 -i u1 -S -p 80 172.27.0.2
#hping3 172.27.0.2 -q -n -d 120 -S -p 80 --flood #hping3 172.27.0.2 -q -n -d 120 -S -p 80 --flood
hping3 -S -p 80 172.127.0.2</code></pre> hping3 -S -p 80 172.127.0.2</code></pre>
@ -845,7 +845,7 @@ openvpn --config ./user1.user #client connection to the VPN</code></pre>
</div> </div>
<div class="listingblock"> <div class="listingblock">
<div class="content"> <div class="content">
<pre class="highlight"><code>ssh docker@@172.27.0.3 <pre class="highlight"><code>ssh docker@172.27.0.3
sudo apt update sudo apt update
sudo apt install openvpn sudo apt install openvpn
@ -889,7 +889,7 @@ tcpdump -i tun0</code></pre>
</div> </div>
</div> </div>
<div class="sect1"> <div class="sect1">
<h2 id="_vpn_2">19. VPN</h2> <h2 id="_vpn_2">19. REMOTE/LOCAL SSH FORWARDING</h2>
<div class="sectionbody"> <div class="sectionbody">
<div class="paragraph"> <div class="paragraph">
<p><br> Here is a video about how you can do ssh local and remote forwarding.</p> <p><br> Here is a video about how you can do ssh local and remote forwarding.</p>

Loading…
Cancel
Save