This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# !pip install nest_asyncio langchain_openai browser-use | |
# !playwright install | |
# Thomas Roccia | |
import json | |
import asyncio | |
import nest_asyncio | |
from langchain_openai import ChatOpenAI | |
from browser_use import Agent, SystemPrompt |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Thomas Roccia - Docling demo | |
import json | |
from pathlib import Path | |
from docling.document_converter import DocumentConverter, PdfFormatOption | |
from docling.datamodel.pipeline_options import PdfPipelineOptions, TesseractOcrOptions | |
from docling.datamodel.base_models import InputFormat | |
from docling.document_converter import DocumentConverter, PdfFormatOption, WordFormatOption, SimplePipeline | |
pipeline_options = PdfPipelineOptions() | |
pipeline_options.do_ocr = True # Enable OCR |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Pronpt Gen Lite | |
# Author: Thomas Roccia | @fr0gger_ | |
import argparse | |
from openai import OpenAI | |
import anthropic | |
from ollama import Client | |
import requests | |
import os |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Thomas Roccia - @fr0gger_ | |
# Structured IOCs | |
from pydantic import BaseModel | |
from openai import OpenAI | |
import requests | |
from bs4 import BeautifulSoup | |
import json | |
client = OpenAI() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Model Chaining CTI | |
# Author: Thomas Roccia @fr0gger_ | |
# pip install aisuite requests beautifulsoup4 argparse | |
# for ollama you need a local server and the model specified | |
import aisuite as ai | |
import requests | |
from bs4 import BeautifulSoup | |
import argparse | |
import os |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import requests | |
import time | |
import sys | |
import os | |
from tqdm import tqdm | |
# Specify your API KEY after API-Key | |
API_KEY = "API-Key " | |
BASE_URL = "https://api.any.run/v1" | |
HEADERS = {"Authorization": API_KEY} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Markmap</title> | |
<style> | |
* { | |
margin: 0; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
''' | |
A simplified FLOSS implementation that only supports stackstrings. | |
requirements: | |
- yara-python | |
- unicorn | |
author: Willi Ballenthin | |
email: [email protected] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# Author: Thomas Roccia, @fr0gger_ | |
"""Threat Encyclopedia Lookup, retrieve Defender Signature information. | |
This script will retrieve the information related to the specified signature. | |
Usage: | |
python threatinfo.py [options] | |
Requirements: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://symantec-enterprise-blogs.security.com/blogs/threat-intelligence/ukraine-wiper-malware-russia | |
https://www.sentinelone.com/labs/hermetic-wiper-ukraine-under-attack/ | |
https://twitter.com/juanandres_gs/status/1496581710368358400?s=20&t=ceSYl9EWREXS0ELncl4grA | |
https://twitter.com/0xAmit/status/1496641159371837444?s=20&t=BGgh4TA4xPH1SbmShMkULw | |
https://twitter.com/JusticeRage/status/1496894253376720901?s=20&t=j42L_Y0O-Q2-oTI3YEcSZw | |
https://securityintelligence.com/posts/new-destructive-malware-cyber-attacks-ukraine/ | |
https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-fscc/a82e9105-2405-4e37-b2c3-28c773902d85 | |
https://docs.microsoft.com/en-us/windows/win32/devnotes/attribute-list-entry | |
https://twitter.com/Lexsek_/status/1496806942630633475?s=20&t=BGgh4TA4xPH1SbmShMkULw | |
https://www.cisa.gov/uscert/ncas/alerts/aa22-057a |
NewerOlder