<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://lms.onnocenter.or.id/wiki/index.php?action=history&amp;feed=atom&amp;title=Cyber_Security%3A_ollama-assisted_pentest</id>
	<title>Cyber Security: ollama-assisted pentest - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://lms.onnocenter.or.id/wiki/index.php?action=history&amp;feed=atom&amp;title=Cyber_Security%3A_ollama-assisted_pentest"/>
	<link rel="alternate" type="text/html" href="https://lms.onnocenter.or.id/wiki/index.php?title=Cyber_Security:_ollama-assisted_pentest&amp;action=history"/>
	<updated>2026-04-20T16:17:41Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://lms.onnocenter.or.id/wiki/index.php?title=Cyber_Security:_ollama-assisted_pentest&amp;diff=72593&amp;oldid=prev</id>
		<title>Unknown user: Created page with &quot;==Step-by-Step: Install Ollama on Linux (Ubuntu, Debian)==  &#039;&#039;&#039;Ollama&#039;&#039;&#039; lets you run LLMs like LLaMA, Mistral, or custom models on your &#039;&#039;&#039;local machine&#039;&#039;&#039; (no internet or cl...&quot;</title>
		<link rel="alternate" type="text/html" href="https://lms.onnocenter.or.id/wiki/index.php?title=Cyber_Security:_ollama-assisted_pentest&amp;diff=72593&amp;oldid=prev"/>
		<updated>2025-04-21T03:32:48Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;==Step-by-Step: Install Ollama on Linux (Ubuntu, Debian)==  &amp;#039;&amp;#039;&amp;#039;Ollama&amp;#039;&amp;#039;&amp;#039; lets you run LLMs like LLaMA, Mistral, or custom models on your &amp;#039;&amp;#039;&amp;#039;local machine&amp;#039;&amp;#039;&amp;#039; (no internet or cl...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;==Step-by-Step: Install Ollama on Linux (Ubuntu, Debian)==&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Ollama&amp;#039;&amp;#039;&amp;#039; lets you run LLMs like LLaMA, Mistral, or custom models on your &amp;#039;&amp;#039;&amp;#039;local machine&amp;#039;&amp;#039;&amp;#039; (no internet or cloud needed).&lt;br /&gt;
&lt;br /&gt;
1. &amp;#039;&amp;#039;&amp;#039;Update your system&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
 sudo apt update &amp;amp;&amp;amp; sudo apt upgrade -y&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
2. &amp;#039;&amp;#039;&amp;#039;Install Ollama&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
 curl -fsSL https://ollama.com/install.sh | sh&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This will:&lt;br /&gt;
* Download the latest version of Ollama&lt;br /&gt;
* Install it as a system service&lt;br /&gt;
&lt;br /&gt;
3. &amp;#039;&amp;#039;&amp;#039;Start the Ollama service&amp;#039;&amp;#039;&amp;#039;&lt;br /&gt;
&lt;br /&gt;
 ollama run llama3&lt;br /&gt;
&lt;br /&gt;
This will:&lt;br /&gt;
* Download the `llama3` model (or whichever you pick)&lt;br /&gt;
* Start the chat interface in your terminal&lt;br /&gt;
&lt;br /&gt;
&amp;gt; You can also install other models like:&lt;br /&gt;
&lt;br /&gt;
 ollama run mistral&lt;br /&gt;
 ollama run codellama&lt;br /&gt;
 ollama run orca-mini&lt;br /&gt;
&lt;br /&gt;
===Use Cases: Ollama for Pentesting===&lt;br /&gt;
&lt;br /&gt;
Once installed, you can do things like:&lt;br /&gt;
&lt;br /&gt;
===Example: Generate Nmap scan script===&lt;br /&gt;
&lt;br /&gt;
 Prompt: Create a bash script using nmap to scan all ports on a subnet and save the results&lt;br /&gt;
&lt;br /&gt;
===Example: Red team phishing template===&lt;br /&gt;
&lt;br /&gt;
 Prompt: Write a convincing phishing email template for an internal security awareness test&lt;br /&gt;
&lt;br /&gt;
===Example: Payload obfuscation===&lt;br /&gt;
&lt;br /&gt;
 Prompt: Obfuscate this PowerShell reverse shell for an AV evasion lab (educational use)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===Example: Summarize a Metasploit exploit module===&lt;br /&gt;
&lt;br /&gt;
 Prompt: Explain how this Metasploit exploit works, step-by-step&lt;br /&gt;
 (paste code here)&lt;br /&gt;
&lt;br /&gt;
==Advanced Use: Connect Ollama to Chat UIs==&lt;br /&gt;
&lt;br /&gt;
You can also use it with:&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;Open WebUI&amp;#039;&amp;#039;&amp;#039; (like ChatGPT in your browser)  &lt;br /&gt;
  [https://github.com/open-webui/open-webui](https://github.com/open-webui/open-webui)&lt;br /&gt;
&lt;br /&gt;
* &amp;#039;&amp;#039;&amp;#039;LM Studio&amp;#039;&amp;#039;&amp;#039; (GUI-based alternative)  &lt;br /&gt;
  Easy desktop app for chatting with Ollama models&lt;br /&gt;
&lt;br /&gt;
==Tip: Run Code-Ready Models==&lt;br /&gt;
&lt;br /&gt;
Models best for pentesting use:&lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable&amp;quot;&lt;br /&gt;
! Model        !! Use Case&lt;br /&gt;
|-&lt;br /&gt;
| `codellama`  || Script writing, payloads&lt;br /&gt;
|-&lt;br /&gt;
| `llama3`     || General reasoning + code&lt;br /&gt;
|-&lt;br /&gt;
| `mistral`    || Fast and lightweight reasoning&lt;br /&gt;
|-&lt;br /&gt;
| `wizardcoder`|| Complex code generation&lt;br /&gt;
|-&lt;br /&gt;
| `phi3`       || Small, smart, fast&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
==Pranala Menarik==&lt;br /&gt;
&lt;br /&gt;
* [[Cyber Security: AI]]&lt;/div&gt;</summary>
		<author><name>Unknown user</name></author>
	</entry>
</feed>