This is a collection of information on PostgreSQL and PostGIS for what I tend to use most often.
This file contains hidden or 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
| #!/usr/bin/python | |
| # Exploit-db.com Google Dork Hacking Database Replicator written by Andy Bricker | |
| # Proof of concept. You shouldnt use this script without prior consent from Exploit-db.com | |
| # http://andybricker.com | |
| # Contact: andy at andybricker.com | |
| # Requirements | |
| # Python 2.7 (Has not been tasted on later versions) | |
| # Usage: |
This file contains hidden or 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
| """ | |
| example: The following JSON document: | |
| {"maps":[{"id1":"blabla","iscategorical1":"0", "perro":[{"dog1": "1", "dog2": "2"}]},{"id2":"blabla","iscategorical2":"0"}], | |
| "masks":{"id":"valore"}, | |
| "om_points":"value", | |
| "parameters":{"id":"valore"}} | |
| will have the following output: | |
| {'masks.id': 'valore', 'maps.iscategorical2': '0', 'om_points': 'value', 'maps.iscategorical1': '0', | |
| 'maps.id1': 'blabla', 'parameters.id': 'valore', 'maps.perro.dog2': '2', 'maps.perro.dog1': '1', 'maps.id2': 'blabla'} |
Example on how to run locally an AWS Lambda via API Gateway using localstack.
Based on...