   
 


    ?   -,       ?                .

   Linux  Windows,  , HTTP,  Nmap  Burp Suite,  , SQL-, XSS, , Active Directory    .           ,  ,         .

   :    ,     .           ,    .





 

   



   

    

         

     







 I.   

  :  

   

 1. ,       

 2.      

 3.  : Linux  Windows  

 4.  Linux:   

 5.   

 6.   

 7. :   

 8.      Nmap

 9.   -    

 10. Burp Suite:     

 11. : SQL-   

 12. XSS:      

 13.    IDOR     

 14.  -:  

 15. ,   

 16.   Metasploit   

 17.    Wi-Fi:   

 18. Active Directory:    

 19.   (reverse engineering)

 20.  :  

 21.  : Bash  Python  

 22.     

 23. , -  

 24.    9 

 



  

   

    

:   

 II.     

 1.   

 2.    

 3. : ,   DNS

 4. HTTP  -

 5. Linux  

 6. , Python  Git

 7.  

 8.  

 9.    

 10.     Nmap

 11. -

 12.    

 13.   

 14. XSS   

 15.   

 16.   

 17.   

 18.     

 VI.    

 VII. ,    

.  

 

   




 I.   


    .            .




  :  



               .       ,     :      ,  ,   IP-,    ,  . .     .




,    


     .   -  ,   cd.           .

     ,   ,    .     -  .    . ,  ,   .

    .    .    .

   .         :     .




 ,  


1.   8    ( 16).   .

2.     .

3.            .

4.      ,  8    .

5.      ,    .

  :      .




-   


   ,    ,    .      ,    .

  

 () ׸ ,    ,   





   ,  ls  





  

 ,     - 



(, )

IP-     ,  192.168.1.10

     :    





 / - ,   

     (Chrome, Firefox)

   ,   

   

  ()        



 

 () ,    , 



,    

          ( )   .




    




,    ,       ,     ,        .            ,         .   :      .     1.




   ,   


1.   .      .     .

2.    .      .      .

3.   .           ,    .

4.  .      .      .

5. .         ,  .

  . .          .     ,     ,        .

  ,    .  ,      .    .

  .   .      .      .

    .    .       - (TryHackMe, PortSwigger Academy)   .




     


1.   1 (   )   ,   .

2.   2 (    )   ,  .

3.   TryHackMe          .




 ,  


 ( )   .

  ( )   .

   (  )         .      ,          .

?  ,   1.  :            .




   



    ,      ,  ,   IP-,         ,   .     .      .




   


    .    ,   ,   ,      ,    .    :

    

  (white  ,    



hat) ,   ,  ,  



   

׸  (black    ,



hat) , . 



 

  (grey hat)      ,   



.    





      ,   ,     :           ,    .



           .   , scope -          .    .




      


,   ,     .      .   :   ,   ,     ,      .     :    ,   ,     ,     .

       ,  ,   .   :

-       -.       .

     , , Active Directory, , .

   Android-  iOS-.

-       (HackerOne, Bugcrowd, , VK, Standoff 365),     .

Red Team        ,      .

Blue Team / SOC-  :   ,   .     .

AppSec / DevSecOps      .

     

:      6  18   ,     .    -    38    ,     . -   2026        .      :      ,     8    ( 16).




    


        .

   Wi-Fi      WhatsApp.  ,      .

 .     ,   - .




  


 I ( 13)  : ,     .  II ( 46)  Linux,    .  III ( 714)  ,   -  .  IV ( 1519)  , , , .  V ( 2022)  ,    .   ,   .

   :

    ;

   ,    ;

     ;

  ,     ;

  .



     : (1)       6, (2)      TryHackMe, HackTheBox, PortSwigger Web Security Academy, (3) ,        .             .




   


    .   ,    ,      Linux, , Active Directory, -  Wi-Fi.       .      .




 1. ,       



    .     .    .




 


   .  ,   .       .    ,       ,  .     ,     ,     .              .




  


         ,   :

    .

        (       ).

    ,      .

  ,     .

DoS/DDoS    ,   .

    .



  :     ,     ,       ,    .       -    (/.well-known/security.txt),      .




    


