Friday, March 9, 2018

Chrome internal pages

Google Chrome's internal chrome:// pages contain experimental features, diagnostic tools and detailed statistics. You can access each by typing chrome://, followed by the name of the page — you can also use the more traditional about: prefix, which redirects you to the chrome:// URL.

The chrome://about page lists all Chrome’s internal pages. Similar to chrome://chrome-urls/ page.

The chrome://flags page is probably the most interesting internal page. This page contains a treasure trove of experimental features that aren’t yet enabled by default. Use it at your own risk.

The chrome://net-internals page is packed full of network diagnostic information and tools. It can capture network data and dump it to a file, making it a useful tool for troubleshooting Chrome network problems.

The chrome://crashes page lists crashes that have occurred.

The chrome://tracing page is a developer tool that allows you to analyze Chrome’s performance. Click Record and Chrome will start logging browser activity.

The chrome://version/ page will show chrome version

The chrome://cache/ page shows cached pages in Chrome

The chrome://download-internals/ page shows download details

The chrome://extensions/ page is to list all extensions

The chrome://indexeddb-internals/ page is for indexed db details from each web site.

The chrome://quota-internals/ page is to show disk usage info.

The chrome://settings/ page is to configure chrome with advanced settings.

Friday, January 5, 2018

csv injection


If the csv file cell value uses formulas, it is often to see csv injection. For instance, if the cell value is  =cmd|' calc'!A0 which will launch calculator.

To prevent csv injection attack, you need either filtering or neutralizing the spreadsheet meta-characters used to define formulas. These 4 characters are +, -, =, and @

Filter is to remove the meta-characters if see excel cell value beginning with one of these 4 characters.

Neutralize is to precede cell values that begin with the characters: +, -, =, or @ with a single quote. This is called “escaping” or “neutralizing” the characters to have excel cell value interpreted as data instead of formulas.

Wednesday, January 3, 2018

An unknown Subversion error occurred. (code = 155037)


Suddenly my Mac Versions app starts to report "An unknown Subversion error occurred. (code = 155037)" when access SVN repository. This error is very generic and useless to help me troubleshoot the root cause.

Google took me to this blog
http://michaelwelburn.com/2013/08/08/error-code-155037-problem-switching-from-svn-1-6-17-to-1-7-8-on-os-x/

But I didn't update svn version or change Versions' settings, so I am thinking of other ways. Finally I figured out svn cleanup then svn update will help resolve this error.