This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function $$x (selector) { | |
const xpathResult = document.evaluate(selector, document, null, XPathResult.ANY_TYPE, null) | |
const resultArray = [] | |
while (true) { | |
const item = xpathResult.iterateNext() | |
if (item) { | |
resultArray.push(item) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Install required utils | |
sudo add-apt-repository universe | |
sudo apt-get update | |
sudo apt-get install chntpw ntfs-3g -y | |
# Find path of Windows system volume | |
sudo fdisk -l | |
# Fix possible problems with windows volume e.g. ungraceful shutdown | |
sudo ntfsfix windows_volume_path # e.g. /dev/sdaN |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
brew uninstall ffmpeg | |
brew tap justinmayer/tap | |
brew tap-pin justinmayer/tap | |
brew install ffmpeg --with-chromaprint --with-fdk-aac --with-frei0r --with-game-music-emu --with-libass --with-libbluray --with-libbs2b --with-libcaca --with-libgsm --with-libmodplug --with-libsoxr --with-libssh --with-libvidstab --with-opencore-amr --with-openh264 --with-openjpeg --with-openssl --with-rtmpdump --with-rubberband --with-speex --with-tesseract --with-tools --with-two-lame --with-wavpack --with-webp --with-x265 --with-xz --with-zeromq --with-zimg |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#petya #notpetya #virus #петя #вирус | |
Windows Petya protection check list for System Administrators (Version 1.2) | |
Provided AS IS without warranty, use it only if you understand what you doing | |
1. Close vulnerable ports via CMD (WARNING it disables SMB) | |
netsh advfirewall firewall add rule name="Petya TCP" dir=in action=block protocol=TCP localport=1024-1035,135,139,445 | |
netsh advfirewall firewall add rule name="Petya UDP" dir=in action=block protocol=UDP localport=1024-1035,135,139,445 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0x491B9f471c3E27e9cf2844A89b0c5698Ff2d81f9 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0x491B9f471c3E27e9cf2844A89b0c5698Ff2d81f9 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Array.from(document.querySelectorAll('*')).forEach( | |
p => { | |
p.onblur = function(e) { | |
console.log('1') | |
e.preventDefault() | |
e.stopPropagation() | |
console.log('2') | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### Keybase proof | |
I hereby claim: | |
* I am ujeenator on github. | |
* I am ujeenator (https://keybase.io/ujeenator) on keybase. | |
* I have a public key ASCUYX8YhnSTl9cmPTDDzXjk9yAvsUFPZW5908slFSf0-go | |
To claim this, I am signing this object: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
del %WINDIR%\perfc.* /f | |
echo > %WINDIR%\perfc | |
echo > %WINDIR%\perfc.dat | |
echo > %WINDIR%\perfc.dll | |
attrib +R %WINDIR%\perfc.* | |
echo DONE |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const app = require("koa")(); | |
const router = require("koa-router")(); | |
const r = require("rethinkdbdash")(); | |
const ajv = require("ajv")({ | |
removeAdditional: true | |
}); | |
app.use(require("koa-body")()); | |
app.use(router.routes()); |
NewerOlder