- https://www.youtube.com/watch?v=i-oSr8ei4BU
- https://youtu.be/3SkCojauHto?t=1331 (Just watch the two piece anchor stuff)
This file contains 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
import requests | |
import sys | |
import os | |
PLUGIN = 'credentials' | |
BACKDIR_COUNT = 10 | |
if len(sys.argv) != 3: | |
print 'usage:\n\tpython CVE-2018-1999002.py [jenkins base url] [absolute file path]' | |
print '' |
This file contains 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
IPADDR=$(nvram get wan_ipaddr) | |
DO_KEY="Your DigitalOcean API Key" | |
DOMAIN="yourdomain.name" | |
DO_RECORD_ID=id_for_record_you_want_to_update | |
echo $IPADDR | |
echo Updating name server | |
curl -k "https://api.digitalocean.com/v2/domains/$DOMAIN/records/$DO_RECORD_ID" \ | |
-X PUT \ |
This file contains 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
/** | |
* Module dependencies | |
*/ | |
var express = require('express'); | |
var fs = require('fs'); | |
var mongoose = require('mongoose'); | |
var Schema = mongoose.Schema; | |
// img path |