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 the Offensive Operator: Beyond 'Hello World'

··627 words·3 mins
Variables and loops are fine, but can you craft a custom TCP packet or inject shellcode? This guide accelerates past the basics into Python’s offensive applications.

Rails for Red Teamers: Building and Breaking the Web

··727 words·4 mins
A comprehensive deep-dive into Ruby on Rails from a security professional’s perspective. Learn the “convention over configuration” philosophy, master strong parameters to prevent mass assignment, and discover how to find and exploit deserialization vulnerabilities, insecure routes, and hidden secrets in Rails applications.

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

··2625 words·13 mins
A comprehensive deep-dive into the Nim programming language for offensive security. Learn the language fundamentals, master WinAPI interoperability with winim, discover compile-time metaprogramming for string obfuscation, and understand why Nim is the modern favorite for bypassing EDRs.

Fearless Concurrency and Memory Safety: A Red Team Operator's Guide to Rust

··5601 words·27 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.

Ruby Programming Language - The Red Team Operator's Elegant Powerhouse

··3240 words·16 mins
A massive, comprehensive deep-dive into the Ruby programming language for security professionals. Explore elegant syntax, advanced object-oriented patterns, metaprogramming, and specialized applications in offensive security, from packet manipulation to Metasploit automation.

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.