10
2
Fork 0

lint seeing stars a bit

This commit is contained in:
Hazel Levine 2020-05-25 22:30:40 -04:00
parent e308353d9b
commit f8427fc28c
1 changed files with 13 additions and 9 deletions

View File

@ -1,15 +1,15 @@
# Seeing Stars
**Category**: Astronomy, Astrophysics, Astrometry, Astrodynamics, AAAA **Points:** 23 **Solves:** 213
**Category**: Astronomy, Astrophysics, Astrometry, Astrodynamics, AAAA
**Points (final)**: 23
**Solves**: 213
Here is the output from a CCD Camera from a star tracker, identify as many stars as you can! (in image reference coordinates)
Note: The camera prints pixels in the following order (x,y): (0,0), (1,0), (2,0)... (0,1), (1,1), (2,1)…
Note that top left corner is (0,0)
> nc stars.satellitesabove.me 5013
> Here is the output from a CCD Camera from a star tracker, identify as many stars as you can! (in image reference coordinates)
> Note: The camera prints pixels in the following order (x,y): (0,0), (1,0), (2,0)... (0,1), (1,1), (2,1)…
>
> Note that top left corner is (0,0)
## Write-up
by [hazel (arcetera)](https://qtp2t.club/)
by [hazel (`arcetera`)](https://qtp2t.club/)
The CCD image given by the netcat is a 128x128 matrix of comma-separated values.
@ -52,7 +52,8 @@ return solve
```
We then automated this entire process using pwnlib to connect to the server and
read the data. Full exploit:
read the data.
### Full code
```{.python include=seeing-stars.py}
```
@ -76,3 +77,6 @@ Traceback (most recent call last):
EOFError
```
## Resources and other writeups
- https://docs.opencv.org/trunk/d9/d61/tutorial_py_morphological_ops.html
- https://docs.opencv.org/trunk/dd/d49/tutorial_py_contour_features.html