- We can post any string to update.php as "nickname" array.
- A object was broken with serialize() and filter().
- String length increased a char as filter() replace a serialized string from 'where' to 'hacker'.
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
#!/bin/bash | |
usage_exit(){ | |
echo "[*] Usage: $0 [-w] [-n suffix_num] [-f] [-o output_dir] filename" | |
echo | |
echo "backup a file as {filename}.{date}[.{suffix_num}]" | |
echo " -w: bachup without suffix_num" | |
echo " -n: set suffix_num" | |
echo " -f: cp without -i option" | |
echo " -o: output to directory" |
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
# Set domain | |
$usersDomain = "" | |
# Set ad server | |
$ADServerName = "" | |
# Set forced directory | |
$forcedDirectory = "" | |
function makeEnableUsersDirectory{ |
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 makeEnableUsersDirectory{ | |
[CmdletBinding()] | |
param( | |
[parameter( | |
position = 0, | |
mandatory = 0 | |
)] | |
[string] | |
$path | |
) |
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 deleteDisableUsersDirectory{ | |
[CmdletBinding()] | |
param( | |
[parameter( | |
position = 0, | |
mandatory = 0 | |
)] | |
[string] | |
$path | |
) |
NewerOlder