Warning: hardcoded values below will need to be modified for testing against different hostnames and/or IPs
apt-get update && \| const fs = require('fs'); | |
| const Converter = require('./converter.js'); | |
| const options = { | |
| name: process.argv[3], | |
| description: process.argv[4], | |
| activate: process.argv[5], | |
| }; | |
| const converter = new Converter(JSON.parse(fs.readFileSync(process.argv[2])), options); |
| vi /etc/environment | |
| # add these lines... | |
| LANG=en_US.utf-8 | |
| LC_ALL=en_US.utf-8 |
| logs/ |
abs(float) - Returns the absolute value of a given float.
Example: abs(1) returns 1, and abs(-1) would also return 1,
whereas abs(-3.14) would return 3.14. See also the signum function.
basename(path) - Returns the last element of a path.
base64decode(string) - Given a base64-encoded string, decodes it and
returns the original string.
| ''' | |
| Author: Brian Oliver II | |
| Instagram: bolo_ne3 | |
| License: | |
| MIT License | |
| Copyright (c) 2016 Brian Oliver II | |
| Permission is hereby granted, free of charge, to any person obtaining a copy | |
| of this software and associated documentation files (the "Software"), to deal |
| ssh-keygen -t rsa -b 4096 -N '' -C "rthijssen@gmail.com" -f ~/.ssh/id_rsa | |
| ssh-keygen -t rsa -b 4096 -N '' -C "rthijssen@gmail.com" -f ~/.ssh/github_rsa | |
| ssh-keygen -t rsa -b 4096 -N '' -C "rthijssen@gmail.com" -f ~/.ssh/mozilla_rsa |
| package main | |
| func main() { | |
| println("hello world") | |
| } |
| ; /usr/local/bin/nasm -f macho 32.asm && ld -macosx_version_min 10.7.0 -o 32 32.o && ./32 | |
| global start | |
| section .text | |
| start: | |
| push dword msg.len | |
| push dword msg | |
| push dword 1 | |
| mov eax, 4 |
| ; /usr/local/bin/nasm -f macho64 64.asm && ld -macosx_version_min 10.7.0 -lSystem -o 64 64.o && ./64 | |
| global start | |
| section .text | |
| start: | |
| mov rax, 0x2000004 ; write | |
| mov rdi, 1 ; stdout |