Giter Site home page Giter Site logo

r3dhulk / xss-vulnerability-finder-in-perl Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 45 KB

XSS Vulnerability Tool In Perl

License: MIT License

Perl 100.00%
blackhathacker blackhathacking cross-site-scripting crosssitescripting ethical-hacking ethicalhacking perl perl-for-ethical-hacker perl-for-ethical-hackers perl-for-ethical-hacking

xss-vulnerability-finder-in-perl's Introduction

XSS Vulnerability Finder In Perl

Check Out The Tool ๐Ÿ‘‡

Alt text

๐Ÿ”ด Disclaimer : Author Of This Tool Is Not Responsible For Any Harmful Activities.

So What Is XSS?

Cross-site scripting (also known as XSS) is a web security vulnerability that allows an attacker to compromise the interactions that users have with a vulnerable application. It allows an attacker to circumvent the same origin policy, which is designed to segregate different websites from each other. Cross-site scripting vulnerabilities normally allow an attacker to masquerade as a victim user, to carry out any actions that the user is able to perform, and to access any of the user's data. If the victim user has privileged access within the application, then the attacker might be able to gain full control over all of the application's functionality and data.

How does XSS work?

Cross-site scripting works by manipulating a vulnerable web site so that it returns malicious JavaScript to users. When the malicious code executes inside a victim's browser, the attacker can fully compromise their interaction with the application.

xss-vul

XSS Proof Of Concept

You can confirm most kinds of XSS vulnerability by injecting a payload that causes your own browser to execute some arbitrary JavaScript. It's long been common practice to use the alert() function for this purpose because it's short, harmless, and pretty hard to miss when it's successfully called. In fact, you solve the majority of our XSS labs by invoking alert() in a simulated victim's browser.

Unfortunately, there's a slight hitch if you use Chrome. From version 92 onward (July 20th, 2021), cross-origin iframes are prevented from calling alert(). As these are used to construct some of the more advanced XSS attacks, you'll sometimes need to use an alternative PoC payload. In this scenario, we recommend the print() function. If you're interested in learning more about this change and why we like print(), check out our blog post on the subject.

As the simulated victim in our labs uses Chrome, we've amended the affected labs so that they can also be solved using print(). We've indicated this in the instructions wherever relevant.

Types Of XSS Attacks

There are three main types of XSS attacks. These are:
๐Ÿ’€ Reflected XSS, where the malicious script comes from the current HTTP request.
๐Ÿ’€ Stored XSS, where the malicious script comes from the website's database.
๐Ÿ’€ DOM-based XSS, where the vulnerability exists in client-side code rather than server-side code.

Git Installation

# Update And Upgrade System
sudo apt update && sudo apt upgrade -y

# Install Git
sudo apt install git 

# Install Perl
sudo apt install perl

# Clone My Repo
git clone https://github.com/R3DHULK/xss-vulnerability-finder-in-Perl

# Change Directory
cd xss-vulnerability-finder-in-Perl

# Run
perl xss-vulnerability-scanner.pl

๐Ÿ”ด Note: This Is Just A Basic Tool. In Real World XSS Vulnerabilities Are Too Crtitical To Find.

Show Support ๐Ÿ‘‡๐Ÿ‘‡๐Ÿ‘‡

https://www.buymeacoffee.com/r3dhulk

xss-vulnerability-finder-in-perl's People

Contributors

r3dhulk avatar

Stargazers

 avatar  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.