Slides and code examples from my "Pythons Sinister Secrets" presentation.
The slide deck can be downloaded here.
| #include <stdio.h> | |
| #define SQ(x) (x)*(x) | |
| #define M0(x,y) SQ(x)+SQ(y)<4?0:0xe0 | |
| #define M1(x,y,x0,y0) (SQ(x)+SQ(y)<4)?M0(SQ(x)-SQ(y)+(x0),2*(x)*(y)+(y0)):0xc0 | |
| #define M2(x,y,x0,y0) (SQ(x)+SQ(y)<4)?M1(SQ(x)-SQ(y)+(x0),2*(x)*(y)+(y0),x0,y0):0xa0 | |
| #define M3(x,y,x0,y0) (SQ(x)+SQ(y)<4)?M2(SQ(x)-SQ(y)+(x0),2*(x)*(y)+(y0),x0,y0):0x80 | |
| #define M4(x,y,x0,y0) (SQ(x)+SQ(y)<4)?M3(SQ(x)-SQ(y)+(x0),2*(x)*(y)+(y0),x0,y0):0x60 | |
| #define M5(x,y,x0,y0) (SQ(x)+SQ(y)<4)?M4(SQ(x)-SQ(y)+(x0),2*(x)*(y)+(y0),x0,y0):0x40 |
Slides and code examples from my "Pythons Sinister Secrets" presentation.
The slide deck can be downloaded here.
| #Windows 10 Decrapifier 1803/1809 | |
| #By CSAND | |
| #Oct 5 2018 | |
| # | |
| # | |
| #PURPOSE: Eliminate much of the bloat that comes with Windows 10. | |
| # | |
| # Change many privacy settings to be off by default. Remove | |
| # built-in advertising, Cortana, OneDrive, Cortana stuff | |
| # (all optional). |
| ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | |
| ;;; | |
| ;;; Copyright (C), zznop, [email protected] | |
| ;;; | |
| ;;; This software may be modified and distributed under the terms | |
| ;;; of the MIT license. See the LICENSE file for details. | |
| ;;; | |
| ;;; DESCRIPTION | |
| ;;; | |
| ;;; This PoC shellcode is meant to be compiled as a blob and prepended to a ELF |
| ### JHW 2018 | |
| import numpy as np | |
| import umap | |
| # This code from the excellent module at: | |
| # https://stackoverflow.com/questions/4643647/fast-prime-factorization-module | |
| import random |
| //Exploit Code by Shawar Khan | |
| var data_chunks = ''; | |
| // Capturing Records from API | |
| fetch('https://redacted.com/api/v3/records/all').then((resp) => resp.text()).then(function(data) { | |
| // Holds the records in as String | |
| var allrecords = data; | |
| // converting response to JSON |
| #!/usr/bin/env bash | |
| LINKS="https://petsymposium.org/2018/files/papers/issue4/popets-2018-0035.pdf,https://petsymposium.org/2018/files/papers/issue4/popets-2018-0033.pdf,https://petsymposium.org/2018/files/papers/issue4/popets-2018-0031.pdf,https://petsymposium.org/2018/files/papers/issue1/paper42-2018-1-source.pdf,https://petsymposium.org/2018/files/papers/issue3/popets-2018-0021.pdf,https://petsymposium.org/2018/files/papers/issue4/popets-2018-0029.pdf,https://petsymposium.org/2018/files/papers/issue3/popets-2018-0020.pdf,https://petsymposium.org/2018/files/papers/issue3/popets-2018-0026.pdf,https://petsymposium.org/2018/files/papers/issue4/popets-2018-0039.pdf,https://petsymposium.org/2018/files/papers/issue1/paper12-2018-1-source.pdf,https://petsymposium.org/2018/files/papers/issue3/popets-2018-0027.pdf,https://petsymposium.org/2018/files/papers/issue4/popets-2018-0037.pdf,https://petsymposium.org/2018/files/papers/issue3/popets-2018-0024.pdf,https://petsymposium.org/2018/files/papers/issue4/popets-2018-0 |
| X | kick | snare | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| X | ||||||||||
| X | ||||||||||
| X | ||||||||||
| X | kick | |||||||||
| X | ||||||||||
| X | ||||||||||
| X | ||||||||||
| X | kick | snare | clap | |||||||
| X |
| ## uploaded by @JohnLaTwC | |
| ## Sample hash: 8ef117d174a5f4bfac84d6dcc99278fc8ff4add8c6f8b569411876779727ad75 | |
| olevba 0.52dev7 - http://decalage.info/python/oletools | |
| Flags Filename | |
| ----------- ----------------------------------------------------------------- | |
| OLE:MAS-HB-- 8ef117d174a5f4bfac84d6dcc99278fc8ff4add8c6f8b569411876779727ad75 | |
| =============================================================================== | |
| FILE: 8ef117d174a5f4bfac84d6dcc99278fc8ff4add8c6f8b569411876779727ad75 | |
| Type: OLE | |
| ------------------------------------------------------------------------------- |