Elektrine lite

← Feed

qjerome

qjerome@infosec.exchange

<p>Working at the intersection of security &amp; code <span class="h-card" translate="no"><a href="https://social.circl.lu/@circl" class="u-url mention">@<span>circl</span></a></span> / <span class="h-card" translate="no"><a href="https://infosec.exchange/@0xrawsec" class="u-url mention">@<span>0xrawsec</span></a></span>. Aiming for a better, more open tech world. Developing in <a href="https://infosec.exchange/tags/rustlang" class="mention hashtag" rel="tag">#<span>rustlang</span></a>, <a href="https://infosec.exchange/tags/golang" class="mention hashtag" rel="tag">#<span>golang</span></a> and <a href="https://infosec.exchange/tags/python" class="mention hashtag" rel="tag">#<span>python</span></a>. Author of <span class="h-card" translate="no"><a href="https://infosec.exchange/@kunai_proj

Posts

  • Post #1185490

    πŸš€ From C to Python to Rust: How We Built a Fast URL Parser in 3 Days ⚑ When our @ail_project (https://github.com/ail-project) started hitting performance walls with URL processing, we knew we needed a change. We were using Faup (https://github.com/stricaud/faup), a capable C library, but faced two growing pains: πŸ”„ architectural portability issues and cumbersome Python binding installations. Our first attempt was rewriting it in Python - which solved the installation problems but created new per...

  • Post #1048344

    @robo9k https://crates.io/crates/pure-magic Thanks for the name suggestion πŸ˜‰

  • Post #1048341

    A new patched release is out for both the Rust crate and Python package of magic-rsβ€”the memory-safe implementation of libmagic! This fixes incorrect file identification (e.g., MS Office docs). If you use magic-rs, update now to avoid false positives: πŸ”— Rust: https://crates.io/crates/pure-magic πŸ”— Python: https://pypi.org/project/pure-magic-rs/ ⚠️ Also, don&amp;#39;t forget to update your command line file detection companion wiza (What is Zat?): https://crates.io/crates/wiza Thanks to the @Ra...

  • Post #1048340

    Just before the holidays, I ran a recorded Rust training at Luxembourg House of Cybersecurity β€” designed to help developers with experience in other languages get up to speed faster. πŸ”— Watch the full session (broken English included!): https://youtube.com/playlist?list=PLhSWiKucshm5vWvFCqtJePVVYgIXH6_6y&amp;amp;si=ffdPXpY52GPnd8DW All training materials are open-source and available here: https://github.com/ngsoti/rust-training Not about mastery, but about cutting through the noise and gett...

  • Post #935567

    🐍 Meet the new file identification package for Python! Say hello to pure-magic-rs, the brand-new Python package that’s changing the game for file type detection! ✨ Safe – A reliable, pure Rust implementation of libmagic, ensuring high compatibility with existing magic rules. 🌍 Cross-Platform – No more headaches! Works seamlessly across all platforms without needing external dependencies or compiling C code. πŸ“¦ Self-Contained – Forget about managing external magic database filesβ€”it embeds its o...

  • Post #935562

    πŸͺ² Bug Fix in pure-magic! I just fixed a tricky offset computation bug in pure-magic, your pure Rust port of libmagic for safe file identification. So, make sure you are using the latest version available for your toolings. πŸ”Ž Check it out - Rust Crate: https://crates.io/crates/pure-magic - CLI Tool (replaces file): cargo install wiza - Python Bindings: https://pypi.org/project/pure-magic-rs/ - Repository: https://github.com/qjerome/magic-rs #Rust #FileIdentification #OpenSource #Python