Pinned Tweet
- You can use these skills in bug bounty programs; I plan to further develop them and contribute more .
with @uphiago
github.com/uphiago/recon-ski…
Houssam Miliani retweeted
Blog post:
portswigger.net/research/bli…
Houssam Miliani retweeted
XSS from a response header 🤯
Firefox will load an XSLT stylesheet from a data: URL in a Link header. Combined with a harmless XML body and you get JS running in the page origin.
Plus Safari importing GIFs as SVG and more sanitizer bypasses
Houssam Miliani retweeted
Code optimization is absolutely fascinating.
When you multiply something by a constant (let's say 24), LLVM replaces multiplication (imul) with a combination of left shift (shl) and load effective address (lea)
Left shift by 3 is the same as multiplying by 8, load effective address does math of [base + index] in the brackets, and then stores its result.
All of this literally to save 1 cycle. Because imul takes 3 cycles, and shl and lea take 1 each.
And you can find tables with similar heuristics for a lot of different constants. These people who write optimizing compiler backends spend so much effort to save just one instruction, so don't throw it all away!
Heap-like Dynamic Score-Decomposed Tries for Top-k Autocomplete : ( by Niles Salter )
validark.dev/DynSDT/
27
any 0.17.0
Found an interesting quirk in zig 0.16 which looks like a regression.
Zig's std.mem.eql is a quite nice;y optimized function but because it is pub fn without inline llvm doesn't inline it as often as I want which leads to worse results.
Do you think I should submit a patch or they won't accept a patch from AI lab employee?
29
Houssam Miliani retweeted
If you can't switch your C to Rust immediately, consider at least enabling all the sanity checking the compiler can already do for free:
-Wall
-D_FORTIFY_SOURCE=2
-fsanitize=bounds fsanitize-undefined-trap-on-error
-fstrict-flex-arrays (GCC 13+, Clang 16+)
Houssam Miliani retweeted
If you want to see how to compromise an account from a paste and steal passwords in CSS and much more check out my paper "CSS: the bomb inside your inbox" 👇
portswigger.net/research/css…












