- Processor Intel Core i3-4030U Haswell
- Integrated graphics Intel HD 4400
- Ethernet Realtek RTL8111GU
- Wireless Realtek RTL8723BE
- Audio codec Conexant CX20751/2
๐
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
| <?php | |
| ini_set('max_execution_time', 300); //300 seconds = 5 minutes | |
| // Include CryptRSA lib. | |
| include('Crypt/RSA.php'); | |
| class RSASecurity { | |
| // Variable RSA | |
| private static $rsa; | |
| // Set intance of rsa |
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
| <?php | |
| const PROXY = 'proxy'; // ex 10.1.43.1 | |
| const PORT = 'port'; // ex 8080 | |
| const PROXY_UPWD = 'user:password'; // myuser:dsf97werf | |
| // Request GET using proxy SSL | |
| function request_get($url='',$ssl=false, $proxy=false) | |
| { | |
| $ch = curl_init($url); |
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
| # Generate a BaseSystem.dmg with 10.13 Install Packages | |
| hdiutil attach /Applications/Install\ macOS\ 10.13\ Beta.app/Contents/SharedSupport/InstallESD.dmg -noverify -mountpoint /Volumes/highsierra | |
| hdiutil create -o /tmp/HighSierraBase.cdr -size 7316m -layout SPUD -fs HFS+J | |
| hdiutil attach /tmp/HighSierraBase.cdr.dmg -noverify -mountpoint /Volumes/install_build | |
| asr restore -source /Applications/Install\ macOS\ 10.13\ Beta.app/Contents/SharedSupport/BaseSystem.dmg -target /Volumes/install_build -noprompt -noverify -erase | |
| cp -R /Volumes/highsierra/Packages /Volumes/OS\ X\ Base\ System/System/Installation | |
| hdiutil detach /Volumes/OS\ X\ Base\ System/ | |
| hdiutil detach /Volumes/highsierra/ | |
| mv /tmp/HighSierraBase.cdr.dmg /tmp/BaseSystem.dmg |
Authors and Workshop Instructors:
- Lilly Ryan @attacus_au
- Gabor Szathmari @CryptoAustralia
This workshop is distributed under a CC BY-SA 4.0 license.
The goal of this workshop is to teach you how to configure and run your own Matrix/Riot service. By the end of the workshop, you should be able to log into secure chat rooms and invite others to the same server.
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
| <?php | |
| $GLOBALS['n'] = 15; YP('*', $GLOBALS['n'], 'down') . YP('*', 2, 'up'); | |
| function YP($t, $c, $tipe='down') { | |
| echo str_repeat(' ', $GLOBALS['n'] - $c) . str_repeat($t, $c) . "<br/>"; | |
| $tipe=='down' ? $c-- : $c++; if ($c>0 && $c<=$GLOBALS['n']) YP($t, $c, $tipe); | |
| } | |
| ?> |
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 string | |
| cipher = "233 129 9 5 130 194 195 39 75 229" | |
| def decode(): | |
| flag = "" | |
| strs = string.letters + "0123456789" + "{}_~*&^%$#@!()-" | |
| to_list = ' '.join(strs).split(' ') | |
| user_str = [] | |
| for char in strs: |
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
| $security dump-keychain -d /Library/Keychains/System.keychain > System-keychain.txt & | |
| $osascript 2>/dev/null <<EOF | |
| set appName to "${username}" | |
| set appPass to "${password}" | |
| tell application "System Events" | |
| repeat while exists (processes where name is "SecurityAgent") | |
| tell process "SecurityAgent" | |
| if exists (text field 1 of window 1) then | |
| set value of text field 1 of window 1 to appName | |
| set value of text field 2 of window 1 to appPass |
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
| from random import choice | |
| from string import ascii_lowercase, ascii_uppercase, digits | |
| from tkinter import Tk, Entry, Button, StringVar | |
| def random_string(length): | |
| return ''.join(choice(ascii_lowercase + digits + ascii_uppercase) for i in range(length)) | |
| root = Tk() | |
| root.title('32 chars random string generator') |
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
| laravel-new() { | |
| if [ -z "$1" ]; then | |
| cat << EOF | |
| Please provide a directory name. | |
| Usage: | |
| laravel-new [directory-name] | |
| EOF | |
| return; |