dev-Dedication🔹 retweeted
I posted how this works over here → teapawt.net/wesbos/status/17277305…
dev-Dedication🔹 retweeted
How to XSS 101:
Understanding the Basics:
----------------------
Educate Yourself:
Understand HTML, JavaScript, and the basics of web application security, especially different types of XSS vulnerabilities.
Preparation:
Test and learn at labs.hackxpert.com/
Discovering XSS:
Identify Input Vectors:
Look for areas in the application where user input is accepted, like text fields, search bars, and URL parameters.
Test Input Reflection:
Enter a unique value (e.g., a random string) into the input vectors you identified.
Observe where and how this value is reflected in the application.
Identify Context:
Determine the context in which your input is reflected, such as within HTML, a script, an attribute, etc.
Craft Context-Specific Payloads:
Based on the identified context, craft payloads designed to exploit XSS. For example, if your input is reflected within a script, you might try breaking out of the script context.
Test Your Payloads:
Inject your payloads into the input vectors and observe the application's behavior.
Advanced Testing:
----------------------
Bypassing Filters:
If there are filters in place, try to understand their rules and craft payloads to bypass them.
Examine JavaScript Files:
Look for unsafe handling of user input in the application's JavaScript code which might lead to DOM-based XSS.
Utilize Browser Developer Tools:
Use browser developer tools to understand how your payloads are being handled, and to debug your tests.
Crafting a context specific payload:
----------------------
1. Understanding Contexts:
Familiarize yourself with different contexts like HTML, JavaScript, and attribute contexts.
Understand how data is handled and displayed within these contexts.
2. Identify Reflection Context:
Input a unique identifier into the application (e.g., "123XYZ").
Determine where and how your input is reflected in the page’s source code.
3. HTML Context:
If your input is reflected within HTML:
Try breaking out of the current HTML element by using characters like ">.
Craft a payload that introduces a new HTML element, like <img src=x onerror=alert(1)>.
4. Attribute Context:
If your input is reflected within an HTML attribute:
Attempt to break out of the attribute using a quote (") or apostrophe (')
Then, introduce a new attribute to execute JavaScript, like onmouseover=alert(1)
5. JavaScript Context:
If your input is reflected within a script:
Look for opportunities to break out of the current JavaScript context using characters like ;, }, or ].
Try introducing new JavaScript code, like ;alert(1);.
6. URL Context:
If your input is reflected within a URL:
Test for DOM-based XSS by manipulating the URL parameters.
Use payloads like #"><img src=x onerror=alert(1)> to test for reflection and execution.
7. Event Handler Context:
If your input is reflected within an event handler:
Try to close the event handler and introduce your own script.
Example payload: ";alert(1);//.
8. Style Context:
If your input is reflected within a style:
Attempt to break out of the style context and introduce a script.
Example payload: </style><script>alert(1)</script>.
9. Testing:
Test your context-specific payloads to see if they trigger an XSS vulnerability.
Utilize browser developer tools to debug and refine your payloads.
10. Advanced Techniques:
Learn about encoding and filtering bypass techniques to create more sophisticated payloads.
dev-Dedication🔹 retweeted
🔥 CSS Grid Hot Tip
:before and :after are first class CSS Grid items, this “lines on either side” design can easily be accomplished in ~10 lines of CSS
dev-Dedication🔹 retweeted
Can you pop alert(1) here?
10$ reward for the first valid solution! 💢🔥
octagon.net/chal/10.php
dev-Dedication🔹 retweeted
Future CSS Tip! 🔮
Use scroll-driven animations to create those cool Apple-style text reveals 🔥
No JavaScript required 👀
Responsive too! 🙌
.sentence {
animation: highlight;
animation-timeline: view();
animation-range: cover 40% cover 75%;
}
@CodePen link below! 👇
dev-Dedication🔹 retweeted
Anyone can now create their own AI chatbot.
It's done with a few clicks and in less than 5 minutes.
I'll show you how in 3 simple steps:
dev-Dedication🔹 retweeted
I posted 15-hour video on SQL injection where I covered numerous write-ups and labs that include SQLi methodology, SQLi automation, CVEs, and Shodan recon.
Playlist : youtube.com/watch?v=ED28EcEQ…
#BugBounty #bugbounty
dev-Dedication🔹 retweeted
Google just dropped a 100% free learning path on Generative AI with 9 Courses 👇
Intro to Gen AI
Intro to LLMs
Intro to Responsible AI
Intro to Image Generation
Encoder-Decoder
Attention Mechanism
Transformers and BERT
Image Captioning
Gen AI Studio
cloudskillsboost.google/path…
dev-Dedication🔹 retweeted
Can you find the flag by exploiting a vulnerability? 10$ for first solver! 💢
octagon.net/chal/1.php
dev-Dedication🔹 retweeted
Google offers free online courses in a ton of fields.
From Computer Science to Artificial Intelligence.
Here are 10 free courses from Google you don't want to miss:
dev-Dedication🔹 retweeted
Sunday read.
This is hilarious. Engineers are competing who creates the worst UI on Reddit.
I think the winners are:
1/ Enter your phone number
dev-Dedication🔹 retweeted
FREE 🔥
8-week cybersecurity course for everyone looking to break into the lucrative field of cybersecurity or learn more about cloud security!!
#Infosec #TheSecureEdge #CyberMonday #Microsoft
gitbit.org/
dev-Dedication🔹 retweeted
ChatGPT is a FREE employee.
But most people don't know how to use it to superpower their marketing.
Here are 8 ways ChatGPT can save you thousands of marketing hours in 2023:
dev-Dedication🔹 retweeted
Getting stuck with Git sucks.
These 10 Git commands will save you from a lot of headaches:
dev-Dedication🔹 retweeted
If you want to master SQL injections, open this thread!
SQL injection attacks are vulnerabilities that can allow attackers to access ANY data in a victim's database!🤯
A Thread 🧵👇
dev-Dedication🔹 retweeted
If you want to master XSS, open this thread!
Cross-site scripting vulnerabilities are injection attacks that allow attackers to execute malicious Javascript in your browser! 🤯
A Thread 🧵👇





















