Shuciran Pentesting Notes

Creating a Webscraper using Pyscrap

Creating a Webscraper using Pyscrap Setting Up Our Environment Let’s start by updating our package lists and installing the necessary tools: apt update Now let’s install Python3, Python virtual ...

Using Ollama with API

Understanding the Ollama API Ollama provides a simple REST API accessible at http://localhost:11434/api. The main endpoints include: /api/generate - Generate text from a prompt /api/chat - H...

Using Ollama for Running AI Models

How Ollama Works Ollama works in the following way: You install Ollama on your local machine You pull model weights for specific LLMs (like Llama 2, Mistral, or Gemma) Ollama sets up a loc...

Using Ollama Modelfiles

Understanding Modelfiles A basic Modelfile structure: FROM <base-model> # Base model to customize PARAMETER <key> <value> # Model parameters SYST...

Windows Registry

Windows Registry Many programming languages support the concept of local and global variables, where local variables are limited in scope and global variables are usable anywhere in the code. An o...

Win32 APIs

WIN32 APIs The Windows operating system, and its various applications are written in a variety of programming languages ranging from assembly to C# but many of those make use of the Windows-provid...

VBA Office Macro

How to create a Macro First, we’ll open Microsoft Word on the Windows 11 victim machine and create a new document. We’ll navigate to the View tab and select Macros to access the Macro menu. We ...

HTML Smuggling

Using a combination of HTML5 and JavaScript to sneak malicious files past content filters is not a new offensive technique. This mechanism has been incorporated into popular offensive frameworks su...

SQLite Database

SQLite DB To save structured data, such as contact information or to-do lists, we can leverage the iOS Core Data framework. It provides a convenient API for storing data in different store types s...

Realm database

Realm DB Realm DB is an alternative to SQLite for storing structured data in mobile applications. It is object-oriented, which means that the database internally uses objects that map to the mobil...