()
| 253 | } |
| 254 | |
| 255 | function run_hax() { |
| 256 | userland(); |
| 257 | if (chain.syscall(23, 0).low != 0x0) { |
| 258 | kernel(); |
| 259 | //this wk exploit is pretty stable we can probably afford to kill webkit before payload loader but should we?. |
| 260 | } |
| 261 | else { |
| 262 | jbdone(); |
| 263 | } |
| 264 | } |
| 265 | |
| 266 | function kernel() { |
| 267 | extra_gadgets(); |