1.        scope ( ), ,   .      .

2.   -       .  scope   ,   .

3.    (responsible disclosure / VDP) 

4.            .

5.    TryHackMe, Hack The Box, PortSwigger Academy, OWASP Juice Shop, Standoff 365, root-me. ,   .

  scope -

Scope    ,   .   :

IN SCOPE ():



*.example.com   



api.example.com  API



Android app com.example   

OUT OF SCOPE ():



blog.example.com     CMS



payments.example.com   



 DoS /  



  



   



   

:         .   ,  ,   .



      .       ,         .  , ,   .




 ,    


  ,     .   .

    scope,      .

  .  SQL-    ,      .

     ,  ,  , .

         .

  ,        .

  : , ,   .     .

       .




   1


1.   HackerOne     .

2.       :  https://<>/.well-known/security.txt. ,        .

3.    5 :       .     .




  


 ,        .

    .

    ,   .      .

    ,    .     ,     .




 2.      



  ,   .           ,    .       .




   


 .      ,    .

  (RAM)   . ,   ,  .     .

  .     .

  ()  ,  ,    ,     .

    :     ,    .      ,        .   ,   SQL-, XSS, command injection    .

  

    .       .       : root  Linux, Administrator / SYSTEM  Windows.

        :

1.    (  ).

2.     (privilege escalation).




:         


  .

IP-   . , 192.168.1.10.

     . -     80  443, SSH   22.

    :  ,  , .

 ()   ,  ,    .

 OSI  TCP/IP   

  ,  .      :

     

 (L2)   Ethernet, Wi-Fi, ARP ARP-, 



    Wi-Fi



 MAC-

 (L3)   IP, ICMP  IP,



  IP 

 (L4)  TCP, UDP  







 





 (L7)    HTTP, DNS, SMTP, SSH 90% 



-

TCP  UDP

TCP    :  ,  ?,  ,   .    .   , , SSH.

    :

 ? SYN ?   ?



 ? SYN/ACK ?  , 



 ? ACK ?  , 

UDP  :     . ,  .   DNS, , , VoIP.



   :  nmap    -sS  SYN ,  SYN/ACK,  ,   ACK.   ,   ,    .

   

  IP         :

10.0.0.0  10.255.255.255

172.16.0.0  172.31.255.255

192.168.0.0  192.168.255.255

127.0.0.1  localhost,  .

       192.168.x.x,           NAT ( ).                     ,       .

   CIDR

 192.168.1.0/24 :  24     ,  8    .    192.168.1.0192.168.1.255,  254  .  ,      ,       .

    

/32 1   

/24 256    





/16 65 536   

/8 16 777 216  ,   




HTTP   


    .   :

GET /profile?id=42 HTTP/1.1



Host: shop.example.com



User-Agent: Mozilla/5.0



Cookie: session=a1b2c3d4e5



Accept: text/html

:

HTTP/1.1 200 OK



Content-Type: text/html; charset=utf-8



Set-Cookie: session=a1b2c3d4e5; HttpOnly; Secure



Content-Length: 1534

<html><body>, </body></html>

  :

GET  . : GET (), POST ( ), PUT (), DELETE (), OPTIONS ( ).

/profile?id=42    . id=42   ,   ,    ,   .

Host     (  IP    ).

Cookie   ,  ,    .

 ,     

     

200 OK  

301 / 302  - ,   

400       



 

401     

403   ,     



 

404    

405      

500   . -    



 500          SQL-.  403 ,   ,  ,   .




  


   .      ,   .    . : MD5 (), SHA-1 (), SHA-256, bcrypt, argon2 (  ).

       ,   . AES.

    :  ,  . RSA, ECDSA.   HTTPS  SSH-.

TLS/HTTPS  ,     .  ,      . HTTPS-    ,  HTTP-.

  

: qwerty123



MD5: 3f7b2a18b6f0c4b0e1a9e8b1d2c3a4b5 ( )



?    ,   

AES(="secret"): 8af2... (  )

  :    ,        ,    .  




   2


1.      ping example.com. ,  IP-      .

