Skip to content

Instantly share code, notes, and snippets.


Denis Kasak dkasak

View GitHub Profile

Keybase proof

I hereby claim:

  • I am dkasak on github.
  • I am dkasak ( on keybase.
  • I have a public key whose fingerprint is BC7F 6B2F FC7E 94CA 6C60 BD42 50D3 BAAD CE0B C33E

To claim this, I am signing this object:

dkasak /
Last active May 4, 2019
Report I wrote for the Intigriti DOM-Based XSS Challenge []


The endpoint is vulnerable to a DOM-based XSS which allows the attacker to execute arbitrary JavaScript in the context of the page's top-level window.


Since the attacker can execute arbitrary JavaScript in the context of the page, he would be able to steal the user's credentials, or any other secrets

dkasak /
Last active Jul 24, 2019
Derived from, with small changes (such as porting to Python 3 and respecting TERMCMD, if set). Useful for things like making Deluge open ranger when you click "Open Download Folder".
#!/usr/bin/env python
# This program is free software. It comes without any warranty, to the extent
# permitted by applicable law. You can redistribute it and/or modify it under
# the terms of the Do What The Fuck You Want To Public License, Version 2, as
# published by Sam Hocevar. See for more details.
This is a simple daemon implementing's file manager interface
View fix-ekho-build-PKGBUILD
# Maintainer: Denis Kasak <dkasak|AT|>
pkgdesc="Chinese text-to-speech (TTS) software for Cantonese, Mandarin, Zhaoan Hakka, Tibetan, Ngangien and Korean"
arch=('i686' 'x86_64')
makedepends=('automake' 'autoconf')
--- ../ 2020-02-19 13:10:41.419383896 +0100
+++ 2020-02-19 14:14:36.189197818 +0100
@@ -106,9 +106,20 @@
[AC_MSG_FAILURE([ncurses test failed])],
+ AC_CHECK_LIB([estbase], [main], [],
+ [AC_MSG_FAILURE([estbase test failed])],
+ []
View fix-ekho-build-PKGBUILD.diff
diff --git a/PKGBUILD b/PKGBUILD
index ce46d58..bcd9e0d 100644
@@ -7,22 +7,28 @@ pkgdesc="Chinese text-to-speech (TTS) software for Cantonese, Mandarin, Zhaoan H
arch=('i686' 'x86_64')
+makedepends=('automake' 'autoconf')
depends=('libpulse' 'lame' 'festival' 'ncurses' 'espeak')
View android-trust-manager-bypass.js
setTimeout(function() {
Java.perform(function() {
var TrustManagerImpl = Java.use('');
TrustManagerImpl.verifyChain.implementation = function(untrustedChain,
trustAnchorChain, host, clientAuth, ocspData, tlsSctData) {
return untrustedChain;
dkasak / python-censys.diff
Last active Sep 12, 2020
Drop split package for AUR python-censys
View python-censys.diff
diff --git a/.SRCINFO b/.SRCINFO
index e2983e4..b1a3ea0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -5,25 +5,12 @@ pkgbase = python-censys
url =
arch = any
license = Apache
- makedepends = python
makedepends = python-setuptools
View python-theharvester-git: 0001-Fix-dependencies-and-several-other-issues.patch
From 3c58f86d6b025a0be2d886d45123d44538e35f84 Mon Sep 17 00:00:00 2001
From: Denis Kasak <>
Date: Sat, 12 Sep 2020 17:20:28 +0200
Subject: [PATCH] Fix dependencies and several other issues.
- Fix dependencies by removing some stale ones and adding missing ones.
The list was sourced from the requirements.txt file from upstream.
- Move python-pytest to makedepends.
- Update post-install message to mention the new location for API keys
in /etc and to enumerate all APIs requiring keys.
dkasak / xdg.vim
Last active Aug 9, 2022 — forked from kaleb/XDG.vim
vim XDG Base Directory support
View xdg.vim
" XDG Environment For VIM
" =======================
" References
" ----------
" -
" -
" - (the original version)