Git Product home page Git Product logo

xrcross's Introduction

XRCross (Recon)

Details

About XRCross

XRCross is a Reconstruction, Scanner, and a tool for penetration / BugBounty testing. 
This tool was built to test (XSS|SSRF|CORS|SSTI|IDOR|RCE|LFI|SQLI) vulnerabilities 

✔️ Options:

    Example: 
            XRCross -u/--url example.site <arguments>
            
    
    Optional Arguments:
            -h /--help          | show this help message and exit
            -u /--url           | URLs
            -a /--aws           | Amazon S3 bucket enumeration
            -p /--proxy         | URL of the proxy server (default: http://127.0.0.1:8080)
            -s /--subdo         | Check Subdomains Enumerations
            -m /--map           | Domain Mapping with dnsdumster
            -l /--live          | Check live the Subdomains for working HTTP and HTTPS servers
            -hr/--header        | Host header injection 
            -sm/--smuggling     | HTTP request smuggling 
            -t /--takeover      | Check Posible Takeover
            -cr/--cors          | CORS misconfiguration scanner
                --flash         | Basic cors misconfig flash
            -d /--dir           | Dir enumeration
               -w /--wordlists  | Wordlist file to use for enumeration. (default wordlists/wordlists.txt)
            -lp/--lfiparam      | Get LFI Parameters       
                --lfiv          | LFI Check Vulnerabilty
            -st/--ssti          | Get parameter SSTI Vulnerabilty  
                --sstiv         | Test Vulnerabilty SSTI
            -ss/--ssrf          | Get SSRF Parameters 
                --blind         | Blind SSRF testing Vulnerabilty
            -c /--cmd           | Get Command Injection Parameter
                --cmdv          | Command Injection Check Vulnerabilty
            -r /--redirect      | Get redirec Parameters
                --rev           | Get Vulnerabilty Open-redirect
            -x /--xss           | Get XSS Parameters        
                --xssv          | XSS Scanners Vulnerabilty
            -j /--jstatus       | Get Status JavaScript 
                --jsurl         | Gathering all js urls and extract endpoints from js file

            -pr/--param         
                --idor          | Get IDOR Parameters
                --rce           | Get RCE Parameters
                --sqli          | Get SQLI Parameters
                --img           | Get img-traversal Parameters
                --int           | Interestingparams

            -w /--wayback       | Scraping wayback for data
                --js            | Jsurls 
                --php           | Phpurls
                --asp           | ASP
                --html          | Html
            -v /--verbose       | verbose mode
            -o /--outfile       | outfile    

✔️ How to install XRCross:

root@kali~# git clone https://github.com/pikpikcu/xrcross.git

root@kali~# ./install.sh

root@kali~# ./XRCross -h

Open folder config/ and edit file:
  |-> Api-github.txt <(inssert github token)
  |-> ssrf.txt <(inssert ssrf payload)
  |-> xss.ht <(inssert your.xss.ht)

✔️ Go language dependency:

All the dependent libraries are compiled with go version 1.14.2. So go version 1.14.2 should be installed
(strictly). Secondly, $GOPATH should be set to /root/go and it should be exported to PATH using "export PATH=$PATH:$GOROOT/bin/:$GOPATH/bin" 
and same should be present in profile or bash_profile or bashrc. XRCross checks for all the go dependencies under ~/go/bin.

✔️ Donate!

(I love coffee and am very addicted to coffee:v)
Buy Me A Coffee

✔️ Contribution & License

You can contribute in following ways:

  • Give suggestions to make it better
  • Fix issues & submit a pull request

Credits Thanks:

xrcross's People

Contributors

harsim09 avatar pikpikcu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

xrcross's Issues

Blind SSRF testing log error

I get this error:

Start [ Blind SSRF testing...]
sed: can't read site.com/ssrf/site.com-ssrf2.txt: No such file or directory
./XRCross: line 69: site.com/ssrf/site.com-ssrf3.txt: No such file or directory

Success Saved:[site.com/site.com-ssrf3.txt]

on line 67 save the file in $ output / $ site-ssrf2.txt
but on line 68 look for it in $ output / ssrf / $ site-ssrf2.txt

this is correct?

Run GAU once, then grep the output into files

I don't suggest running GAU over and over again for the same domain. You should just pipe the raw output from GAU to a file and grep that.

XRCross/XRCross

Lines 48 to 61 in 3d54fa1

gau -subs $site | grep "redirect" > $output/redirec/$site-redirectall.txt
gau -subs $site | grep "redirect=" > $output/redirec/$site-redirectequal.txt
gau -subs $site | grep "url" > $output/redirec/$site_urlall.txt
gau -subs $site | grep "url=" > $output/redirec/$site_urlequal.txt
gau -subs $site | grep "next=" > $output/redirec/$site_next.txt
gau -subs $site | grep "dest=" > $output/redirec/$site_dest.txt
gau -subs $site | grep "destination" > $output/redirec/$site_destination.txt
gau -subs $site | grep "return" > $output/redirec/$site_return.txt
gau -subs $site | grep "go=" > $output/redirec/$site_go.txt
gau -subs $site | grep "redirect_uri" > $output/redirec/$site_redirecturi.txt
gau -subs $site | grep "continue=" > $output/redirec/$site_continue.txt
gau -subs $site | grep "return_path=" > $output/redirec/$site_path.txt
gau -subs $site | grep "externalLink=" > $output/redirec/$site_link.txt
gau -subs $site | grep "URL=" > $output/redirec/$site_URL.txt

Verbose

Can you add verbose?

Thanks in advance.

XRCross : problem with url addresses on line 1253, 1254 and 1270.

When the urls have forward slashes (/), it messes up the outfile creation.

./XRCross: line 1253: redacted.com/5d60324d13/xss/redacted.com/5d60324d13-xss-param.txt: No such file or directory
./XRCross: line 1254: redacted.com/5d60324d13/xss/redacted.com/5d60324d13-xss-param.txt: No such file or directory
./XRCross: line 1270: redacted.com/5d60324d13/xss/redacted.com/5d60324d13-xss-param.txt: No such file or directory
cat: redacted.com/5d60324d13/xss/redacted.com/5d60324d13-xss-param.txt: No such file or directory

I was trying it on https://www.redacted.com/5d60324d13

Readme file needs to be modified

Hi,
As all the dependent libraries are compiled with go 1.14.2 version, if there is some other version on users' system. The system gives error related to Go version mismatch which is not descriptive.

I would like to update the readme file to mention the "Go" version required and possible solutions to the errors that are faced.

Thanks,
Harry

hello

the tool is nice and working fine , waiting for more improvment and updates , such a nice tool

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.