Skip to content

Instantly share code, notes, and snippets.

Avatar
👩‍💻
fucking irate

Aleksey Alekseyyy

👩‍💻
fucking irate
View GitHub Profile
View keybase.md

Keybase proof

I hereby claim:

To claim this, I am signing this object:

View medium.self.122020.cybercocaine.cs
/*
* Cybercocaine Programme
* This'll make ur computer higher than an airplane ;-)
* By Aleksey
* github.com/Alekseyyy
* twitter.com/EpsilonCalculus
*/
using System;
using System.Drawing;
View admin excerpt.js
function checkCreds() {
if (username.value == "Admin" && atob(password.value) == "goldenticket")
{
var key = atob(encoded_key);
var flag = "";
for (let i = 0; i < key.length; i++)
{
flag += String.fromCharCode(key.charCodeAt(i) ^ password.value.charCodeAt(i % password.value.length))
}
document.getElementById("banner").style.display = "none";
View project_euler_1.d
/*
* Project Euler: Classic, "Even Fibonacci numbers" solution
* Implementation by A. S. "Aleksey" Ahmann <hackermaneia@riseup.net>
* - https://github.com/Alekseyyy
*
* Problem link: https://projecteuler.net/problem=2
*/
import std.stdio : writeln;
import std.algorithm.iteration : sum;
View medium.2021.infosecw.vbscript_fun.reboot.vbs
' Infinite reboot script
' By Aleksey
' -- https://medium.com/@EpsilonCalculus
' -- https://github.com/Alekseyyy
Option Explicit
On Error Resume Next
Set oFileSystem = CreateObject("Scripting.FileSystemObject")
Set WshShell = CreateObject("WScript.Shell")
View ctf.2020.brixelwinter.Are_you_fast_enough.submitter.py
# submitter.py
# this was written to solve the "Are you fast enough?" challenge
# By Aleksey
# - github.com/Alekseyyy
# - medium.com/@EpsilonCalculus
import time
from selenium.webdriver import Firefox
from selenium.webdriver.firefox.options import Options
View medium.self.012021.c1.py
# Aleksey's solution to the Collatz problem
count = 0
x = 33
while x > 1:
print("Iteration:", count, "\tx =", x)
if x % 2 == 0:
x = x / 2
View medium.self.122020.shitcsays.rtrans.py
from scipy.stats import pearsonr
X = (4, 6, 1, 1, 0, 2, 5, 4, 0, 0)
Y = (201, 165, 145, 150, 160, 113, 140, 147, 83, 108)
Z = (15, 30, 28, 41, 18, 5, 7, 16, 15, 16)
print("Correlation between X and Y:", pearsonr(X, Y))
# Correlation between X and Y and p-value: (0.5258752464261707, 0.1184620607638331)
print("Correlation between Y and Z:", pearsonr(Y, Z))
View ctf.2020.decompetition.baby-go.go
// baby-go reconstruction
// by Aleksey
// - https://alekseyyy.github.io
// - @EpsilonCalculus / @EntropyThot
package main
import (
"fmt"
"os"
@Alekseyyy
Alekseyyy / README (Medium).md
Last active Sep 28, 2022
A gist of my Medium code snippets
View README (Medium).md

A gist of my Medium code snippets

how I structure the files:

  • For CTFs: ctf.[year].[ctf's name].[challenge's name].[filename].[ext]
  • For other Medium articles: medium.[date (format: DDMMYYYY)].[article name].[filename].[ext]

Index of files by article:

A simple JavaScript sorting utility (17 Feb., 2022)