Skip to content

Instantly share code, notes, and snippets.

@dsnezhkov
dsnezhkov / gist:fb4ce9399e0d3016737cab0238c507f8
Created December 2, 2021 01:41
Pulse sacrifice calculator
<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/html">
<head>
<meta charset="UTF-8">
<title>Pusel Sacrifice Balance to $</title>
<style>
input[type=text] {
width: 100%;
padding: 12px 20px;
margin: 8px 0;
@dsnezhkov
dsnezhkov / codify.html
Created June 11, 2021 18:30
Code linter, highlighter. Used to copy syntax-aware code to Word
<!DOCTYPE html>
<html lang="en">
<head>
<title>ACE in Action</title>
<script charset="utf-8"
crossorigin="anonymous"
integrity="sha512-GZ1RIgZaSc8rnco/8CXfRdCpDxRCphenIiZ2ztLy3XQfCbQUSCuk8IudvNHxkRA3oUg6q0qejgN/qqyG1duv5Q==" referrerpolicy="no-referrer" src="https://cdnjs.cloudflare.com/ajax/libs/ace/1.4.12/ace.js" type="application/javascript"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.0.1/highlight.min.js"></script>
<link href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.0.1/styles/github.min.css" rel="stylesheet">
package main
import (
"fmt"
"net"
"os"
"time"
)
func main() {
@dsnezhkov
dsnezhkov / zileach
Created June 26, 2018 00:01
Leaching Employee Names over "Recently Updated profiles at this company" on Zoom*Info
#!/Users/X/.rvm/rubies/ruby-2.2.5/bin/ruby
## Unauth: Get names and roles of company employees - overcoming LonkedIn limit
# 1. Google dork: "ibm" site:zoominfo.com
# 2 Link to company
# 3 Get the "ID" for a company in URL like https://www.zoominfo.com/pic/ibm-corporation/18579882
Next to "Recently Updated profiles at this company"
# 4 Plug it in.
461 contacts available
@dsnezhkov
dsnezhkov / gist:9d3acf5015d6dfd4f261f40147fdb521
Created January 17, 2018 18:30
pandas on email/pw frequency
#!/usr/bin/env python
import pandas as pd
# format of data file
# id,email,password
top_pw=50
top_email=50
# Read CSV file, get author names and counts.
df = pd.read_csv("file.csv",index_col="id")

Keybase proof

I hereby claim:

  • I am dsnezhkov on github.
  • I am dsnezhkov (https://keybase.io/dsnezhkov) on keybase.
  • I have a public key ASBWUqrB2sjZcM2xOL2e2L7O5AGmCxqs208J4Nr5gy7VOAo

To claim this, I am signing this object:

@dsnezhkov
dsnezhkov / octohook-setup.sh
Last active August 21, 2017 02:21
Octohook DPLY.CO script
#!/bin/bash
export DEBIAN_FRONTEND=noninteractive;
apt-get update;
apt-get -y upgrade;
apt-get install python-pip git -y
pip install --upgrade pip
pip install virtualenv
virtualenv -p python venv
. venv/bin/activate
pip install prompt_toolkit PyGithub bottle pygments pyaml delegator.py
@dsnezhkov
dsnezhkov / evade.wsf
Last active August 18, 2017 00:14
Call WSF script v/w cscript
<package>
<job id="GetProcs">
<script language="JScript">
var loc = new ActiveXObject("WbemScripting.SWbemLocator");
var svc = loc.ConnectServer(".", "root\\cimv2");
coll = svc.ExecQuery("select * from Win32_Process");
var items = new Enumerator(coll);
while (!items.atEnd())
{
@dsnezhkov
dsnezhkov / down.js
Created August 15, 2017 15:58
JScirpt pulldown file
// cscript /B down.js
function saveFile(sSourceUrl, sDestFile ) {
var objXMLHTTP = new ActiveXObject("MSXML2.XMLHTTP");
objXMLHTTP.onreadystatechange=function() {
if (objXMLHTTP.readyState === 4) {
var objADOStream = new ActiveXObject("ADODB.Stream");
objADOStream.open();
objADOStream.type = 1; // Binary
objADOStream.write(objXMLHTTP.ResponseBody);
objADOStream.position = 0;
#!/bin/bash
echo "Screwing FCC in 3, 2, 1 ... "
MMDB="./mm.csv"
UA="Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.112 Safari/534.30"
if [ ! -f $MMDB ]
then
echo "Getting you some sites ..."
curl -s http://downloads.majestic.com/majestic_million.csv -o mm.csv