DNS Exfiltration

https://youtu.be/aztTkCWWMno https://youtu.be/49F0co_VrTY Ref https://github.com/yarrick/iodine https://github.com/iagox86/dnscat2 https://github.com/Arno0x/DNSExfiltrator

February 12, 2021 · 1 min · birdchan

SameSite SameOrigin?

What is a site? What is an origin? Are they the same interchangably? What’s cross site? What’s cross origin? In short, site is eTLD + 1, origin is scheme, host, and port. What is eTLD? eTLD is effective top-level domain. What is effective top-level domain? It is one of the domains listed in the Public suffix list: https://publicsuffix.org/list/. (e.g. com, ny.us, github.io, etc). The list gets a little wild. So site being eTLD + 1, an example is mySite.com, or food.ny.us, or hello.github.io. ...

February 12, 2021 · 1 min · birdchan

ETL

https://airbyte.io/articles/data-engineering-thoughts/the-state-of-open-source-data-integration-and-etl/ Good read, so much have changed in just a few years.

February 4, 2021 · 1 min · birdchan

USB

USB types are getting very confusing now, next time I will just look for Thunderbolt 4. https://fabiensanglard.net/nousb/index.html

January 18, 2021 · 1 min · birdchan

Predict your choice

This game Aaronson Oracle can predict your next choice (left key or right key), with a 70% average correct rate. We are not that random after all. https://roadtolarissa.com/oracle/ ref: https://news.ycombinator.com/item?id=25332641

December 10, 2020 · 1 min · birdchan

Light bulb colors

November 24, 2020 · 0 min · birdchan

Split a zip file in osx

Say you have a big file and you want to zip it up into a few smaller files, (coz email attachment has size limit), here is how you do it. zip -s 5m file.zip myBigFile.mov That cmd will create these files with file size capped at 5mb file.z01 file.z02 file.z03 ... file.zip To get your original file back, install 7zip. brew install p7zip Then run the following to extract your original file(s) back ...

October 12, 2020 · 1 min · birdchan

Show download history in osx

Open a terminal and run the following command. sqlite3 ~/Library/Preferences/com.apple.LaunchServices.QuarantineEventsV* 'select LSQuarantineDataURLString from LSQuarantineEvent' If that’s alarming, you can add the following line to your .bash_profile file to clean up the history from time to time. sqlite3 ~/Library/Preferences/com.apple.LaunchServices.QuarantineEventsV* 'delete from LSQuarantineEvent' Ref: https://osxdaily.com/2012/07/12/list-download-history-mac-os-x/

October 6, 2020 · 1 min · birdchan

Flexbox Defense

This is a fun way to learn css flexbox in a tower-defense game. http://www.flexboxdefense.com/

September 4, 2020 · 1 min · birdchan

Shortcut to insert new rows in Google Spreadsheets

First select a whole row, then do Opt Cmd =. That’s option key, command key, and the equal sign key. I am using Chrome on osx. There are more shortcuts from this post: https://webapps.stackexchange.com/questions/44607/shortcut-to-insert-new-row-in-google-spreadsheets

August 21, 2020 · 1 min · birdchan