This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ DNS_SERVERS="8.8.8.8 208.67.222.222 54.93.169.181 46.166.189.67 83.169.184.33" | |
[maik@Furud] ~ $ for D in $DNS_SERVERS ; do dig www.google.com. @$D ; done | |
; <<>> DiG 9.11.1-P3-RedHat-9.11.1-2.P3.fc26 <<>> www.google.com. @8.8.8.8 | |
;; global options: +cmd | |
;; connection timed out; no servers could be reached | |
; <<>> DiG 9.11.1-P3-RedHat-9.11.1-2.P3.fc26 <<>> www.google.com. @208.67.222.222 | |
;; global options: +cmd | |
;; connection timed out; no servers could be reached |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function findPhishMeSpam() { | |
var header_re = /^X-PhishMeTracking:/m; | |
var l = GmailApp.getUserLabelByName("PhishMe") | |
var threads = GmailApp.getInboxThreads(0, 20) | |
for (var i = 0; i < threads.length; i++) { | |
var t = threads[i] | |
var messages = t.getMessages() | |
for (var j = 0; j < messages.length; j++) { | |
var m = messages[j] | |
var raw = m.getRawContent() |