This file contains hidden or 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 FindProxyForURL(url, host) { | |
return "HTTPS 66598989d8c5a1fd3fb633c7227fb4dd02478713.access.ce.mammothcyber.net:8443"; | |
} |
This file contains hidden or 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
{ | |
"name": "Chrome Debug", | |
"type": "cppdbg", // "cppdbg" for GDB/LLDB, "cppvsdbg" for Windows Visual Studio debugger | |
"request": "launch", | |
"args": [], // Optional command line args | |
// "preLaunchTask": "8-build_chrome_debug", | |
"stopAtEntry": false, | |
"environment": [ | |
{ | |
"name": "CHROMIUM_LLDBINIT_SOURCED", |
This file contains hidden or 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 FindProxyForURL(url, host) { | |
return 'HTTPS 172.16.1.1:443'; | |
} |
This file contains hidden or 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 FindProxyForURL(url, host) { | |
host = host.toLowerCase(); | |
alert(host); | |
if (dnsDomainIs(host, ".io") || dnsDomainIs(host, ".cn") || dnsDomainIs(host, ".hk") || dnsDomainIs(host, ".mo") || dnsDomainIs(host, ".ph")) { | |
alert("domain matched"); | |
return "HTTPS kchung-dev.mammothcyber.io:443"; | |
} | |
alert("domain NOT matched"); | |
// Direct connection for any other requests |
This file contains hidden or 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 FindProxyForURL(url, host) { | |
return 'HTTPS 66598989d8c5a1fd3fb633c7227fb4dd02478713.access.ce.mammothcyber.net:443'; | |
} |
This file contains hidden or 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 FindProxyForURL(url, host) { | |
return 'HTTPS 76182af77729423bab2c3debc174a9c1bd6901c4.demo.ce.mammothcyber.net:443'; | |
alert("url = " + url + " *** host = " + host + " *** isResolvable = " + isResolvable(host)); | |
if (!isResolvable(host) || host == "www.mockaroo.com") { | |
return 'HTTPS df0115e2efa7b0303b7a06dd08ca323ec87a25b8.dev.ce.mammothcyber.io:443'; | |
} | |
return 'DIRECT'; | |
} |
This file contains hidden or 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
import { | |
BulkDeleteOperation, | |
SearchRequest, | |
SearchResponse, | |
SortResults, | |
} from "@elastic/elasticsearch/lib/api/types"; | |
import { Client } from "@elastic/elasticsearch"; | |
import { last } from "lodash"; | |
const client = new Client({ |