Skip to main content

Programming

Python: writing high-performance C extensions

··2413 words·12 mins
Learn how to write Python C extensions to speed up critical tasks, with practical examples for penetration testers and red team operators.

Rust Concurrency: Techniques for Writing Concurrent and Parallel Programs

··1287 words·7 mins
Learn how to write concurrent and parallel programs in Rust, explore advanced concurrency techniques, and discover how Rust can be used in pen testing and red teaming scenarios. Compare Rust with other languages commonly used in the security field.

Advanced Exploit Development - Heap Exploitation Techniques

··1629 words·8 mins
Master the art of heap exploitation with this comprehensive guide, diving into advanced techniques, real-world examples, and practical code snippets to elevate your red teaming and pen testing skills.

JavaScript - Building Real-Time Applications with Socket.io

··1280 words·7 mins
This article explores the use of JavaScript and Socket.io for building real-time applications, with a focus on techniques and examples relevant to penetration testing and red teaming, while highlighting the pros and cons of using JavaScript in these scenarios.

JavaScript: Advanced DOM Manipulation Techniques

··1224 words·6 mins
This article delves into advanced JavaScript DOM manipulation techniques for red teams and pen testers, covering various methods of accessing, modifying, and traversing the DOM, along with real-world examples demonstrating their applications in hacking scenarios.

Python: Object-Oriented Programming - Advanced Concepts and Techniques

··2343 words·11 mins
This article explores advanced object-oriented programming concepts in Python, such as decorators, inheritance, abstract base classes, composition, aggregation, and properties, along with practical code examples tailored for pen testers and red teamers to create robust and flexible software.

Metaprogramming in Ruby: Techniques for Writing Code that Writes Code

··979 words·5 mins
This article covers the powerful metaprogramming techniques in Ruby, including method_missing, define_method, dynamically defining classes and modules, and executing code dynamically with eval, that allow writing code that writes code to make programs more flexible, dynamic, and powerful.

Lua Programming Language: Basic Concepts and Syntax

··1847 words·9 mins
This article is an introduction to the Lua programming language for pen testers and red team members, covering its basic concepts and syntax, examples of its use in network analysis, password cracking, and web scraping, and weighing its pros and cons compared to other languages.

PowerShell Scripting: Basic Concepts and Syntax

··1295 words·7 mins
This article provides an introduction to PowerShell scripting, including basic concepts and syntax, specific code examples for pen testing and red teaming tasks, and the language’s pros and cons compared to other programming languages in the field.

C++ Programming Language: Basic Concepts and Syntax

··7088 words·34 mins
This article provides a comprehensive guide to the C++ programming language, covering its basic concepts and syntax, as well as its application in pen testing and red teaming, including code examples for a port scanner, password cracker, and web crawler, and discussing its pros and cons compared to other languages for these purposes.

Kotlin Programming Language: Basic Concepts and Syntax

··1493 words·8 mins
This article discusses the basic concepts and syntax of the Kotlin programming language, as well as its applications in pen testing and red teaming, including code examples for a port scanner, password cracker, and web crawler, and compares its pros and cons to other languages used in the field.

C Programming Language: Basic Concepts and Syntax

··2144 words·11 mins
Explore C programming basics, pen testing and red teaming applications, write exploits and shellcode, and compare C to other languages for security pros.

Swift Programming Language: Basic Concepts and Syntax

··7816 words·37 mins
Explore Swift basics, syntax, and use cases for pen testing and red teaming. Learn how to create custom tools like brute force crackers and port scanners.

Java Programming: Key Concepts and Syntax Explained

··6482 words·31 mins
This article delves into the Java programming language, covering basic concepts, syntax, and its practical applications in pen testing and red teaming, while also discussing its pros and cons for cybersecurity professionals.

Go for the Red Team: Weaponizing the Gopher

··534 words·3 mins
Why is everyone rewriting their C2 in Go? Cross-compilation, static binaries, and speed. We dive into using Go for offensive operations.

Python for offensive operators: past hello world

··1807 words·9 mins
A working tour of the Python that matters on offensive engagements. Raw sockets, binary parsing with struct, ctypes for Win32 calls and shellcode loaders, Scapy for packet crafting, and the current state of the libraries every operator ends up writing on top of (Impacket, NetExec, pwntools, mitm6).

Rails for Red Teamers: Building and Breaking the Web

··1473 words·7 mins
A Rails primer for operators who need to assess or exploit a Rails application. Covers the MVC layout that tells you where the bugs live, strong parameters and the permit! footgun, what SECRET_KEY_BASE actually gives you on modern Rails versus the classic Marshal RCE chain on Rails 3, the raw/html_safe XSS surface, IDOR patterns, and the static-analysis tools (Brakeman, bundler-audit) that should be your first pass.

The Stealthy Serpent: A Red Teamer's Guide to Nim

··3212 words·16 mins
A guide to using Nim for offensive tooling. Covers language fundamentals, the winim WinAPI bindings, compile-time string obfuscation with macros, direct syscall stubs, the offensive Nim ecosystem (OffensiveNim, NimlineWhispers, Nim-RunPE, NimPackt, Nimcrypt2), and an honest take on what edge Nim actually still gives you against modern EDR.

Fearless Concurrency: A Red Team Guide to Rust

··5909 words·28 mins
A comprehensive deep-dive into the Rust programming language for offensive security. Learn the core concepts of ownership and borrowing, master idiomatic error handling, build a multi-threaded port scanner, and discover how to use “Unsafe Rust” for shellcode injection and high-performance exploit development.

Bash Scripting Language - Basic Concepts and Syntax

··3141 words·15 mins
Comprehensive guide to Bash scripting fundamentals with security best practices, modern techniques, and ethical penetration testing examples for red team professionals.