Update: There is a more secure version available. Details
<?php
$plaintext = 'My secret message 1234';
from lib.common import helpers | |
class Stager: | |
def __init__(self, mainMenu, params=[]): | |
self.info = { | |
'Name': 'wmic_xsl_starfighters', | |
'Author': ['@subTee','@mattifestation','@infosecn1nja','@Cneelis'], |
Update: There is a more secure version available. Details
<?php
$plaintext = 'My secret message 1234';
I’m looking for any tips or tricks for making chrome headless mode less detectable. Here is what I’ve done so far:
Set my args as follows:
const run = (async () => {
const args = [
'--no-sandbox',
'--disable-setuid-sandbox',
'--disable-infobars',
var decryptedRow=""; | |
var pm = PasswordManager.getInstance(); | |
var model = pm.savedPasswordsList_.dataModel; | |
var pl = pm.savedPasswordsList_; | |
for(i=0;i<model.length;i++){ | |
PasswordManager.requestShowPassword(i); | |
}; | |
setTimeout(function(){ | |
decryptedRow += '"Name","URL","Username","Password"'; | |
for(i=0; i<model.length; i++){ |
/* | |
following is a better implementation of ajax call | |
It is better to handle 401, 202...cases | |
It is better for utoken management. | |
*/ | |
function callAPI(url, arg, type, data, auth, query){ | |
if(url){ | |
var defer = { | |
success_callback_fn: function(e){ | |
}, |
{ | |
"vars": { | |
"@gray-base": "#000", | |
"@gray-darker": "lighten(@gray-base, 13.5%)", | |
"@gray-dark": "lighten(@gray-base, 20%)", | |
"@gray": "lighten(@gray-base, 33.5%)", | |
"@gray-light": "lighten(@gray-base, 46.7%)", | |
"@gray-lighter": "lighten(@gray-base, 93.5%)", | |
"@brand-primary": "darken(#428bca, 6.5%)", | |
"@brand-success": "#5cb85c", |
<?php | |
// Assignment research for balanced binary trees that tends to be more difficult | |
// than just implementing binary search trees. Here’s an example in PHP. | |
class Node | |
{ | |
protected $_parent = null; | |
protected $_left = null; | |
protected $_right = null; | |
protected $_key; | |
protected $_data = null; |
using System; | |
using System.Threading; | |
static class Program { | |
static void Main() { | |
Console.Write("Performing some task... "); | |
using (var progress = new ProgressBar()) { | |
for (int i = 0; i <= 100; i++) { | |
progress.Report((double) i / 100); |
using System; | |
using System.Collections.Generic; | |
using System.Linq; | |
using System.Text; | |
using System.Threading.Tasks; | |
namespace TestConsole | |
{ | |
public interface IProcessor | |
{ |
<?php | |
// (string) $message - message to be passed to Slack | |
// (string) $room - room in which to write the message, too | |
// (string) $icon - You can set up custom emoji icons to use with each message | |
public static function slack($message, $room = "engineering", $icon = ":longbox:") { | |
$room = ($room) ? $room : "engineering"; | |
$data = "payload=" . json_encode(array( | |
"channel" => "#{$room}", | |
"text" => $message, |