Skip to content

Instantly share code, notes, and snippets.

View insekticid's full-sized avatar
🏠
Working from home

Exploit.cz insekticid

🏠
Working from home
View GitHub Profile

zonerama.com photo downloader

There is no way, how to download full photo album from zonerama.com when this function has been disabled by author. Here is my workaround - console script to your browser

  1. You have to define sessionId parametr (value of ASP.NET_SessionId cookie name)
  2. Put this command into your browser console and wait
  3. You will get console output with long curl command
  4. Copy this command and run it from your unix console (if you don't know what unix console is, send this command to your geeky friend)
@insekticid
insekticid / Dockerfile
Last active November 22, 2021 07:59
PHP 7.2 Meminfo extension in Alpine Linux image @BitOne/php-meminfo
FROM phpearth/php:7.2-nginx
ENV PHP_INI_DIR /etc/php/7.2
RUN mkdir -p $PHP_INI_DIR/conf.d
RUN apk add --no-cache make composer php7.2-xdebug git
RUN apk add --no-cache php7.2-dev gcc g++
RUN curl -L -o /tmp/meminfo.tar.gz https://github.com/BitOne/php-meminfo/archive/master.tar.gz \
@insekticid
insekticid / .gitlab-ci.yml
Created July 24, 2020 12:16
aws codebuild status to gitlab pipeline
# This file is a template, and might need editing before it works on your project.
# Official docker image.
image: terraform:latest
variables:
CODEBUILD_PROJECT: myprojectname
CODECOMMIT_REPOSITORY: projectrepo
services:
- docker:dind
import sitemapModule from 'sitemap';
import axios from 'axios';
const { buildSitemapIndex, createSitemapsAndIndex } = sitemapModule;
let elasticsearch = axios.create({
baseURL: 'http://' + process.env.ELASTIC_SERVER + ':' + process.env.ELASTIC_PORT,
responseType: 'json'
});
@insekticid
insekticid / keybase.md
Created May 23, 2019 07:35
keybase.md

Keybase proof

I hereby claim:

  • I am insekticid on github.
  • I am insekticid (https://keybase.io/insekticid) on keybase.
  • I have a public key ASBhBDogIfVs868fCoJs9jzJpyl6jOq-Csp7YdCHGQpJNAo

To claim this, I am signing this object:

@insekticid
insekticid / phpcs.xml.dist
Created July 25, 2017 07:25
Custom Symfony 4 Flex PHP 7.1 strict_types=1 coding standard
<?xml version="1.0"?>
<ruleset name="Exploit.cz">
<exclude-pattern>src/Kernel.php</exclude-pattern>
<rule ref="vendor/escapestudios/symfony2-coding-standard/Symfony/ruleset.xml">
<exclude name="Symfony.WhiteSpace.AssignmentSpacing"/>
<exclude name="Symfony.Commenting.ClassComment"/>
<exclude name="Symfony.Commenting.FunctionComment"/>
<exclude name="Squiz.Commenting.FunctionComment"/>
</rule>
<rule ref="vendor/slevomat/coding-standard/SlevomatCodingStandard/ruleset.xml">
@insekticid
insekticid / LTC-electrum-wallet.cmd
Created December 12, 2017 09:24
Litecoin - LTC - Electrum 2.6.4.2 Wallet with pgp check
set ELECTRUM_VERSION=2.6.4.2
rm "electrum-ltc-portable-%ELECTRUM_VERSION%.exe.asc"
rm "electrum-ltc-portable-%ELECTRUM_VERSION%.exe"
curl -O -H "User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.89 Safari/537.36" "https://electrum-ltc.org/download/electrum-ltc-portable-%ELECTRUM_VERSION%.exe"
curl -O "https://electrum-ltc.org/download/electrum-ltc-portable-%ELECTRUM_VERSION%.exe.asc"
gpg --keyserver pool.sks-keyservers.net --recv-keys 0x6FC4C9F7F1BE8FEA
gpg --fingerprint 0x6FC4C9F7F1BE8FEA
gpg --batch --verify "electrum-ltc-portable-%ELECTRUM_VERSION%.exe.asc" "electrum-ltc-portable-%ELECTRUM_VERSION%.exe" && electrum-ltc-portable-%ELECTRUM_VERSION%.exe
rm "electrum-ltc-portable-%ELECTRUM_VERSION%.exe.asc"
rm "electrum-ltc-portable-%ELECTRUM_VERSION%.exe"
@insekticid
insekticid / electrum-bitcoin-wallet-windows.cmd
Created October 16, 2017 12:22
Electrum bitcoin wallet downloader with pgp check for windows
set ELECTRUM_VERSION=2.9.3
rm "electrum-%ELECTRUM_VERSION%-portable.exe.asc"
rm "electrum-%ELECTRUM_VERSION%-portable.exe"
curl -O "https://download.electrum.org/%ELECTRUM_VERSION%/electrum-%ELECTRUM_VERSION%-portable.exe"
curl -O "https://download.electrum.org/%ELECTRUM_VERSION%/electrum-%ELECTRUM_VERSION%-portable.exe.asc"
gpg --keyserver pool.sks-keyservers.net --recv-keys 0x2bd5824b7f9470e6
gpg --fingerprint 0x2bd5824b7f9470e6
gpg --batch --verify "electrum-%ELECTRUM_VERSION%-portable.exe.asc" "electrum-%ELECTRUM_VERSION%-portable.exe" && electrum-%ELECTRUM_VERSION%-portable.exe
rm "electrum-%ELECTRUM_VERSION%-portable.exe.asc"
rm "electrum-%ELECTRUM_VERSION%-portable.exe"
@insekticid
insekticid / gist:93a640201c72a3284247e0541ae73d37
Created May 30, 2017 12:04 — forked from rxaviers/gist:7360908
Complete list of github markdown emoji markup

People

:bowtie: :bowtie: 😄 :smile: 😆 :laughing:
😊 :blush: 😃 :smiley: ☺️ :relaxed:
😏 :smirk: 😍 :heart_eyes: 😘 :kissing_heart:
😚 :kissing_closed_eyes: 😳 :flushed: 😌 :relieved:
😆 :satisfied: 😁 :grin: 😉 :wink:
😜 :stuck_out_tongue_winking_eye: 😝 :stuck_out_tongue_closed_eyes: 😀 :grinning:
😗 :kissing: 😙 :kissing_smiling_eyes: 😛 :stuck_out_tongue:
```
uci export sshtunnel
package sshtunnel
config server 'exploit_cz'
option user 'tunnel'
option hostname 'exploit.cz'
option IdentityFile '~/.ssh/id_rsa'
option port '22'
option LogLevel 'INFO'