- Each user gets symmetric key, private key, and public key
- Symmetric key = encrypts the data that only the user needs to see
- Private key = decrypts the data shared to the user
- Public key = encrypts the data shared to the user
- Symmetric key is encrypted by user PBKDF2 of user's password
- Private key is encrypted by user's symmetric key
- Generate recovery codes for user and encrypt copies of symmetric key using these recovery codes
- Encrypt user symmetric key using organization's public key for key backup mechanism
- Stroe organization's private key in a password manager or something
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# creditcard.py | |
# | |
# Author: | |
# John Lawrence M. Penafiel (penafieljlm) | |
# | |
# Python source code attachment for the article at: | |
# https://penafieljlm.wordpress.com/2016/10/29/ekoparty-ctf-2016-write-ups/#web-150 | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct Template { | |
int64_t data_64; | |
int32_t data_32; | |
int16_t data_16; | |
char data_char; | |
} value { | |
// the x'es get instructions written onto them | |
// notice that those instructions are nops | |
//xxxxxx |
Concepts
- Common Instructions
- Value Representation
- Negative Numbers
- 2s Complement
- Endianess
- Data Structures
- Negative Numbers
- Stack Frame Format
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<title></title> | |
<style type="text/css"> | |
html { | |
height: 100%; | |
} | |
body { | |
height: 100%; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import re | |
import tld | |
# regex by @diegoperini | |
# taken from https://mathiasbynens.be/demo/url-regex | |
# modified by @penafieljlm | |
RE_DOMAIN = re.compile( | |
r'(?:' | |
r'\S+' | |
r'(?' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for %a in ("*.*") do "C:\Program Files (x86)\VideoLAN\VLC\vlc.exe" "%a" --sout=#transcode{acodec=mp3,vcodec=dummy}:standard{access=file,mux=raw,dst="%a.mp3"} --intf=dummy --verbose=2 --play-and-exit |
/********************************************************************
* This C program was generated by spl2c, the Shakespeare to C *
* converter by Jon Åslund and Karl Hasselström. *
********************************************************************/
/* libspl definitions and function prototypes */
#include "spl.h"
int main(void)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
* Personal Information | |
* Education | |
* Work Experience | |
* Certifications | |
* Projects | |
* Selected Accomplishments |
- Extract brands and products from sections and sentences
- Thesaurus Word Distance / Semantic Similarity
- Check if a section is related to the brands and products of a company
- Heading might have brands and products in the title
- Might be worded differently
- https://www.quora.com/Are-there-algorithms-for-measuring-the-semantic-distance-between-two-phrases
- Check if a section is related to the brands and products of a company
- https://code.google.com/archive/p/word2vec/
OlderNewer