Skip to content

Instantly share code, notes, and snippets.

View XenocodeRCE's full-sized avatar
🌊
hψ=eψ

Mr Roux XenocodeRCE

🌊
hψ=eψ
View GitHub Profile
@XenocodeRCE
XenocodeRCE / README.MD
Last active August 22, 2024 23:32
NodeJS Discord Disboard auto bump

Install dep

  1. Install NodeJS here
  2. Create a non-important alternative Discord Account and save ID somewhere
  3. Install DiscordJ-Selfbot-v13 Library, open cmd.exe :
npm install discord.js-selfbot-v13
  1. Create new file, index.js :
@XenocodeRCE
XenocodeRCE / content.js
Created March 3, 2024 17:58
Récupérer le contenu KnowUnity
// content.js
function modifyHTML() {
// Remove blur effect from elements with class "hkxSCF"
const blurElements = document.querySelectorAll('.hkxSCF');
blurElements.forEach((element) => {
element.style.filter = 'none';
});
@XenocodeRCE
XenocodeRCE / OP HE.md
Created March 26, 2023 21:48
Constructing Opaque Predicate Using Homomorphic Encryption

Constructing an opaque predicate using homomorphic encryption involves encrypting a value and performing a homomorphic operation on the encrypted value to generate an encrypted result. This encrypted result is then used as the predicate in a conditional statement, without ever decrypting the value or result.

Here is an example in C# using the Microsoft SEAL homomorphic encryption library:

using System;
using System.Collections.Generic;
using Microsoft.Research.SEAL;

namespace OpaquePredicateExample
@XenocodeRCE
XenocodeRCE / CBC.md
Created March 26, 2023 21:30
Cipher Block Chaining

This technique divides the data or code into blocks of bits and chains. The encrypted data are blocked together to avoid eavesdroppers from inserting their own blocks of bits among the blocks of encrypted code. A mathematical equation is used for the for the Cipher block changing, and the equation is given as follows:

C1=ek(m1XORIV)
E1
C1=ek(m1XORCi−1)fori>1
E2

The technique involves a specific (N) value passed between the plaintext to ensure that the ciphertext blocks look different. The N value is the second layer of encryption, while the first layer of encryption is done by the secret key. Each generated text is encrypted with the same secret key. If an error occurs in one of the blocks, it will also occur in all other blocks that follow the affected block

@XenocodeRCE
XenocodeRCE / chaotic_obf.md
Created March 26, 2023 21:25
chaotic_obf

1.7 Chaotic obfuscation Here, a mathematical modeling is used for string encoding. It is up to the programmer to determine the form of the equation for encrypting the string. The programmer has the option to encrypt all strings or some of them. Chaos theory involves stems generated from mathematical equations that produce random numbers and chaos that are not readable by the user; however, the chaos sequences are readable by the compiler at runtime. The chaotic equations are deterministic by nature, which means that they go into saturation after several iterations at a single value.

using System;
using System.Linq;

// Define the neural network

// Example usage
@XenocodeRCE
XenocodeRCE / cours.json
Last active March 20, 2023 15:07
cours.json gen
{
"profession":"professeur de philosophie au lycée",
"cible":"des lycéens",
"description":"Une introduction au Cogito de Descartes, qui permet également d'introduire des concepts fondamentaux de la philosophie. Le cours doit retracer brièvement l'histoire de la philosophie jusqu'à Descartes.",
"titre":"Explorer les racines du Cogito de Descartes",
"parties":[
{
"titre":" Introduction à la philosophie et à Descartes ",
"sous_Parties":[
{
using Microsoft.CSharp;
using System;
using System.CodeDom.Compiler;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Text;
using System.Threading;
using System.Threading.Tasks;
@XenocodeRCE
XenocodeRCE / main.cs
Last active August 15, 2021 16:10
jobfuscator deob poc blog
using Microsoft.CodeDom.Providers.DotNetCompilerPlatform;
using System;
using System.CodeDom.Compiler;
using System.Collections.Generic;
using System.Globalization;
using System.Linq;
using System.Net;
using System.Text.RegularExpressions;
using System.Threading;
using System.Web;
@XenocodeRCE
XenocodeRCE / before-after-3-layer-image-slider-vanilla.markdown
Last active April 12, 2020 08:01
Before After 3 Layer Image Slider (Vanilla)

Before After 3 Layer Image Slider (Vanilla)

Playing around with a new idea using my two layer before/after image slider. Keeping it minimal. Keeping it vanilla. Like it if it's useful :)

A Pen by Sam on CodePen.

License.

using System;
using System.Linq;
/// <summary>
/// BahNahNah
/// Example sig:
/// 01 02 ?3 04
/// will match with
/// 01 02 A3 04
/// 01 02 03 04