2.  nslookup example.com ( dig example.com).    IP  ,   .

3.    : ipconfig  Windows, ip a  Linux.    ?     ()?

4.   ,  F12 ?  Network ?  .          .  Set-Cookie.

5.  tracert example.com (Windows)  traceroute example.com (Linux)  ,       .




  


      ,      (      ).

   IP-.

,  HTTPS    .

,    .




 3.  : Linux  Windows  





 Linux


       Linux.      Linux   . Linux ,         , .

    Windows.    : Windows    + Linux   .       6.




   Linux


 Windows   C:, D:.  Linux      /.

    

/   

/home/    ,  SSH, 



 

/root   root  

/etc    /etc/passwd, /etc/shadow, 





/var/log    , 

/var/www    -

/tmp  ,    



   

/usr/bin, /bin      

/proc    ,   



 

 ,   

/etc/passwd   ,  :

root:x:0:0:root:/root:/bin/bash



www-data:x:33:33:www-data:/var/www:/usr/sbin/nologin



ivan:x:1000:1000:Ivan:/home/ivan:/bin/bash

  : ,  (x =    ), UID, GID, ,  , . UID 0   .       UID 0    .

root:$6$xyz123$aBcD...:19800:0:99999:7:::

$6$  SHA-512. $y$  yescrypt, $2b$  bcrypt.              .




      Linux


$ ls -l



-rw-r--r-- 1 ivan ivan 1024 Oct 23 10:00 notes.txt



drwxr-xr-x 2 ivan ivan 4096 Oct 23 10:00 projects



-rwsr-xr-x 1 root root 44512 Oct 23 10:00 passwd

     :

-    (d  , l  ).

rw-   : , ,  .

r--   :  .

r--    :  .

 : r=4, w=2, x=1.  rw-r--r-- = 644, rwxr-xr-x = 755.

 SUID      

      : -rwsr-xr-x.  x    s.   SUID:      ,   ,   .     ( passwd,      )    .

     :      SUID-root  ,         ,          .         Linux     SUID-         .

       (   ) :

find / -perm -4000 -type f 2>/dev/null

find /    ;

-perm -4000     SUID;

-type f   ;

2>/dev/null     .



 GTFOBins (gtfobins.github.io) ,        .   ,  ,          SUID.     




Windows    


Windows  ,    : , ,   .

     (regedit):  .

    Administrator   SYSTEM.

  Active Directory       .     ( 18).

     (NTLM)   SAM     lsass.

     : whoami /priv, systeminfo, net user, ipconfig /all, tasklist.

  Windows   ,                    .    :  ,    ,   .




   3


1.     Linux (   6)  ls -l /     34 .

2.  cat /etc/passwd       /bin/bash.

3.    SUID-          .         .

4.  Windows  whoami /priv  ,       .




  


 .          .

  root/Administrator .       .

 Windows  Linux .   ,   .




:      


NAT,        

     (192.168.x.x).      ,    (NAT)    

   ,     .  ,        ,      ( ,  ),          .

DNS :   

 ?   ? DNS-  ?  



?   (.com) ?    ? IP

      ( 7):   (A, MX, TXT, NS)    .

   

    

HTTP 80    HTTPS (443)

FTP 21  , SFTP/FTPS



 

Telnet 23  , SSH (22)



 

SMTP 25/587    TLS

DNS 53   DoH/DoT

SMB 445 /  



Windows 

RDP 3389    VPN,  MFA



 Windows

         :  3389  , Windows   ; 445   ; 22  SSH.

 -  

HTTP      (stateless):      .    ,  cookie   .     : / ,  cookie (HttpOnly, Secure, SameSite), .      .




 4.  Linux:   



  ,      ,       Enter.  30    ,      Linux  .




  


 - 



? ? ?



   

 ls -l /home: ls   , -l  , /home   .







   

pwd ,    pwd

ls   ls -la ( )

cd    cd /var/log

cd ..    cd ..

cd ~    cd ~

tree   tree -L 2



   Linux    (.bashrc, .ssh).    ls -a.         ,      ls -la ,   ls.




  


  

cat file   

less file    (q  )

