set up include filter correctly; fix issues
This commit is contained in:
parent
553522c799
commit
22cee43ede
3
Makefile
3
Makefile
|
@ -21,5 +21,6 @@ $(WRITEUP_PDF): $(DOCS_ALL) fonts.tex top.md
|
||||||
@cp fonts.tex build/fonts.tex
|
@cp fonts.tex build/fonts.tex
|
||||||
@for md in top.md $(DOCS_ALL); do cat $$md; printf "\n\n----------\n\n"; done > build/writeup.md
|
@for md in top.md $(DOCS_ALL); do cat $$md; printf "\n\n----------\n\n"; done > build/writeup.md
|
||||||
@echo "PDF writeup.pdf"
|
@echo "PDF writeup.pdf"
|
||||||
@cd build && pandoc -f markdown-implicit_figures -i writeup.md --pdf-engine=lualatex -o writeup.pdf
|
@cd build && pandoc --filter pandoc-include-code -f markdown-implicit_figures -i writeup.md \
|
||||||
|
--pdf-engine=lualatex -o writeup.pdf
|
||||||
@cp build/writeup.pdf $@
|
@cp build/writeup.pdf $@
|
||||||
|
|
|
@ -30,7 +30,7 @@ def solve_orientation(stars, catalog):
|
||||||
rotation = Rotation.from_matrix(np.linalg.inv(rotation_mtx))
|
rotation = Rotation.from_matrix(np.linalg.inv(rotation_mtx))
|
||||||
return rotation
|
return rotation
|
||||||
|
|
||||||
TICKET = 'ticket{papa21503yankee:GGntHycE-_FqMqGbIoz7rKZD-MzEraoec3dRGU21ExVYGGYFLJQQlRLqNLWn8D4ghQ}'
|
TICKET = 'THE_TICKET'
|
||||||
r = tubes.remote.remote('attitude.satellitesabove.me', 5012)
|
r = tubes.remote.remote('attitude.satellitesabove.me', 5012)
|
||||||
r.send(TICKET+'\n')
|
r.send(TICKET+'\n')
|
||||||
time.sleep(0.5)
|
time.sleep(0.5)
|
||||||
|
|
|
@ -64,5 +64,5 @@ Run it:
|
||||||
```
|
```
|
||||||
|
|
||||||
## Resources and other writeups
|
## Resources and other writeups
|
||||||
- https://docs.opencv.org/trunk/d9/d61/tutorial_py_morphological_ops.html
|
- <https://docs.opencv.org/trunk/d9/d61/tutorial_py_morphological_ops.html>
|
||||||
- https://docs.opencv.org/trunk/dd/d49/tutorial_py_contour_features.html
|
- <https://docs.opencv.org/trunk/dd/d49/tutorial_py_contour_features.html>
|
||||||
|
|
|
@ -33,7 +33,7 @@ def solve(rawdat):
|
||||||
solve += (str(cX) + "," + str(cY)+'\n')
|
solve += (str(cX) + "," + str(cY)+'\n')
|
||||||
return solve
|
return solve
|
||||||
|
|
||||||
TICKET = 'ticket{juliet73678uniform:GIE7kv0AbxY1I813dEkfLYg2PhHMnJcdqhouI2zuDG1md_2TQ1Ikgab5osJoTRFzIg}'
|
TICKET = 'THE_TICKET'
|
||||||
r = tubes.remote.remote('stars.satellitesabove.me', 5013)
|
r = tubes.remote.remote('stars.satellitesabove.me', 5013)
|
||||||
r.recvline()
|
r.recvline()
|
||||||
r.send(TICKET+'\n')
|
r.send(TICKET+'\n')
|
||||||
|
|
|
@ -4,7 +4,7 @@ import sys
|
||||||
|
|
||||||
from pwnlib import tubes
|
from pwnlib import tubes
|
||||||
|
|
||||||
TICKET = 'ticket{oscar39616kilo:GPvmwTTzj5JlUEWS4qze0U3-MIIoybpJ5VAClSr3D6-3uOBwYuvsP1RK8jfQixupxQ}'
|
TICKET = 'THE_TICKET'
|
||||||
r = tubes.remote.remote('bus.satellitesabove.me', 5041)
|
r = tubes.remote.remote('bus.satellitesabove.me', 5041)
|
||||||
r.send(TICKET+'\n')
|
r.send(TICKET+'\n')
|
||||||
time.sleep(0.5)
|
time.sleep(0.5)
|
||||||
|
@ -31,7 +31,8 @@ def decode_pkt(b):
|
||||||
field4 = to_hex(b[27:30])
|
field4 = to_hex(b[27:30])
|
||||||
if b[30] != ord('?'):
|
if b[30] != ord('?'):
|
||||||
print('b[30] is not ?')
|
print('b[30] is not ?')
|
||||||
print(': 00:00:00 > {} {} {} @ {} {} {} ?'.format(field1, field1end, field2, field3, field3end, field4))
|
print(': 00:00:00 > {} {} {} @ {} {} {} ?'.format(field1, field1end, field2,
|
||||||
|
field3, field3end, field4))
|
||||||
elif b[0] == ord(';'):
|
elif b[0] == ord(';'):
|
||||||
print('delimiter') # end of previous packet?
|
print('delimiter') # end of previous packet?
|
||||||
else:
|
else:
|
||||||
|
@ -41,7 +42,7 @@ def decode_pkt(b):
|
||||||
|
|
||||||
start = True
|
start = True
|
||||||
inj = b"^3b+00+00+37+."
|
inj = b"^3b+00+00+37+."
|
||||||
inj2 = b"^ca+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+00+."
|
inj2 = b"^ca+" + (b"00+" * 512) + b"."
|
||||||
|
|
||||||
dont = False
|
dont = False
|
||||||
inj2_b = False
|
inj2_b = False
|
||||||
|
|
Loading…
Reference in New Issue