Skip to content

Instantly share code, notes, and snippets.

View usayamadx's full-sized avatar

Usayama CEO usayamadx

View GitHub Profile
site:*/sign-in
site:*/account/login
site:*/forum/ucp.php?mode=login
inurl:memberlist.php?mode=viewprofile
intitle:"EdgeOS" intext:"Please login"
inurl:user_login.php
intitle:"Web Management Login"
site:*/users/login_form
site:*/access/unauthenticated
site:account.*.*/login
@usayamadx
usayamadx / google-dorks
Created July 10, 2024 15:32 — forked from mehdichaouch/google-dorks
Listing of a number of useful Google dorks.
Explanations:
cache: If you include other words in the query, Google will highlight those words within
the cached document. For instance, [cache:www.google.com web] will show the cached
content with the word “web” highlighted. This functionality is also accessible by
clicking on the “Cached” link on Google’s main results page. The query [cache:] will
show the version of the web page that Google has in its cache. For instance,
[cache:www.google.com] will show Google’s cache of the Google homepage. Note there
can be no space between the “cache:” and the web page url.
------------------------------------------------------------------------------------------
@usayamadx
usayamadx / file_download_instead_of_console_log.js
Created September 16, 2021 02:03
Response result, file download instead of console.log
let result = 'response json...' // api resonse ...etc
let domElement = document.createElement('a')
domElement.href = 'data:text/json,' + encodeURIComponent(JSON.stringify(result))
domElement.target = '_blank'
domElement.download = 'response.json'
domElement.click()
@usayamadx
usayamadx / mysql_export_import_commands
Last active August 24, 2021 03:22
mysql export/import commands
/* -------------
dump : export
------------- */
// schema + records
mysqldump -u user -p database_name > database_name_`date +%Y%m%d-%H%M%S`.sql
// schema
mysqldump -u user -p -d database_name > database_name_`date +%Y%m%d-%H%M%S`.sql
@usayamadx
usayamadx / ExportKindle.js
Last active June 30, 2024 21:48 — forked from jkubecki/ExportKindle.js
Amazon Kindle Export
// init
let xhr = new XMLHttpRequest()
let domain = 'https://read.amazon.com/'
let items = []
let csvData = ""
// function
function getItemsList(paginationToken = null) {
let url = domain + 'kindle-library/search?query=&libraryType=BOOKS' + ( paginationToken ? '&paginationToken=' + paginationToken : '' ) + '&sortType=recency&querySize=50'
xhr.open('GET', url, false)