Skip to content

Instantly share code, notes, and snippets.

Avatar

Sarkis Nanyan spellanser

View GitHub Profile
@spellanser
spellanser / Makefile
Created Apr 18, 2019 — forked from moloch--/Makefile
Basic cross-platform reverse shell in Go
View Makefile
EXE = shell
SRC = .
LDFLAGS = -ldflags="-s -w"
windows:
GOOS=windows go build -o $(EXE)_win.exe $(LDFLAGS) $(SRC)
macos:
GOOS=darwin go build -o $(EXE)_macos $(LDFLAGS) $(SRC)
View lab3_part2.py
#!/usr/bin/python
# -*- coding: utf-8 -*-
import copy
import sys
from pprint import pprint
max = 16
graf = {1: {4: 3, 'v': 1}, 2: {5: 1, 'v': 3}, 3: {13: 3, 'v': 2},
View lab3.py
#!/usr/bin/python
# -*- coding: utf-8 -*-
import copy
import sys
from pprint import pprint
#max = 16
m = 23