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
package main | |
import ( | |
"flag" | |
"fmt" | |
"io/ioutil" | |
"net/http" | |
) | |
func main() { |
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
To get started, | |
Step 1: You will need to download new firmware for your badge to participate, this firmware can be found here https://defcon.org/signal/ (this link can be found in the topic of #dc29-badge as well if you don't trust me). | |
Step 2: Connect your badge to your PC with usb-c on badge side, and usb-a on computer. Turn power switch from battery to USB while holding down the bottom right button, your badge should glow red. | |
Step 3: You should see your badge as an attached USB drive. Drag and drop the new firmware into your badge. It should automatically reboot. | |
Step 4: Connect to the badge. For macOS, you can run `screen /dev/tty.usbmodem123451 9600` which will present a black screen, then press enter. For linux, use the previous command with 'sudo'. |
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
"AddClientIDToOpenIDConnectProvider", | |
"AddRoleToInstanceProfile", | |
"AddUserToGroup", | |
"AttachGroupPolicy", | |
"AttachRolePolicy", | |
"AttachUserPolicy", | |
"ChangePassword", | |
"CreateAccessKey", | |
"CreateAccountAlias", |
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
import * as cdk from '@aws-cdk/core'; | |
import * as ec2 from "@aws-cdk/aws-ec2"; | |
import ecs = require('@aws-cdk/aws-ecs'); | |
import ecr = require('@aws-cdk/aws-ecr'); | |
import ecs_patterns = require('@aws-cdk/aws-ecs-patterns'); | |
export class IdrdConstructStack extends cdk.Stack { | |
constructor(scope: cdk.Construct, id: string, props?: cdk.StackProps) { | |
super(scope, id, props); |
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
Desktop is 1920 x 1080 @ 60 Hz | |
[Vulkan init] extensions: count=18 | |
[Vulkan init] extensions: name=VK_KHR_device_group_creation, enabled=0 | |
[Vulkan init] extensions: name=VK_KHR_external_fence_capabilities, enabled=0 | |
[Vulkan init] extensions: name=VK_KHR_external_memory_capabilities, enabled=0 | |
[Vulkan init] extensions: name=VK_KHR_external_semaphore_capabilities, enabled=0 | |
[Vulkan init] extensions: name=VK_KHR_get_display_properties2, enabled=0 | |
[Vulkan init] extensions: name=VK_KHR_get_physical_device_properties2, enabled=0 | |
[Vulkan init] extensions: name=VK_KHR_get_surface_capabilities2, enabled=0 | |
[Vulkan init] extensions: name=VK_KHR_surface, enabled=1 |
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
Mono path[0] = '/home/brady/.steam/steam/steamapps/common/Parkitect/Parkitect_Data/Managed' | |
Mono config path = '/home/brady/.steam/steam/steamapps/common/Parkitect/Parkitect_Data/MonoBleedingEdge/etc' | |
Preloaded 'UnityFbxSdkNative.so' | |
Preloaded 'libsteam_api.so' | |
Display 0 'LEN LI2264d 22"': 1920x1080 (primary device). | |
Display 1 'LG Ultra HD 27"': 3840x2160 (secondary device). | |
Desktop is 1920 x 1080 @ 60 Hz | |
[Vulkan init] extensions: count=18 | |
[Vulkan init] extensions: name=VK_KHR_device_group_creation, enabled=0 | |
[Vulkan init] extensions: name=VK_KHR_external_fence_capabilities, enabled=0 |
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
// ValidateToken takes a token string, usually provided by the user, and | |
// validates whether or not it is properly signed as well as parses out any claims. | |
func (s *JWTSecret) ValidateToken(tokenString string) (jwt.MapClaims, error) { | |
// Make sure token is valid | |
err := s.ValidSecret() | |
if err != nil { | |
return nil, err | |
} |
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
var recon <-chan time.Time | |
go func() { | |
for { | |
select { | |
// If we see a disconnect, try to reconnect | |
case <-client.Disconnected: | |
// Trigger reconnect immediately | |
recon = time.After(0) | |
case <-recon: | |
fmt.Printf("Attempting to reconnect...\n") |
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/sh | |
cd /opt/ | |
mkdir GeoLite2-City | |
wget https://geolite.maxmind.com/download/geoip/database/GeoLite2-City.tar.gz -O GeoLite2-City.tar.gz | |
tar xvf GeoLite2-City.tar.gz -C GeoLite2-City --strip-components 1 | |
mv GeoLite2-City/GeoLite2-City.mmdb ./ | |
mkdir GeoLite2-ASN | |
wget https://geolite.maxmind.com/download/geoip/database/GeoLite2-ASN.tar.gz -O GeoLite2-ASN.tar.gz | |
tar xvf GeoLite2-ASN.tar.gz -C GeoLite2-ASN --strip-components 1 | |
mv GeoLite2-ASN/GeoLite2-ASN.mmdb ./ |
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
{ | |
"data": [ | |
{ | |
"count": 296, | |
"honeypot": "cowrie", | |
"source_ip": "88.214.26.89" | |
}, | |
{ | |
"count": 181, | |
"honeypot": "cowrie", |
NewerOlder