head -n 20 file  20 

  

cp a b 

mv a b /

rm file  (,  )

mkdir dir  

touch file   

nano file   




  ,     


find / -name "*.conf" 2>/dev/null #   .conf  



grep -r "password" /etc/ 2>/dev/null #    



grep -i "error" app.log #   



locate nmap #    



which python3 #   

grep     .     .    ,     ,    ,      .




    




         | ():

cat access.log | grep "admin" | wc -l

 :   ?     admin ?   .     ,    Windows     .

  :

nmap -sV 192.168.56.0/24 > scan.txt #     echo "" >> notes.txt #    command 2>/dev/null #  




  


chmod +x script.sh #   



chmod 644 file #   



chown ivan file #   ( root)



sudo  #    root



ps aux #  

sudo      .  :      sudo  ,     root.




  


ip a #  



ip route #  



ping -c 4 8.8.8.8 #  



curl http://site.com #    



wget http://site/f.zip #  



ss -tulpn #     

curl  :   HTTP-          ,   .

curl -I https://example.com #    curl -X POST -d "user=ivan" URL # POST-   curl -H "Authorization: Bearer X" URL #   




 


 Debian/Ubuntu/Kali    apt:

sudo apt update #    sudo apt install nmap #   sudo apt upgrade #  




 ,   


Tab      .  .

    .

Ctrl+C    .

Ctrl+R     .

Ctrl+L   .

history     .




   4


1.   lab,   ,   notes.txt,      echo.

2.        .log  /var/log        .

3.  curl -I https://example.com  ,  -  ( Server).

5.  ,   /etc/passwd     (: cut -d: -f1).




  


   ,    .   .

rm -rf  .  Linux  .

 sudo      .

  Tab       .




 5.   



    ,  .    ,        .   ,   ,    .




    


   

  ,  theHarvester, Amass, whois, Google



  dorking

   , nmap, masscan, naabu



, 

-  - Burp Suite, OWASP ZAP,  +



DevTools

     ffuf, gobuster, dirsearch

   Nikto, nuclei, OWASP ZAP





   hashcat, John the Ripper, hydra

   Metasploit (  )

-     ,  




 ,    


1. Nmap       

 . ,     ,         .  ,   ,    .     8.

2. Burp Suite    

,             HTTP-.   -.   Community-,   .     10.

3. ffuf / gobuster    

    ()  ,        .   /admin, /backup, /.git  ,    ,   .

F12  .  Network, Console, Application, Storage.     -   ,    .




Kali Linux  


Kali Linux   Linux,      .    :      .   Parrot OS  BlackArch.   6   Kali   .



Kali        ,     .       .    1    .




    


      Kali  .  :        nmap, Burp, ffuf, curl  .        .     .




   5


1.      ?  ?         .

2.   YouTube   demo Burp Suite Community,     (   ).

3.   ,    ,      ,   .




:    


   

     ,       .

grep ""  #    



awk '{print $2}'  #   



sed 's/a/b/g'  # / 

   -:  -10    .

awk '{print $1}' access.log | sort | uniq -c | sort -rn | head

 :    (IP) ?  ?   ?

.

   

.   ^  



* 0    $  



[0-9]  \.  



+ 1   (grep -E) |  (grep -E)

:    -   email.

grep -E "[a-z0-9._]+@[a-z0-9.]+\.[a-z]+" 

,   

TARGET="192.168.56.101"



echo " $TARGET"



for p in 22 80 443; do echo " $p"; done



files=$(ls *.txt)

    

 & #   



jobs #   



nohup  & #      



tmux #  :    

tmux  :   , ,     .

 :  

chmod 755 file # rwxr-xr-x  ,  +



chmod 644 file # rw-r--r--  /,  



chmod 600 file # rw-------   (   )



chmod +x s.sh #    

SSH     

ssh user@host # 



ssh -i key.pem user@host #  



scp file user@host:/path #    



ssh-keygen -t ed25519 #    

 SSH  :   ( 600!)    .  SSH-    ,    (       ).




 6.   



       .         ,    .      ,  ,     ,        .




  


  ()     :  ,   .   :

 :     ,    .

 (snapshots):   , ,    .

