Skip to content

Instantly share code, notes, and snippets.

View adamn's full-sized avatar
☀️
It's Always Sunny in Seattle

Adam Nelson adamn

☀️
It's Always Sunny in Seattle
View GitHub Profile
@adamn
adamn / request_from_chase_com
Last active August 19, 2021 02:17
One more reason financial companies like Chase are ripe for attack
# These are requests required in order to simply look at checking accounts at Chase.com
# https://www.chase.com/checking
# One need not marvel at the parlous state of affairs in cybersecurity vis a vis major financial institutions
# when they rely on this many third-parties simply to show users a list of available checking accounts
# Attacks via Forbes stemmed from just this type of use of third party ad widgets (http://arstechnica.com/security/2015/02/pwned-in-7-seconds-hackers-use-flash-and-ie-to-target-forbes-visitors/)
# Maybe Obama and the NIST cybersecurity initiative (http://www.nist.gov/cyberframework/) could focus more on the leaking ship of information rather than attacking privacy
# Thanks to µBlock (https://github.com/gorhill/uBlock) and Live HTTP Headers (http://livehttpheaders.mozdev.org/) for the fantastic tools that make finding this stuff easy
#
script https://dev.virtualearth.net/services/v1/ImageryMetadataService/ImageryMetadataService.asmx/GetBirdsEyeSceneByLocation[redacted]
@adamn
adamn / gist:1dbfde14f541d818c046430561a0decb
Created October 14, 2016 18:20
Adding user to stream broken (maybe the user doesn't exist on staging db but does on elastic search?)
IntegrityError at /streams/7d654571-6b07-4855-879a-b99c18d804e6/add_access
(1452, 'Cannot add or update a child row: a foreign key constraint fails (`centr_staging`.`stream_streamaccess`, CONSTRAINT `stream_streamaccess_user_id_80bda50c_fk_user_user_id` FOREIGN KEY (`user_id`) REFERENCES `user_user` (`id`))')
Request Method: POST
Request URL: https://staging-centr.factr.com/streams/7d654571-6b07-4855-879a-b99c18d804e6/add_access
Django Version: 1.10.2
Python Executable: /var/virtualenvs/centr/bin/python3.5
Python Version: 3.5.2
Python Path: ['/var/www/releases/1476387964-7b83f922', '/var/virtualenvs/centr/bin', '/var/virtualenvs/centr/src/newspaper3k', '/var/virtualenvs/centr/lib/python3.5', '/var/virtualenvs/centr/lib/python3.5/plat-x86_64-linux-gnu', '/var/virtualenvs/centr/lib/python3.5/lib-dynload', '/usr/lib/python3.5', '/usr/lib/python3.5/plat-x86_64-linux-gnu', '/var/virtualenvs/centr/lib/python3.5/site-packages', '/var/virtualenvs/centr/lib/python3.5/site-packages/newrelic-2.70.0.51', '/var/www/relea