Projects STRLCPY pentest-tools Commits d0c1816f
🤬
  • ■ ■ ■ ■ ■ ■
    lfi.py
    skipped 195 lines
    196 196   content_type = '-'
    197 197   
    198 198   # print(r.text)
    199  - if 'root:' in r.text or '[boot loader]' in r.text:
     199 + # if 'root:' in r.text or '[boot loader]' in r.text:
     200 + if 'root:x:' in r.text or 'root:*:' in r.text or 'root:!:' in r.text or 'root:!!:' in r.text or 'root:$:' in r.text or 'root::' in r.text or '[boot loader]' in r.text:
    200 201   vuln = 'VULNERABLE'
    201 202   else:
    202 203   vuln = '-'
    skipped 353 lines
    556 557   
    557 558   
    558 559   
    559  - 
    560 560  exit()
    561  - 
    562  - 
    563 561   
    564 562   
    565 563  if _verbose < 4:
    skipped 35 lines
Please wait...
Page is in error, reload to recover