Scripts I'm using to mine ETH on Linux.
nbminer.service: setup Nvidia Power Limit to 250 and start nbminer
local.conf: disable IPv6
nct6775-fans: Set Fan 2 and Fan 3 to ~78%
| # =============================== | |
| # Alpine-based Dockerfile for FFmpeg compilation | |
| # Use Alpine Linux as the base image which uses musl libc | |
| # Should be able to run in OpenWrt (tested in OpenWrt 24.10.2) | |
| # Static build with libx264 + libx265 + libdav1d + libogg + libvorbis + libopus + libmp3lame + libvpx + libtheora + libaom + libfdk-aac + libass + libfreetype + fontconfig + libwebp | |
| # =============================== | |
| # =============================== | |
| # Stage 1: Builder | |
| # =============================== |
| [Unit] | |
| Description=Bitcoin daemon | |
| Documentation=https://github.com/btcsuite/btcd/ | |
| # https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/ | |
| After=network-online.target | |
| Wants=network-online.target | |
| [Service] | |
| ExecStart=/usr/local/bin/btcd \ |
| #!/bin/bash | |
| for port in `seq 50000 60000`; | |
| do | |
| nc -vw3 192.168.0.1 $port & | |
| done | |
| wait |
| hckrnews.com##body:style(background-color:#0e1113!important) | |
| hckrnews.com##a:style(color:#ffffff!important) |
| /** | |
| * Scan networks and print in screen | |
| */ | |
| #include "WiFi.h" | |
| #include "HT_SSD1306Wire.h" | |
| #define BAUDRATE 115200 | |
| // addr , freq , i2c group , resolution , rst |
Scripts I'm using to mine ETH on Linux.
nbminer.service: setup Nvidia Power Limit to 250 and start nbminer
local.conf: disable IPv6
nct6775-fans: Set Fan 2 and Fan 3 to ~78%
| const crypto = require('crypto'); | |
| const vm = require('vm'); | |
| process.env.FLAG = "FLAG" | |
| const secret = (key) => ((key == 1337) ? process.env.FLAG : 'fail'); | |
| const sandbox = {[crypto.randomBytes(32).toString('hex')] : secret}; | |
| const message = 'this.constructor.values(this).shift()(this.constructor.values(this.constructor).concat(this.constructor.values(this.constructor).concat(null).length).concat(this.constructor.values(this.constructor).concat(null).concat(null).concat(null).length).concat(this.constructor.values(this.constructor).concat(null).concat(null).concat(null).length).concat(this.constructor.values(this.constructor).concat(null).concat(null).concat(null).concat(null).concat(null).concat(null).concat(null).length).join(this.constructor.name.repeat()))'; | |
| // ... | |
| if (message.match(/^[a-z.()]+$/)) { | |
| try { |
| docker run -w /root -it ubuntu:xenial-20180417 /bin/bash | |
| apt update | |
| apt install curl xz-utils cmake ninja-build g++ python -y | |
| curl -o llvm-6.0.0.src.tar.xz http://releases.llvm.org/6.0.0/llvm-6.0.0.src.tar.xz | |
| tar xvf llvm-6.0.0.src.tar.xz | |
| cd llvm-6.0.0.src/tools/ | |
| curl -o cfe-6.0.0.src.tar.xz http://releases.llvm.org/6.0.0/cfe-6.0.0.src.tar.xz | |
| tar xvf cfe-6.0.0.src.tar.xz | |
| mv cfe-6.0.0.src clang |
| { | |
| "presets": ["env"] | |
| } |