Read google chrome custom search engines programmatically? - google-chrome

Is there a file(s) I can read and decode to get the list of custom search engines?
People say you can copy/paste C:\Users\xxx\AppData\Local\Google\Chrome\User Data\Default\Web Data to copy your engines to another computer, but the file isn't in plantext, I'm not sure how to read it.
I'm referring to these:

I figured it out
Web Data is a .sqlite file
select * from keywords gets the search engines. Although chrome needs to be closed... otherwise the database is somehow locked and I can't query it (This is a big issue, if anyone knows how to solve it please comment)
If it's saying the db is locked while chrome is open, simply copy/paste Web Data to a temp file before reading it

Related

can chrome extension search inside of downloaded files?

i'm while in school project about malware injected documents.
key function will made by C i think.
but my idea is, if we can check the content inside of it,
only we have to do is just save the usual version of code, check the similarity and filter it?
so my question is...
can chrome extension possible to intervene in the download process and view the contents of the specified format files without execution?
(Both the conditions that are authorizable and 'not to be executed' are important.)
i googled it for few weeks, but only can i find was "how to make download function" kind of stuffs..

"Reverse" JSON Status API

I've been wondering how to fetch the PlayStation server status. They display it on this page:
https://status.playstation.com/en-us/
But PlayStation is known to use APIs instead of PHP database fetches. After looking around in the source code of the site, I found that they have a separate file called /data.json.
https://status.playstation.com/en-us/data.json
The content of this file is the same as the index file (for some reason). They use stuff like {{endDateTitle}} and {{message}}, but I can't find where it's defined, if it's pulled using a separate file or just pulled from a database using PHP.
How can I "reverse" this site and see if there's a API I can use to display the status on my site?
Maybe I did not get the question right, but it seems pretty straightforward.
If using firefox, open Developer tools, Network. Reload the page.
You can clearly see the requested URL
https://status.playstation.com/data/statuses/region/SCEA.json
It seems that an empty list as a status means "No problems" (since there are no problems I cannot verify this assumption. That's all
The parenthesis {{}} are used by various HTML templating languages, like angular, so you'd have to go through the js code to understand where they get updated.

how to look for live index.html in ftp

We are using FileZilla as out FTP. At the moment, I want to insert a script in the live index.html. Unfortunately, there is more than 1 index.html files on the ftp.
I was wondering how to pinpoint the exact one?
Is there a way to trace it back using just the Google Chrome Inspect Element?
Thank you in advance!
By "live", I presume you mean the one displayed when you visit a particular URL; and by multiple index.html files existing, you presumably mean that there are multiple folders on the FTP server, and you don't know which one maps to the URL in question.
The short answer is no: the mapping from URL to directory structure can be configured however the administrator of the server wants, and is completely invisible to web browsers, so there is no general rule to find out.
Barring luck in finding some clue, you have two ways to attack the problem:
Firstly, you can search for distinctive content: take a copy of all the folders you think might be relevant, then do a "find in files" for some text you know is in the target file but unlikely to be elsewhere. At worst, you might narrow down the list of possibilities before trying the next approach.
Secondly, you can use trial and error: make a list of candidate files, then edit each in turn to add an innocuous but visible piece of text. Then load the target URL and see if it changed; if not, revert the file and try the next.

How to search inside files in Google Drive?

I am a google drive user(not a API user or developer). I want to know is there any way to search inside the file contents. I know the filenames can be searched with search bar. But i couldn't find a way to search inside files.
For example,
I have a file Names.txt which contains
Oracle
Microsoft
IBM
How can i get,say Microsoft, just by searching?
I got this information
useContentAsIndexableText boolean Whether to use the content as indexable text. (Default: false)
from
https://developers.google.com/drive/v2/reference/files/insert
and nothing more helpful :p
Any idea, how to get the file content by searching?
Actually, i found one way to sort the files which contains the text from the link below.
https://support.google.com/drive/answer/2375114?hl=en&ref_topic=2463645
That is by including the search term in in double quotes.
So if i search with "Microsoft". Then only files that contains Microsoft will be visible.
I think that you need some kind of UI to do a full-text content search in your GDrive. There is several tools to do it.
First, you can do it on your desktop with DTSearch or MetaSearch
Secondly, you can use cloud based solution Findo
None of solutions fit me properly, so I decided to write my own cloud based document search engine - Ambar. As for now it's supports only Dropbox. But you can give it a try as well with manual uploads.
You can use "" in the search box, neverthless if you have a lot of pdfs, convert it to doc format, this way you'll be able to look up information in books.
Though I would recommend to hold your pdf files in your computer and analyze it with a pdf reader(For example PDF-XChange Viewer)

Searching for recently created folders yields no result

I am able to successfully create a folder within the root of my Box account via the v2 API. However, if I immediately issue a search request for it, I get no results. If I wait for some period of time (maybe 20 mins) and then issue the search request, the folder I created is returned.
Is there some cacheing going on on the Box side? If so, is there a way to invalidate the cache via the API or some workaround for this?
Thanks!
What is going on is background backend processing of your file. Just like a new website won't show up in a google search until Google has time to 'learn' about the new website, Box's search engine has to process the file and add the text version of the contents to the Box search engine. Exactly how long it takes to be added depends on a lot of variables, including the size and format of the file.
You'll see pretty much the same behavior if you upload a large document to Box and then try to preview it immediately. Box goes off and does some magic to convert your file to a previewable format. Except in the case of the preview, the Box website gives you a little bit of feedback saying "Generating preview." The search bar doesn't tell you "adding new files to search index."
This is mostly because it is more important for Box to get your file and make sure we store it safely and let you know that Box has it. A few milliseconds later on we start working on processing your file for full text search and all the other processing that we do.