:       ,     .




 


   

VirtualBox ()   virtualbox.org



 VMware 



Workstation Player

Kali Linux (    kali.org/get-kali



VirtualBox)

Metasploitable 2 / 3    SourceForge / Rapid7

OWASP Juice Shop  -  Docker  npm

()   Windows microsoft.com Evaluation Center



Windows 10/11



Evaluation



Metasploitable   ,   . Ÿ          .      .       .




 


1.  VirtualBox      .

2. ,     .

3.  Extension Pack     (  USB  ).

 2. Kali Linux

     :

1.  kali.org   Virtual Machines     VirtualBox ( .7z  .vbox  .vdi ).

2.    .

3.  VirtualBox:  ?  ?  .vbox.

4. /    kali / kali      passwd.

,   :

cat /etc/os-release #   Kali GNU/Linux



ip a #   



sudo apt update #  

 3.  Metasploitable 2

1.  ,    .

2.  VirtualBox     Linux,       ?  .vmdk  .

3.   .    .

 4.     

: Kali     ,         .

  :  ?  ?  1 ?    (Internal Network),     ,  labnet.

 Kali     ( ),       NAT,      .

Kali: [: labnet] + [NAT  ]



Metasploitable:[: labnet] ?   



Juice Shop: [: labnet]

 5.  

  .  Kali      :

ip a #   , . 192.168.56.x



nmap -sn 192.168.56.0/24 #      



ping -c 3 192.168.56.101 #   

     .    ,        .



     (snapshot)     , .         ,       .




OWASP Juice Shop  Docker


Juice Shop    -  .    Docker  Kali:

sudo apt install docker.io -y



sudo systemctl start docker



sudo docker pull bkimminich/juice-shop



sudo docker run -d -p 3000:3000 bkimminich/juice-shop

   Kali http://localhost:3000   -,        .




 - ( 

)


            .      :

   

PortSwigger Web -,   



Security Academy  

TryHackMe     





Hack The Box ,   



(Academy  Starting 



Point)

OverTheWire (Bandit)  Linux    



 

root-me.org    





Standoff 365  



 



-

   : PortSwigger Academy (  -) + TryHackMe ( ) +  - ( ).




   6


1.  VirtualBox     Kali.  ,  .

2.  Metasploitable     ,  Kali  ,        ( ping 8.8.8.8      ).

3.      .

4.  Juice Shop      Kali.

5.   TryHackMe     .




  


       .   .

          .

     ( Kali  24 ).

     ,      .




 7. :   



      ,   .       ,     .          .




  


      ,    .   ,    : ,   ,  ,  .    ,   .

      :  ,  .     ,       scope.

   :      ,  .




OSINT     


OSINT (Open Source Intelligence)      .    :

      .

 IP-  .

    (   ).

  .

        .

Whois  DNS

whois example.com #   ,  



dig example.com ANY #  DNS-



dig example.com MX #  



dig example.com TXT #   ( SPF, )



nslookup example.com #  

 DNS,  :

    

A  ? IPv4   

AAAA  ? IPv6    IPv6

MX    

NS DNS-    

    

TXT   SPF, DKIM,  

CNAME     

 

    ,       .  :

# ,      



amass enum -passive -d example.com



subfinder -d example.com

#   : crt.sh ( )



#  : https://crt.sh/?q=%25.example.com



 TLS   (Certificate Transparency).  crt.sh   ,   -  .       .

Google Dorking

    ,     :

site:example.com     



site:example.com filetype:pdf 



site:example.com inurl:admin    admin  



site:example.com intitle:index.of   



"example.com" ext:log ,   

      .        .          .

    

     GitHub , , .      :

#  github  -  :



org:target-company password



org:target-company api_key



#   / :



trufflehog github --org=target-company



gitleaks detect --source=.



     ,   .    ,  .            1.

  

whatweb https://example.com # , CMS, 



curl -I https://example.com # : Server, X-Powered-By



#   Wappalyzer   

,       CMS,    ,        (  CVE).




    


