<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://yawg.net/index.php?action=history&amp;feed=atom&amp;title=HackASat2020</id>
	<title>HackASat2020 - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://yawg.net/index.php?action=history&amp;feed=atom&amp;title=HackASat2020"/>
	<link rel="alternate" type="text/html" href="https://yawg.net/index.php?title=HackASat2020&amp;action=history"/>
	<updated>2026-04-29T03:18:21Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://yawg.net/index.php?title=HackASat2020&amp;diff=57&amp;oldid=prev</id>
		<title>Encryptid: Created page with &quot;[https://quals.2020.hackasat.com/scoreboard/ HackASat Challenges] [https://docs.google.com/document/d/1ih0MFTv6mNxWdEDtRsg-ZI3aLidb9suTyxemZYkrRxI/ Doc I was using]  =Challenges= ==Astronomy, Astrophysics, Astrometry, Astrodynamics, AAAA== ===I Like to Watch=== ====Challenge Info==== &lt;pre&gt; We&#039;ve captured data from a satellite that shows a flag located at the base of the Washington Monument. The image was taken on March 26th, 2020, at 21:54:29 The satellite we used was:...&quot;</title>
		<link rel="alternate" type="text/html" href="https://yawg.net/index.php?title=HackASat2020&amp;diff=57&amp;oldid=prev"/>
		<updated>2025-08-06T19:11:39Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;[https://quals.2020.hackasat.com/scoreboard/ HackASat Challenges] [https://docs.google.com/document/d/1ih0MFTv6mNxWdEDtRsg-ZI3aLidb9suTyxemZYkrRxI/ Doc I was using]  =Challenges= ==Astronomy, Astrophysics, Astrometry, Astrodynamics, AAAA== ===I Like to Watch=== ====Challenge Info==== &amp;lt;pre&amp;gt; We&amp;#039;ve captured data from a satellite that shows a flag located at the base of the Washington Monument. The image was taken on March 26th, 2020, at 21:54:29 The satellite we used was:...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[https://quals.2020.hackasat.com/scoreboard/ HackASat Challenges]&lt;br /&gt;
[https://docs.google.com/document/d/1ih0MFTv6mNxWdEDtRsg-ZI3aLidb9suTyxemZYkrRxI/ Doc I was using]&lt;br /&gt;
&lt;br /&gt;
=Challenges=&lt;br /&gt;
==Astronomy, Astrophysics, Astrometry, Astrodynamics, AAAA==&lt;br /&gt;
===I Like to Watch===&lt;br /&gt;
====Challenge Info====&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
We&amp;#039;ve captured data from a satellite that shows a flag located at the base of the Washington Monument.&lt;br /&gt;
The image was taken on March 26th, 2020, at 21:54:29&lt;br /&gt;
The satellite we used was:&lt;br /&gt;
&lt;br /&gt;
REDACT&lt;br /&gt;
1 13337U 98067A   20087.38052801 -.00000452  00000-0  00000+0 0  9995&lt;br /&gt;
2 13337  51.6460  33.2488 0005270  61.9928  83.3154 15.48919755219337&lt;br /&gt;
&lt;br /&gt;
Use a Google Earth Pro KML file to &amp;#039;Link&amp;#039; to http://18.191.77.141:6723/cgi-bin/HSCKML.py&lt;br /&gt;
and &amp;#039;LookAt&amp;#039; that spot from where the satellite when it took the photo and get us that flag!&amp;lt;/pre&amp;gt;&lt;br /&gt;
====Notes====&lt;br /&gt;
* TLE Coordinates&lt;br /&gt;
* Need [https://static.2020.hackasat.com/a5c679be9509cfdf096add229e84422124804d3a/example.zip this file]&lt;br /&gt;
* Need to use Skyfield for Python &lt;br /&gt;
* Washington Monument is at -77.03527 Longitude and 38.88948 Latitude&lt;br /&gt;
&lt;br /&gt;
====Scripts====&lt;br /&gt;
* Get Satellite Location at Time&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
from skyfield.api import EarthSatellite, load&lt;br /&gt;
&lt;br /&gt;
ts = load.timescale()&lt;br /&gt;
line1 = &amp;quot;1 13337U 98067A   20087.38052801 -.00000452  00000-0  00000+0 0  9995&amp;quot;&lt;br /&gt;
line2 = &amp;quot;2 13337  51.6460  33.2488 0005270  61.9928  83.3154 15.48919755219337&amp;quot;&lt;br /&gt;
satellite = EarthSatellite(line1, line2, &amp;#039;REDACT&amp;#039;, ts)&lt;br /&gt;
&lt;br /&gt;
t = ts.utc(2020, 3, 26, 21, 54, 29)&lt;br /&gt;
geocentric = satellite.at(t)&lt;br /&gt;
print(geocentric.position.km)&lt;br /&gt;
&lt;br /&gt;
subpoint = geocentric.subpoint()&lt;br /&gt;
print(&amp;#039;Latitude:&amp;#039;, subpoint.latitude)&lt;br /&gt;
print(&amp;#039;Longitude:&amp;#039;, subpoint.longitude)&lt;br /&gt;
print(&amp;#039;Elevation (m):&amp;#039;, int(subpoint.elevation.m))&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* Something&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
from skyfield.api import EarthSatellite, Topos, load&lt;br /&gt;
&lt;br /&gt;
ts = load.timescale()&lt;br /&gt;
t = ts.utc(2020, 3, 26, 21, 54, 29)&lt;br /&gt;
&lt;br /&gt;
line1 = &amp;quot;1 13337U 98067A   20087.38052801 -.00000452  00000-0  00000+0 0  9995&amp;quot;&lt;br /&gt;
line2 = &amp;quot;2 13337  51.6460  33.2488 0005270  61.9928  83.3154 15.48919755219337&amp;quot;&lt;br /&gt;
&lt;br /&gt;
monument = Topos(latitude=&amp;#039;38.8894 N&amp;#039;, longitude=&amp;#039;77.0352 W&amp;#039;)&lt;br /&gt;
satellite = EarthSatellite(line1, line2, name=&amp;#039;REDACT&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
geometry = satellite.at(t)&lt;br /&gt;
&lt;br /&gt;
subpoint = geometry.subpoint()&lt;br /&gt;
latitude = subpoint.latitude&lt;br /&gt;
longitude = subpoint.longitude&lt;br /&gt;
elevation = subpoint.elevation&lt;br /&gt;
&lt;br /&gt;
difference = satellite - monument&lt;br /&gt;
geometry = difference.at(t)&lt;br /&gt;
&lt;br /&gt;
print(difference)&lt;br /&gt;
print(&amp;#039;--------------&amp;#039;)&lt;br /&gt;
&lt;br /&gt;
alt, az, distance = geometry.altaz()&lt;br /&gt;
print(&amp;#039;alt: &amp;#039;, alt)&lt;br /&gt;
print(&amp;#039;az: &amp;#039;, az)&lt;br /&gt;
print(int(distance.m), &amp;#039;m&amp;#039;)&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
====References====&lt;br /&gt;
* https://developers.google.com/kml/documentation/cameras&lt;br /&gt;
* https://rhodesmill.org/skyfield/earth-satellites.html&lt;br /&gt;
* https://rhodesmill.org/skyfield/positions.html&lt;br /&gt;
&lt;br /&gt;
=Resources=&lt;br /&gt;
[https://github.com/deptofdefense/hack-a-sat-library HAS Resources]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:CTF Notes]]&lt;/div&gt;</summary>
		<author><name>Encryptid</name></author>
	</entry>
</feed>