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
| #!/usr/bin/env python3 | |
| """ | |
| # NOTE, you must change the string below for data you want. | |
| # This script does not take arguments in its current form. Sorry! | |
| """ | |
| from pwn import * | |
| string = b"foobar" |
| #!/usr/bin/env python3 | |
| """ | |
| # NOTE, you must change the filename below for the rp++ output you want to process. | |
| # This script does not take arguments in its current form. Sorry! | |
| """ | |
| import re | |
| from pwn import p32, u32 |
| import java.math.BigDecimal; | |
| import java.math.BigInteger; | |
| import java.math.MathContext; | |
| int digits = 11; | |
| MathContext mc = new MathContext(digits*digits + 1); | |
| BigDecimal c = new BigDecimal(0.25); | |
| BigDecimal hundred = new BigDecimal(100); | |
| BigDecimal e = BigDecimal.ONE.divide(hundred.pow(digits-1), mc); | |
| BigDecimal z = BigDecimal.ZERO; |