I downloaded the sample API python modules (RestApiClient.py, SampleUtilities.py, etc.) from github
I downloaded the sample API script (01_GetOffenses.py) from github
I saved them all to the same folder.
I made sure I had python3 installed (not 2).
Then I had to download our console website PEM from the certificate like so and save it to the same folder.
Then I had to create an authorized service/token.
Then run the script via
It will prompt you to enter your authorization token (from the authorized service screen above) and your certificate location (copy the full path to the .crt file). Once you hit enter, you have the choice to save this token and certificate information to a plaintext file for future use. But then the API call runs and boom you have a list of all offenses!
More about neonprimetime
Top Blogs of all-time
- pagerank botnet sql injection walk-thru
- php injection ali.txt walk-thru
- php injection exfil walk-thru
Copyright © 2015, this post cannot be reproduced or retransmitted in any form without reference to the original post.