Skip to content

Instantly share code, notes, and snippets.

Avatar
👩‍💻
fucking irate

Aleksey Alekseyyy

👩‍💻
fucking irate
View GitHub Profile
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_3.d
/*
* Project Euler: Classic, "Largest product in a series" solution
* Implementation by A. S. "Aleksey" Ahmann <hackermaneia@riseup.net>
* - https://github.com/Alekseyyy
*
* Problem link: https://projecteuler.net/problem=8
* Thanks to StackOverflowers for helping me with that code: https://stackoverflow.com/questions/68245264/inconsitent-behaviour-with-computation-of-greatest-product-given-n-adjacent-d
*/
import std.stdio : writeln;
View project_euler_2.d
/*
* Project Euler: Classic, "10001st prime" solution
* Implementation by A. S. "Aleksey" Ahmann <hackermaneia@riseup.net>
* - https://github.com/Alekseyyy
*
* Problem link: https://projecteuler.net/problem=7
* I ported some code from here: https://www.geeksforgeeks.org/python-program-for-sieve-of-eratosthenes/
*/
import std.stdio : writeln, printf;
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.shellcode.vbs
' VBScript reverse shell
' By Aleksey
' -- https://medium.com/@EpsilonCalculus
' -- https://github.com/Alekseyyy
' Somewhat "borrowed" from http://breakpoint.purrfect.fr/article/vbs_reverse_shell.html
Option Explicit
On Error Resume Next
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.Keep_walking.implementation.py
# implementation.py
# this was written to solve the "Keep walking..." challenge
# By Aleksey
# - github.com/Alekseyyy
# - medium.com/@EpsilonCalculus
x, y, p = 1, 1, 1
a = None
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 ctf.2020.brixelwinter.browsercheck.crawl_simulate.py
# crawl_simulate.py
# this was written to solve the "Browsercheck" challenge
# By Aleksey
# - github.com/Alekseyyy
# - medium.com/@EpsilonCalculus
# this is what I'm ripping off...
# - https://stackoverflow.com/questions/24226781/changing-user-agent-in-python-3-for-urrlib-request-urlopen
# - https://ourcodeworld.com/articles/read/812/how-to-create-an-html-file-viewer-with-wxpython
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