Several web based challenge ideas for a CTF

this repo consists of several challenge ideas for a CTF, all based around web challenges. All can be run in docker containers, where the git and cert challenge run in the same container (docker-cert-and-git-poc). The first challenge consists of a “sql based cookie injection”, using flask as a webserver and mysql as the database. challenge 1 The second challenge resolves around git. challenge 2 The third challenge is about authenticating with a client cert with a certain “Subject” field in […]

Read more

Preliminary code for Representation learning with Generalized Similarity Functions

Code for GSF learning in offline Procgen. Note: The repo is under construction right now, some experiments might still be changed/ added. Since the dataset is very large due to operating on pixel observations, we provide a way to generate it from pre-trained PPO checkpoints instead of hosting 1Tb+ of data. Instructions Clone the repo Either train a PPO agent from scratch on 200 levels (see here: here), or download provided PPO checkpoints (same repo link). TLDR, you can run […]

Read more

Unsupervised Domain Adaptation for Nighttime Aerial Tracking

Junjie Ye, Changhong Fu, Guangze Zheng, Danda Pani Paudel, and Guang Chen. Unsupervised Domain Adaptation for Nighttime Aerial Tracking. In CVPR, pages 1-10, 2022. Overview UDAT is an unsupervised domain adaptation framework for visual object tracking. This repo contains its Python implementation. Paper (coming soon) | NAT2021 benchmark Testing UDAT 1. Preprocessing Before training, we need to preprocess the unlabelled training data to generate training pairs. Download the proposed NAT2021-train set Customize the directory of the train set in lowlight_enhancement.py […]

Read more

Image Processing With the Python Pillow Library

When you look at an image, you see the objects and people in it. However, when you read an image programmatically with Python or any other language, the computer sees an array of numbers. In this tutorial, you’ll learn how to manipulate images and perform basic image processing using the Python Pillow library. Pillow and its predecessor, PIL, are the original Python libraries for dealing with images. Even though there are other Python libraries for image processing, Pillow remains an […]

Read more

Python utility to generate filesystem content for Obsidian

Quickly parse, format, and output common frameworks/content for Obsidian.md. I ripped this out in 1-2 days so it’s at minimum viable product at the moment. This assumes all packages have been installed via PIP. See Installation for steps on this process. Just execute the proper build subcommand and generator.py will: Clone necessary repositories. Parse all artifacts. Embed frontmatter with tagging. Format them to .md files. And dump the files to disk in a directory of your choice. Assuming your vault […]

Read more

Luxor-HashrateIndex Python Library and Command Line GraphQL API Client

We’ve decided to open-source our datasets for the community to build features, perform research and bring even more transparency to the Bitcoin mining industry. Feel free to send your projects or questions our way to [email protected] or @hashrateindex on Twitter. Looking forward to see what y’all build! Get Started To get started, you will need the following basic information: Endpoint: https://api.hashrateindex.com/graphql API Key: Reach out to [email protected] to get an API Key. Code Snippet from hashrateindex import API from resolvers […]

Read more

Vision Transformer Slimming: Multi-Dimension Searching in Continuous Optimization Space

This is the official repository to the CVPR 2022 paper “Vision Transformer Slimming: Multi-Dimension Searching in Continuous Optimization Space” This repo is based on the training code in Deit and the tools in timm. Getting Started You will need Python 3.8 and the packages specified in requirements.txt. We recommend setting up a virtual environment with pip and installing the packages there. Install packages with: $ pip install -r requirements.txt Data preparation The layout of Imagenet data: /path/to/imagenet/ train/ class1/ img1.jpeg […]

Read more

It’s like Shape Editor in Maya but works with skeletons (transforms)

What is Skeleposer? Briefly, it’s like Shape Editor in Maya, but works with transforms and joints. It can be used to make complex facial rigs based on joints. It’s especially good for game engines and realtime graphics. Basic workflow You create skeleposer node, make joints, add them to skeleposer and then work with poses. Then you connect controls to the poses and that’s done! In practice, you work with skinCluster and poses at the same time. Features Skeleposer supports a […]

Read more
1 190 191 192 193 194 929