:      example.com.  crt.sh  dev.example.com  old.example.com. Whatweb ,  old.     CMS. Google   PDF   .      ,   ,    .     .




   7


1.     (  ) : whois,  DNS-,    crt.sh.

2.  Google dorks    PDF  site:gov.ru filetype:pdf (     ).

3.       Wappalyzer  whatweb.

4.   : , , ,     .    .




  


  ,   .

      ,   .

       .

  ,     ,    .




 8.      Nmap



Nmap     .         ,       ,        .




  


 .          ?.    ,   ()  .    ,    : , ,  .



       .             scope.        ,    -      .




 1.   (host discovery)


nmap -sn 192.168.56.0/24

-sn    ,   ;

192.168.56.0/24   .

    .      .




 2.   


nmap 192.168.56.101

   1000   .  :

PORT STATE SERVICE



22/tcp open ssh



80/tcp open http



139/tcp open netbios-ssn



445/tcp open microsoft-ds



3306/tcp open mysql

 :

STATE 

open  ,  

closed  ,   

filtered     

 

nmap -p- 192.168.56.101 #  65535  (, ) nmap -p 80,443,8080  #   nmap -F  # , 100  nmap --top-ports 20  # 20  




 3.        


nmap -sV 192.168.56.101

-sV   :

PORT STATE SERVICE VERSION



22/tcp open ssh OpenSSH 7.2p2 Ubuntu



80/tcp open http Apache httpd 2.4.18



3306/tcp open mysql MySQL 5.7.33

   .  Apache 2.4.18,      CVE,        .            .




 4.   


nmap -O  #   



nmap -sC  #   



nmap -A  #  : -sV -O -sC + 

-sC     NSE (Nmap Scripting Engine):        HTTP,  SMB-, .




   


 ,      :

# 1.  :   



nmap -p- --min-rate 1000 192.168.56.101 -oN ports.txt

# 2.    



nmap -sV -sC -p 22,80,3306 192.168.56.101 -oN detail.txt

-oN       .        .

 

-oN file.txt ,   -oG file.gnmap grepable,   grep- -oX file.xml XML,      -oA basename   




 :  


     :  21/tcp (FTP, vsftpd 2.3.4), 80/tcp (Apache), 3306/tcp (MySQL,  ).    :

1. FTP           .

2. MySQL,  ,     :      .

3. -     - ( 913).

    ,           .




  


   nmap .    masscan     ,    nmap -sV  .           nmap.




   8


1.         (-sn).

2.   Metasploitable (-p-),   .

3.       (-sV -sC).

4.      ,   ,      ( CVE    ).  ,     .

5.    -: ,  , ,  .




  


    ( ip a).

 -A    -       .

     .

   ,   .      .

 filtered   :      .




:     


   

Nmap    -T0..-T5. -T4     ; -T1/-T2       ; -T5  ,    .

nmap -sV -T4  # ,  



nmap -sV -T2 --max-retries 2  # ,   

NSE-: ,  

  NSE  nmap. : safe, default, discovery, vuln  .

nmap --script=default  #   



nmap --script=http-title,http-headers 



nmap --script=vuln  #    (!)



nmap --script=smb-os-discovery  #    SMB



 vuln            .  -      .    .

  

filtered       .   :    (-sA    ),  -, UDP- (-sU)    UDP (DNS, SNMP),  TCP- .

   

1. masscan        



2. nmap -sV -sC       



3.  - ?    914 (Burp, ffuf)



4.   ?       

  

[ ]   ? (  ip a)

[ ]     ?

[ ]   ,       (, )?

[ ]        CVE?

[ ]   -   -?




 9.   -    



         .  ,      -  -,   .    - .




   


[  ] ??HTTP??? [   ] ??? [   ]



,  : 



  ,  



 

 (frontend)  HTML, CSS, JavaScript  .       .         .

 (backend)  PHP, Python, Node.js, Java.   .     ,      .

   MySQL, PostgreSQL, MongoDB.  , , .




   -


     2:   ,        .         :

    SQL- ? SQL-.

    HTML- ? XSS.

      ? command injection.

       ? path traversal.

  ,   ,    ? IDOR.

    ,      ,   .  ,     .




   


