I hereby claim:
- I am 7h3rAm on github.
- I am 7h3ram (https://keybase.io/7h3ram) on keybase.
- I have a public key whose fingerprint is 761C A4F7 42BD 3DBA AC8B 5793 3DC1 CDFD C1B6 C8B2
To claim this, I am signing this object:
| # remove password from a pdf file (if password is already known): | |
| qpdf --decrypt --password=<password> infile outfile.pdf | |
| # extract pages from a pdf file: | |
| pdftk infile cat 3-6 output outfile.pdf | |
| # merge pdfs: | |
| pdftk *.pdf cat output outfile.pdf | |
| # convert jpg to pdf: |
I hereby claim:
To claim this, I am signing this object:
| var out = []; | |
| var pm = PasswordManager.getInstance(); | |
| var model = pm.savedPasswordsList_.dataModel; | |
| console.log(model); | |
| var pl = pm.savedPasswordsList_; | |
| for (var i = 0; i < model.length; i++) { | |
| PasswordManager.requestShowPassword(i); | |
| } | |
| alert('After you press Ok results should appear in ~5 seconds.\n' + | |
| "If password fields are empty, try increasing the timeout in the last line," + |
| Verifying that "ankurtyagi.id" is my Blockstack ID. https://onename.com/ankurtyagi |
| from pprint import pprint | |
| from googleapiclient.discovery import build | |
| service = build("customsearch", "v1", developerKey="KEY_HERE") | |
| def search(query): | |
| res = service.cse().list(q=query, cx="CX_ID_HERE").execute() | |
| if 1 <= res["queries"]["request"][0]["totalResults"]: | |
| result = res["items"][0] | |
| response = result["link"] + "\r\n" + result["snippet"] | |
| else: |
| #!/usr/bin/env python3 | |
| from pprint import pprint | |
| import requests | |
| import json | |
| def circllu_cveinfo(cve): | |
| customheaders = { | |
| "User-Agent": "Some script trying to be nice :)" | |
| } |
| from pprint import pprint | |
| import datetime | |
| import struct | |
| import sys | |
| def capinfos(filename): | |
| # generates wireshark's capinfos like stats | |
| # limited features | |
| # needs additional testing | |
| file_handle = open(filename, 'rb') |
| #!/usr/bin/env python | |
| def sec_to_human(secs): | |
| units = dict({ | |
| 7*24*3600: "week", | |
| 24*3600: "day", | |
| 3600: "hour", | |
| 60: "minute", | |
| 1: "second" | |
| }) |