- Port Forwarding in Mac OS Yosemite (http://abetobing.com/)
- Pfctl man page (apple.com)
- Pf.conf man page (apple.com)
- How to secure your Mac when using it on wireless networks (sarfata.org)
- Pf on OS X 10.7 (zomo.co.uk)
- OpenBSD packet filter (PF): Real life example (daemon-notes.com)
- Firewalling with OpenBSD's PF packet filter (rlworkman.net)
- PF (OpenBSD) (readthedocs.org)
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/bin/env swift | |
// | |
// REPL.swift | |
// | |
// Created by nuomi1 on 8/5/18. | |
// Copyright © 2018年 nuomi1. All rights reserved. | |
// | |
import Foundation |
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
/* | |
* cc -Wall -O3 -c macos-syscall.c -o macos-syscall.o | |
* ld -static -macosx_version_min 10.12 -pagezero_size 0x1000 macos-syscall.o -o macos-syscall | |
*/ | |
__attribute__ ((visibility("default"))) extern void start(void) asm("start"); | |
#define NR_exit 0x2000001 | |
#define NR_write 0x2000004 |
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
Step : | |
1. give credit card info | |
2. create project | |
3. after that you can create instance. | |
4. now install apcache by ssh: | |
sudo apt get update |
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
https://accounts.google.com/signin/v2/sl/pwd? | |
service=mail | |
&hl=en | |
&uilel=1 | |
&continue=https://www.gmail.com |
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
// ARC4 by Ronald L. Rivest | |
// Implementation by mooxmirror | |
#include <stdio.h> | |
#include <string.h> | |
#include <stdlib.h> | |
#include <assert.h> | |
#define byte unsigned char | |
#define STDIN_BUFFER_SIZE 8 |
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
//#____ ____ __ | |
//#\ \ / /____ _____/ |_ ___________ | |
//# \ Y // __ \_/ ___\ __\/ _ \_ __ \ | |
//# \ /\ ___/\ \___| | ( <_> ) | \/ | |
//# \___/ \___ >\___ >__| \____/|__| | |
//# \/ \/ | |
//#--Licensed under GNU GPL 3 | |
//#----Authored by Vector/NullArray | |
//############################################### |
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
// | |
// AppDelegate.swift | |
// test | |
// | |
// Created by IOANNIS DELIGIANNIS on 1/2/16. | |
// Copyright © 2016 IOANNIS DELIGIANNIS. All rights reserved. | |
// | |
import Cocoa |
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
next-server 10.0.3.2; | |
if ( substring(option vendor-class-identifier, 0, 9) = "AAPLBSDPC" | |
and substring(option vendor-class-identifier, 10, 4) = "i386" ) { | |
# This needs to be there to tell the client we're an Apple boot server | |
option vendor-class-identifier "AAPLBSDPC"; | |
# Normally the client asks for a list, we respond, they tell us what we want, | |
# then we send a select back with the information of that image. | |
# This skips all that and forces the select down to the client. | |
option vendor-encapsulated-options 01:01:02; | |
# Use ipxe.efi for native drivers, or snponly.efi for underlying UNDI |
NewerOlder