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
require 'http' | |
require 'openssl' | |
puts """ | |
CVE-2023-34598 | |
Gibbon v25.0.0 LFI exploit | |
By komodo\n | |
""" | |
=begin |
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
require 'http' | |
require 'openssl' | |
puts """ | |
CVE-2023-23333 | |
SolarView Compact <=6.00 RCE exploit | |
By komodo\n | |
""" | |
=begin |
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
require 'http' | |
require 'openssl' | |
require 'json' | |
puts """ | |
CVE-2023-37265 | |
CasaOS <0.4.4 Path traversal Exploit | |
By komodo | |
""" |
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
require 'http' | |
require 'openssl' | |
puts """ | |
CVE-2023-43261 | |
Milesight routers information disclosure exploit | |
By komodo\n | |
""" | |
=begin |
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
require 'http' | |
require 'openssl' | |
require 'json' | |
puts """ | |
CVE-2023-45852 | |
Viessmann Vitogate 300 RCE exploit | |
By komodo\n | |
""" |
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
/* CVE-2024-31621 | |
Flowise 1.6.5 <= Authentication Bypass | |
By komodo | |
Usage: Navigate to a page that does not require auth (ex: /tools), | |
then inject this code inside dev tools console. | |
Shodan dork: http.favicon.hash:-2051052918 | |
*/ | |
var req = XMLHttpRequest.prototype.open; |
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
require 'http' | |
require 'openssl' | |
puts """ | |
CVE-2024-7120 | |
Raisecom gateway RCE exploit | |
By komodo\n | |
""" | |
=begin |
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
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
int main(int argc, char *argv[]){ | |
FILE * f = fopen(argv[1], "rb+"); | |
fseek(f, 0, SEEK_END); | |
unsigned long long int size = ftell(f); | |
fseek(f, 0, SEEK_SET); | |
unsigned char *data = (unsigned char *)malloc(size); |
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 gradio as gr | |
from os import mkdir | |
from random import random | |
from audiocraft.models import MusicGen | |
from audiocraft.data.audio import audio_write | |
try: | |
mkdir("logs") | |
except FileExistsError: | |
pass |
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 gradio as gr | |
from transformers import AutoModelForCausalLM, AutoTokenizer | |
MODEL_ID = "Qwen/Qwen2.5-1.5B-Instruct" # Qwen/Qwen2.5-7B-Instruct, Qwen/Qwen2.5-32B-Instruct | |
class QwenInterface: | |
def __init__(self): | |
self.messages = [{"role": "system", "content": "You're a usefull assistant who answers to everything."}] | |
self.model = AutoModelForCausalLM.from_pretrained(MODEL_ID, torch_dtype="auto", device_map="auto") | |
self.tokenizer = AutoTokenizer.from_pretrained(MODEL_ID) |