Skip to content

Instantly share code, notes, and snippets.

@409H
409H / lawsuit.php
Created January 2, 2015 16:00
Class action lawsuit
<?php
class action {} //lawsuit
class life extends bitch{}
sleep(5); //Make it look like it's doing something. Later decrease the number of seconds and we've optimised the code in terms of speed.
@409H
409H / is_object.js
Created April 20, 2015 12:28
Find all _id where attribute is object
//http://stackoverflow.com/questions/29747782/in-mongodb-how-to-find-documents-where-property-is-object-but-not-array
//Find all entries where gyms attribute is an object
var arr = [];
db.test.find().forEach(
function isObj(doc) {
if( typeof doc.gyms === 'object') {
arr.push(doc._id);
}
}
@409H
409H / hungarian_notation.md
Created July 29, 2015 10:01
Hungarian Notation (A flavour of...)

Hungarian notation is an identifier naming convention in computer programming, in which the name of a variable or function indicates its type or intended use. There are two types of Hungarian notation: Systems Hungarian notation and Apps Hungarian notation.

This flavour is simply prefixing the variable with 3 characters to quickly identify the data type of the variable. I find it's much easier to debug your code.


String Variables

@409H
409H / domains.md
Last active September 7, 2017 18:49
Phishing domains going through domain_analyzer 2017/09/07

Keybase proof

I hereby claim:

  • I am 409h on github.
  • I am 409h (https://keybase.io/409h) on keybase.
  • I have a public key ASB7WgbUxjNwBbsqaM6Omdm93Z7291TKDRMXptpLh7dUXAo

To claim this, I am signing this object:

{
"14338147": "SatoshiLite",
"14379660": "brian_armstrong",
"19748227": "mewtant_",
"33962758": "gavofyork",
"34592834": "nickdjohnson",
"63064338": "koeppelmann",
"139487079": "VladZamfir",
"143053926": "gavinandresen",
"295218901": "VitalikButerin",
0443fb4f092b267acb96582da9aa17123fa04906f401ce9cc7d9710a492ed55bc6710ac13f23e87e26d55e062da104097af700218bababf2ba8ec9ef18658c48a5;bogdano
@409H
409H / gist:fbb8b213d3d719b7d8eef014d2891b54
Created February 22, 2018 15:41
Twitter ETH trust trading scams

https://www.reddit.com/r/ethereum/comments/7z7x5t/scam_going_on_with_fake_elon_musk_twitter_account/

https://i.imgur.com/leDBd5Vl.png

vesche 45 points 19 hours ago If anyone is interested here is the Github account (https://github.com/authorizetransaction/authorize-payment) they were using to host a Github Pages website for transactions. They used multiple wallets for incoming ETH most recently this wallet (https://etherscan.io/address/0x6c441ec1c3464eeb459894325ecddfd0ca51e6e9). It seems funds from all wallets used in the scam were poured into this central wallet (https://etherscan.io/address/0xd8bc7066efacdccb21ba3527fd647576c76320b5) and they made off with around $125,000. Insanity.

{
"login": "authorizetransaction",
This file has been truncated, but you can view the full file.
{"scams":[{"id":1,"name":"xn--myetherwallt-leb.com","url":"http://xn--myetherwallt-leb.com","category":"Phishing","subcategory":"MyEtherWallet","description":"Google reports site as insecure","ip":"162.255.119.121","nameservers":["dns1.registrar-servers.com","dns2.registrar-servers.com"],"status":"Offline"},{"id":2,"name":"myelherwallel.com","url":"http://myelherwallel.com","category":"Phishing","subcategory":"MyEtherWallet","addresses":["0xD0cC2B24980CBCCA47EF755Da88B220a82291407"],"status":"Offline"},{"id":3,"name":"myetherwallet.cam","url":"http://myetherwallet.cam","category":"Phishing","subcategory":"MyEtherWallet","description":"redirecting to real site but that happened before","ip":"198.105.244.228","status":"Offline"},{"id":4,"name":"coindash.ru","url":"http://coindash.ru","category":"Fake ICO","subcategory":"Coindash","description":"someone plz check","status":"Offline"},{"id":5,"name":"coin-wallet.info","url":"http://coin-wallet.info","category":"Phishing","subcategory":"Coindash","description":"sc