Skip to content

Instantly share code, notes, and snippets.

View Qwizi's full-sized avatar
🎯
Focusing

Adrian Ciołek Qwizi

🎯
Focusing
View GitHub Profile
@Qwizi
Qwizi / check_axios.ps1
Created April 1, 2026 09:13
check_axios.ps1
# ============================================================================
# Axios Supply-Chain Compromise Scanner — Windows (PowerShell)
# Date: 2026-03-31
# Based on: https://gist.github.com/joe-desimone/36061dabd2bc2913705e0d083a9673e7
#
# Sprawdza:
# 1. Skompromitowane wersje axios (1.14.1, 0.30.4) w lockfiles i node_modules
# 2. Złośliwy pakiet "plain-crypto-js"
# 3. Stage-2 payload IOCs (wt.exe, .vbs, .ps1)
# 4. Aktywne połączenia C2 do sfrclak.com
@Qwizi
Qwizi / check_axios.sh
Created March 31, 2026 12:47
Check axios compromise
#!/usr/bin/env bash
# ============================================================================
# Axios Supply-Chain Compromise Scanner
# Date: 2026-03-31
# Based on: https://gist.github.com/joe-desimone/36061dabd2bc2913705e0d083a9673e7
#
# Scans for:
# 1. Compromised axios versions (1.14.1, 0.30.4) in lockfiles & node_modules
# 2. Malicious package "plain-crypto-js" anywhere on disk
# 3. Platform-specific stage-2 payload IOCs (filesystem)
@Qwizi
Qwizi / alias.ps1
Created February 2, 2026 11:40
Optima alias
param(
[Parameter(Mandatory=$false)]
[string]$AliasName = "{nazwa_komputera}\optima",
[Parameter(Mandatory=$false)]
[string]$Server = "{ip_serwera}\optima"
)
Write-Host "Dodawanie aliasu SQL..."
Write-Host "Alias: $AliasName"
@Qwizi
Qwizi / ang.js
Last active June 7, 2025 13:44
ang
(() => {
try {
// Mark all objectives as completed
const objectiveCount = Number(SCORM2004_CallGetValue('cmi.objectives._count'));
if (objectiveCount > 0) console.log(`Completing ${objectiveCount} objectives`);
for (var i = 0; i < objectiveCount; i++) {
const objectiveId = SCORM2004_CallGetValue('cmi.objectives.' + i + '.id');
SCORM2004_SetObjectiveStatus(objectiveId, LESSON_STATUS_PASSED);
@Qwizi
Qwizi / InstallSoftware.ps1
Last active January 14, 2025 11:11 — forked from dougwaldron/InstallSoftware.ps1
Install software with winget / automate installation with PowerShell
# 1. Make sure the Microsoft App Installer is installed:
# https://www.microsoft.com/en-us/p/app-installer/9nblggh4nns1
# 2. Edit the list of apps to install.
# 3. Run this script as administrator.
Write-Output "Installing Apps"
$apps = @(
@{name = "7zip.7zip" },
@{name = "Adobe.Acrobat.Reader.64-bit" },
@{name = "Microsoft.Office" },
@Qwizi
Qwizi / manage.sh
Last active July 21, 2024 17:44
SharkServers manage.sh
#!/bin/bash
# SharkServers Management Script
# This script provides utilities for managing the SharkServers application environment.
set -e
set -o pipefail
# Function to display the help message
function help_message() {
echo -e "\033[1mUSAGE:\033[0m"
@Qwizi
Qwizi / test.js
Created July 30, 2020 12:48
test
alert(1);
@Qwizi
Qwizi / main.cpp
Created June 15, 2020 10:15
Zad1
#include <iostream>
using namespace std;
int main()
{
float pierwsza, druga, trzecia, wynik, srednia;
cout << "Podaj pierwsza liczbe: " << endl;
cin >> pierwsza;
import axios from "axios";
import LocalStorageService from "./services/storage/localstorageservice";
import router from "./router/router";
// LocalstorageService
const localStorageService = LocalStorageService.getService();
// Add a request interceptor
axios.interceptors.request.use(
config => {
@Qwizi
Qwizi / srednia.py
Last active April 6, 2020 11:37
Informatyka srednia
def main():
oceny = []
ile_ocen = int(input("Ile ocen: "))
for i in range(0, ile_ocen):
ocena = int(input("Podaj ocene: "))
if ocena > 6 or ocena <= 0:
raise Exception('Ocena nie moze byc wieksza niz 6 lub mniejsza lub rowna 0')