Skip to content

Instantly share code, notes, and snippets.

Avatar

Jack Peterson tinybike

View GitHub Profile
View journalctl
Feb 14 05:39:09 rinkeby-signer systemd[1]: Started geth.
Feb 14 05:39:09 rinkeby-signer sudo[2694]: pam_unix(sudo:session): session closed for user root
Feb 14 05:39:09 rinkeby-signer geth[2697]: WARN [02-14|05:39:09.656] Sanitizing cache to Go's GC limits provided=2048 updated=1314
Feb 14 05:39:09 rinkeby-signer geth[2697]: DEBUG[02-14|05:39:09.659] Sanitizing Go's GC trigger percent=77
Feb 14 05:39:09 rinkeby-signer geth[2697]: INFO [02-14|05:39:09.660] Maximum peer count ETH=128 LES=0 total=128
Feb 14 05:39:09 rinkeby-signer geth[2697]: INFO [02-14|05:39:09.660] Smartcard socket not found, disabling err="stat /run/pcscd/pcscd.comm: no such file or directory"
Feb 14 05:39:09 rinkeby-signer geth[2697]: DEBUG[02-14|05:39:09.661] FS scan times list=769.009µs set=5.376µs diff=2.434µs
Feb 14 05:39:09 rinkeby-signer geth[2697]: INFO [02-14|05:39:09.663] Starting peer-to-peer node instance=Geth/v1.9.10-stable-58cf5686/linux-amd64
View ui-npm-audit.txt
This file has been truncated, but you can view the full file.
=== npm audit security report ===
# Run npm install ethereumjs-ledger@2.1.5 to resolve 18 vulnerabilities
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Moderate │ ReDoS │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ brace-expansion │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Dependency of │ ethereumjs-ledger │
View npm_audit.txt
jack@substrate:~/src/augur-core$ npm audit
=== npm audit security report ===
# Run npm update webpack-cli --depth 3 to resolve 396 vulnerabilities
┌───────────────┬──────────────────────────────────────────────────────────────┐
│ Low │ Prototype Pollution │
├───────────────┼──────────────────────────────────────────────────────────────┤
│ Package │ lodash │
├───────────────┼──────────────────────────────────────────────────────────────┤
View snapcraft-bad-symlinks
View dpkg.log
2018-08-07 13:11:50 startup archives unpack
2018-08-07 13:11:51 upgrade libpam-systemd:amd64 229-4ubuntu21.2 229-4ubuntu21.4
2018-08-07 13:11:51 status half-configured libpam-systemd:amd64 229-4ubuntu21.2
2018-08-07 13:11:51 status unpacked libpam-systemd:amd64 229-4ubuntu21.2
2018-08-07 13:11:51 status half-installed libpam-systemd:amd64 229-4ubuntu21.2
2018-08-07 13:11:51 status triggers-pending man-db:amd64 2.7.5-1
2018-08-07 13:11:51 status half-installed libpam-systemd:amd64 229-4ubuntu21.2
2018-08-07 13:11:51 status unpacked libpam-systemd:amd64 229-4ubuntu21.4
2018-08-07 13:11:51 status unpacked libpam-systemd:amd64 229-4ubuntu21.4
2018-08-07 13:11:51 upgrade libudev1:i386 229-4ubuntu21.2 229-4ubuntu21.4
@tinybike
tinybike / static-nodes.json
Last active Jul 26, 2018
Light servers FTW
View static-nodes.json
[
"enode://03f178d5d4511937933b50b7af683b467abaef8cfc5f7c2c9b271f61e228578ae192aaafc7f0d8035dfa994e734c2c2f72c229e383706be2f4fa43efbe9f94f4@163.172.149.200:30303",
"enode://31b5db1136a0ebceeb0ab6879e95dc66e8c52bcce9c8de50e2f722b5868f782aa0306b6b137b9e0c6271a419c5562a194d7f2abd78e22dcd1f55700dfc30c46a@35.165.17.127:30303",
"enode://3afdfd40713a8b188a94e4c7a9ddc61bc6ef176c3abbb13d1dd35eb367725b95329a7570039044dbffa49c50d4aa65f0a1f99ee68e46b8e2f09100d11d4fc85a@31.16.0.92:30303",
"enode://8fcd039bb514ccac1f207d9b23efbea79a1ba9ed559768109b9b3fc9f7f89cfc3a6cd3e11ec1d92a93bdbfe2322e43f3bb3d9519530e8b503c92294116c38c32@108.232.148.241:30303",
"enode://95176fe178be55d40aae49a5c11f21aa58968e13c681a6b1f571b2bb3e45927a7fb3888361bef85c0e28a52ea0e4afa17dcaa9d6c61baf504b3559f056f78581@163.172.145.241:30303",
"enode://a18cc2a6ad4b00cae57b77ef26276eaceffb2593a196df105ce06caa25300636369767430fa21f82b12ed431bca1f61742b8ec7e4db1a58f1b6421d280752b96@148.251.67.86:30303",
"enode://bfad505cbb2bde72e161a7cff044d66d20ce
View syncSpammer.ts
// ETHEREUM_HTTP=http://gethstar.com ETHEREUM_WS=ws://gethstar.com/ws node build/syncSpammer.js
import { existsSync, mkdirSync } from "fs";
import { whilst } from "async";
import Augur from "augur.js";
import { NetworkConfiguration } from "augur-core";
import { AugurNodeController } from "./controller";
const networkName = process.argv[2] || "environment";
const networkConfig = NetworkConfiguration.create(networkName);
View assault-on-gethstar.js
#!/usr/bin/env node
var async = require("async");
var Augur = require("augur.js");
var ethereumNode = {
http: "http://gethstar.com",
ws: "ws://gethstar.com/ws",
};
View over-900.txt
"select `marketId`, `payoutId`, `amountStaked` from (select `marketId`, `payoutId`, `amountStaked` from `crowdsourcers` where `completed` = 1 and `marketId` in ('0xd2b4906276b6ed334604f914306158c05a92e41f', '0x4e0ee58bf4230d3b799584e1a6027b4bda9fc4ed', '0xf4f35c7909d6496779c390abbe71b5fc6353614c', '0x71fe9c2ee36374a380347d205acea2ee5359325a', '0x4e64d886cb5f34c82293093d419c64ea95b8fc49', '0x14099805a1773bbaabcbe882e04a312ac7497fe2', '0x5e2130c995d105510467c2610893ab8464d3448d', '0xdd6eb36fd81a753911073ce3a33c244563540a53', '0x7736bb21ac0f676c7c2783af72913d4c5488da90', '0x62fd1c486b124404e863354ac6a32d348ee074b0', '0xb8478dba931b98fffa4fdb8ac833ba947637bb77', '0xa0c26f0e5d45800ed85279c37281b49934f3ecf8', '0x5d192f598ff29318013b3f269ae37590aa75b5f9', '0xde2ed6ac15b56e15addde6b77f3cc265a98fad54', '0x995fb857b906a4c11ffd6d7b24f1d3c826f14524', '0xc1d053b5c6053a9627eaa0b00974f3f04b4297da', '0xdecbd869eccac116193886c3f7fa4a150ffab681', '0xa9bd93f284678228e7aa8c86c6e955f3f266b3ec', '0xc34941db4fca60d23f7fec90112b8e01
View 502-crash.txt
jack@substrate:~/src/augur-app$ npm start
> augur@1.0.4 start /home/jack/src/augur-app
> electron-forge start .src/main/main.js
✔ Checking your system
✔ Locating Application
✔ Preparing native dependencies: 8 / 8
✔ Launching Application
[22:33:05.942] [info] network name Mainnet
You can’t perform that action at this time.