Skip to content

Instantly share code, notes, and snippets.

aay.dk
aew.dk
afe.dk
afq.dk
afw.dk
afx.dk
afy.dk
afz.dk
agq.dk
agz.dk
@emilstahl
emilstahl / available.txt
Created April 26, 2015 18:37
Available three letter .dk domains
aay.dk
aew.dk
afe.dk
afq.dk
afw.dk
afx.dk
afy.dk
afz.dk
agq.dk
agz.dk
_______________________________________________________________
__ _______ _____
\ \ / / __ \ / ____|
\ \ /\ / /| |__) | (___ ___ __ _ _ __
\ \/ \/ / | ___/ \___ \ / __|/ _` | '_ \
\ /\ / | | ____) | (__| (_| | | | |
\/ \/ |_| |_____/ \___|\__,_|_| |_|
WordPress Security Scanner by the WPScan Team
Version 2.7
@emilstahl
emilstahl / functions.php
Last active August 29, 2015 14:27
WooCommece cost price custom field
// Cost price
add_action('woocommerce_product_options_pricing', 'cost_price');
function cost_price() {
woocommerce_wp_text_input(
array(
'id' => '_cost_price',
'class' => 'wc_input_price short',
'label' => __('Cost price', 'woocommerce').' ('.get_woocommerce_currency_symbol().')',
'type' => 'text',
)
@emilstahl
emilstahl / dmarc.txt
Last active August 29, 2015 14:27
DMARC check on FDIM toplist
QUESTION IN TYPE ANSWER Virksomhed
_dmarc.dba.dk. IN TXT "v=DMARC1\; p=none\; rua=mailto:[email protected]\; ruf=mailto:[email protected]\;" eBay
_dmarc.jobindex.dk. IN TXT "v=DMARC1\; p=none\; rua=mailto:[email protected]" Jobinex
_dmarc.bilbasen.dk. IN TXT "v=DMARC1\; p=none\; rua=mailto:[email protected]\; ruf=mailto:[email protected]\;" eBay
_dmarc.newsbreak.dk. IN TXT "v=DMARC1\; p=none\; rua=mailto:[email protected]\; ruf=mailto:[email protected]\; adkim=r\; aspf=r\; pct=100\; rf=afrf\; ri=86400\; sp=none" Uffe Dahl
_dmarc.amino.dk. IN TXT "v=DMARC1\; p=none\; rua=mailto:[email protected]" AMINO ApS To ejere gŒr igen
_dmarc.min-mave.dk. IN TXT "v=DMARC1\; p=none\; rua=mailto:[email protected]" MIN MAVE ApS sikkert samme IT
_dmarc.stepstone.dk. IN TXT "v=DMARC1\; p=none\; rua=mailto:[email protected]" Jobinex
_dmarc.it-jobbank.dk. IN TXT "v=DMARC1\; p=none\; rua=mailto:[email protected]" Jobinex
@emilstahl
emilstahl / config.fish
Last active August 29, 2015 14:27
Easy DMARC lookup
function dmarc
dig TXT +short _dmarc.$argv
end
@emilstahl
emilstahl / backorder.sh
Created August 19, 2015 07:53
UnoEuro Backorder
#!/bin/bash
# copy the autologin cookie from your browser
# run /ue.sh list.txt
while IFS='' read -r line || [[ -n "$line" ]]; do
curl -o /dev/null --silent 'https://www.unoeuro.com/controlpanel/backorder.php' -H 'Cookie: language=1; autologin=XXXXXX;' --data 'domain='$line'&extension=dk'
done < "$1"
@emilstahl
emilstahl / wp-config.php
Created August 19, 2015 21:01
wp-config.php essentials
/* WordPress Cache */
define( 'WP_CACHE', true );
/* Compression */
define( 'COMPRESS_CSS', true );
define( 'COMPRESS_SCRIPTS', true );
define( 'CONCATENATE_SCRIPTS', true );
define( 'ENFORCE_GZIP', true );
/* Memory limit */
@emilstahl
emilstahl / bookmarklet.js
Created October 9, 2015 20:30
Instagram
javascript:function image(){var metas=document.getElementsByTagName('meta');for(i=0;i<metas.length;i++){if(metas[i].getAttribute("property")=="og:image"){return metas[i].getAttribute("content")}}return""} window.open(image(),'_blank');
@emilstahl
emilstahl / mtr.sh
Last active September 11, 2016 13:36
Fix mtr: unable to get raw sockets.
sudo chmod 4755 /usr/local/sbin/mtr; sudo chown root:wheel /usr/local/sbin/mtr; sudo chmod u+s /usr/local/sbin/mtr