GithubHelp home page GithubHelp logo

dsb4 / lfiter2 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from 3mrgnc3/lfiter2

0.0 1.0 0.0 79 KB

LFIter2 Local File Include (LFI) Tool - Auto File Extractor & Username Bruteforcer

License: GNU General Public License v3.0

Python 100.00%

lfiter2's Introduction

LFIter2 (Currently in Alpha)

LFIter2 Local File Include (LFI) MultiTool - Auto File Extractor & Username Bruteforcer

SCREENSHOT

Many Web Servers are vulnerable to remote directory traversal      
attacks.                                                           
                                                                   
I created this tool to automatically extract a list of known        
interesting files based on a wordlist and be able to bruteforce
usernames on an affected system [still to do :P].                             
                                                                   
   FEATURES:
   
    1. Support For Multiple Server Types.
    2. Print Remote Files in local Terminal.
    3. Batch Extract Files Using A Wordlist.
    4. Brute Force Usernames Using A Wordlist. [TO DO!]             
                                                                   
I hope others may find this usefull during pentests. I have 
chosen to use subprocess to call curl to perform web requests. 
I Initially tried to use python-requests and libcurl, but was 
having major issues getting self signed certs for https & socks 
proxies working using these. 
                                                                  
Curl just works :D As long as its installed and working you 
should be able to run this script.
                                                                   
Collected Files Are Saved In the ./[host-ip]-files/ Directory      
--------------------------------------------------------------            
 ref:                                                              
 https://owasp.org/index.php/Testing_for_Local_File_Inclusion      
--------------------------------------------------------------     
                                                                   
TARGETS: (-trgt)                                                   
                                                                   
    [ zervit = Zervit 0.4 for Windows ]
    [ cuppa  = CUPPA CMS vb.0..1 for FreeBSD ]
    [ wbm128 = Webmin 1.28 for Fedora Core 4 ]                     

===Examples===================================================     
lfitr2.py 172.16.10.1 -list win-paths.txt                          
lfitr2.py 172.16.10.1 -path /windows/system32/drivers/etc/hosts    
lfitr2.py 172.16.10.1 -list win-paths.txt -port 8008               
lfitr2.py 172.16.10.1 -path /BOOT.INI -out /root/report/host       
==============================================================                                                                          

Asciinema Demo

asciicast

lfiter2's People

Contributors

3mrgnc3 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.