
André Baptista
@0xacb • 19,091 subscribers
Hacker grinding for L1gh7 and Fr33dφm, straight outta the cosmic realm. Co-founder @ethiack
Shorts
Videos

Hidden or disabled fields are commonly overlooked, but they can still open the door to some cool bugs. Try creating a bookmarklet to instantly reveal these fields. Here are some quick examples you can copy and paste: 🔖 Enable all disabled or readonly fields: javascript:(function(){document.querySelectorAll('[disabled],[readonly]').forEach(el=>{el.removeAttribute('disabled');el.removeAttribute('readonly');});})(); 🔖 Unhide elements styled with display: none: javascript:(function(){document.querySelectorAll('[style*="display: none"]').forEach(el=>{
André Baptista47,088 views • 1 year ago

Just released a new recollapse version thanks to Ryan Barnett (B0N3) and Angel Hacker after their talk in Black Hat today. What’s new? 💥Mode 6: Fuzz case folding/upper/lower 💥 Mode 7: Fuzz byte truncations 💥 Recollapse is now available to use as a python library and available on Python Package Index Check it out 👇
André Baptista17,278 views • 10 months ago

This is how DOM clobbering works. When you create an element with an id, the browser automatically creates a global variable for that ID: Now points to that single element. But when you create multiple elements with the same id: Now becomes an HTMLCollection, not a single element. Add a name attribute: And now points to that element (works in Chromium/WebKit browsers, but not Firefox). Now combine that with a common JS pattern like: var someObject = window.someObject || {}; This is meant to provide a fallback if the global doesn't exist. However, if window.someObject has been clobbered by injected HTML, the fallback silently trusts a DOM object instead of a real JS object. Now imagine this JS logic: let imgSrc = someObject.avatar; If an attacker clobbered someObject.avatar with: If HTML is set via innerHTML or similar, then this could render as: Which triggers XSS! Here's a quick walkthrough of the DOM clobbering Web Security Academy lab👇 Try this lab:
André Baptista16,631 views • 11 months ago
No more content to load