,    ,   :  URL,  POST, , cookie,  ,  User-Agent.      :    .

 : URL-, , cookie, , JSON,  ,   ,   JS.  :  ,      .




OWASP Top 10   ,  


OWASP Top 10       -,  .   .  2021 (   2026):

#   

A01 Broken Access Control   /



(IDOR,  )

A02 Cryptographic Failures     

A03 Injection : SQL, , XSS

A04 Insecure Design   





A05 Security Misconfiguration  , ,



 

A06 Vulnerable Components    





A07 Identification/Auth Failures  , 

A08 Software/Data Integrity   



/

A09 Logging/Monitoring Failures   ,    





A10 SSRF     





           : Access Control / IDOR, Injection (SQL  XSS),    .




  -


 + DevTools (F12)  , .

Burp Suite Community  ,  - ( 10).

OWASP ZAP    Burp  .

ffuf / gobuster    .




:     


1.   .   : , ,

.

2.    .  ,  ,  .

3.  .      ?   ?     .

4.      .   ?   ?  .

5.  . , , .   .




   9


1.  Juice Shop.         ,    .

2.    ,      (   Network).

3.    OWASP Top 10 2021        .

4.      ,    Top 10      .




  


  ,    .  ,  .

       ,      .

       .     .




 10. Burp Suite:     



Burp Suite    -.  :            ,       .    HTTP  Burp  .




  


        ,   id,   . Burp .    HTTP-           .      ,    .




   


Burp Suite Community Edition      Kali ( ? Web Application Analysis).       portswigger.net.

   Burp

     Burp:  Proxy ? Intercept ? Open Browser.        .    .

   :   127.0.0.1:8080    Burp (http://burp ? CA Certificate),  HTTPS-  .




 


 

Proxy        

Target  :     

Repeater     ,  . 





Intruder    ( Community )

Decoder / (URL, Base64, hex)

Comparer   




 : Proxy ? Repeater


1. Intercept.   Proxy  Intercept.         :  (Forward)   (Drop).

2.   . ,    GET /profile?id=42.

3.   Repeater.     ? Send to Repeater ( Ctrl+R).

4. .  Repeater  id=42  id=43,  Send,  .     ( ).



Intercept   ,      Proxy ? HTTP history.    ,      Repeater  .   Intercept   .




:    Repeater


  :

POST /rest/user/login HTTP/1.1



Host: localhost:3000



Content-Type: application/json



Content-Length: 44

{"email":"test@test.com","password":"test123"}

 Repeater  :

 email       (200  401);

   email     ( 11);

      .

  Send        .    Repeater .




HTTP history  


 Proxy ? HTTP history     ,    Burp.     (, )      API.   :      .




Decoder    


    . Decoder  -:

: admin:password



Base64: YWRtaW46cGFzc3dvcmQ=

  : cookie , ,    Base64  URL-,     .




OWASP ZAP   


 Burp  ,  OWASP ZAP:  ,    (   Burp Community).      .     ZAP,     Burp.




   10


1.  Burp,   ,   Juice Shop. ,     HTTP history.

2.   Juice Shop      login.    Repeater.

3.  Repeater           .

4.  ,      .     .

5.  Decoder   Base64-,    .




  


 Intercept      Forward.      .

    ,  HTTPS-  .

  Repeater      .

   .     .




 11. : SQL-   



            .    SQL,     .       ,       , , ,   .




  SQL-


     SQL.      .       ,      .

  (  ):

# :      



query = "SELECT * FROM users WHERE name = '" + user_input + "'"

     Ivan,   :

SELECT * FROM users WHERE name = 'Ivan'

   user_input.    ,  ,         .       9:   .




   (  )


              :

http://site/product?id=5'

  :

  

 SQL   500       

  ,   



   id

    ,     

   You have an error in your SQL syntax   .    :  ,     




  .


   .

   ,     (https://www.litres.ru/book/ivan-grom-34127812/belyi-khaking-s-nulia-74799057/)  .

      Visa, MasterCard, Maestro,    ,   ,     ,  PayPal, WebMoney, ., QIWI ,       .


