Skip to content

Instantly share code, notes, and snippets.

View mnb3000's full-sized avatar
🇺🇦

Misha Mykolyshyn mnb3000

🇺🇦
View GitHub Profile
{
"name": "TokyoNight Custom",
"version": 1,
"shared": {
"backgroundColor": "#1A1E2F",
"colorPaletteOverrides": [
"#1D202F",
"#F7768D",
"#9ECE6A",
"#E0AF67",
html, body {
overscroll-behavior: none;
}
@mnb3000
mnb3000 / prjctr_task1.js
Last active July 15, 2023 21:02
prjctr_task1.js
// Filter out the names that start with a vowel
const words = ['Петро', 'Емма', 'Юстин', 'Ілля', 'Марта'];
const vowels = ['а', 'е', 'и', 'і', 'о', 'у', 'я', 'ю', 'є', 'ї'];
let filteredNames = []
// Using loop with confition
for (let i = 0; i < words.length; i++) {
const word = words[i];
if (typeof word !== 'string') {
@mnb3000
mnb3000 / FireShell-ProMidi.md
Last active January 28, 2019 07:53
Writeup

ProMidi

Even though this challenge was not so hard, in the end only 10 teams solved it, so it had a preety high dynamic point value. Sorry for my shitty code, I was solving this challenge in a hurry and finished it 8 minutes before the end of CTF, so I apologize.

Challenge

alt text

Initial analysis

alt text

So, as we connect we see a little proof of work prompt (actually this was a preety useless PoW, because it doesn't require any prefix in our string, so we could just precompute all possible sha256 hashes with different 6 chars at [-6:], but still it took around a minute on my laptop :D)

@mnb3000
mnb3000 / README.MD
Last active October 12, 2019 04:41
Скрипт постройки молнии Двача

2ch Pixel Bot

Установка PC

  1. Использовать браузер Chrome
  2. Скачать расширение TamperMonkey
  3. Нажать на эту ссылку
  4. Установить AdBlock
  5. Нажать на адблок ad
  6. Нажать "Параметры" param
@mnb3000
mnb3000 / README.MD
Last active June 19, 2018 13:29
Симулятор апгрейдов StartupWars

Установка:

npm i minimist

Использование:

node upgrades.js <args>

Аргументы:

-f с какого уровня (Default 0)
-w до скольки белыми (Default 12)
@mnb3000
mnb3000 / ether
Created September 26, 2017 19:52
0xa380b4a64382F58dEa354aBc83Eb6361a5C1cc30