diff options
| author | spv <spv@spv.sh> | 2025-07-28 21:06:08 -0400 |
|---|---|---|
| committer | spv <spv@spv.sh> | 2025-07-28 21:06:08 -0400 |
| commit | c5aa5e006492825548a6d07b50ee401170cd2469 (patch) | |
| tree | 40193630c2f7b529e5e695ce755c683c0419bd51 | |
optracker9000 activate
| -rw-r--r-- | .gitignore | 4 | ||||
| -rw-r--r-- | README | 13 | ||||
| -rw-r--r-- | src/log_shit.py | 21 |
3 files changed, 38 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..f493e93 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +*.log +*.swp + +.ignore @@ -0,0 +1,13 @@ +# gps_hax + +the basic idea is this. log gps coords over time, as well as radio receiver +power -- or similar, signal strength works too -- and weigh each coordinate by +their wattage / db. + +with real-time display, this may be capable of locating specific nearby +cellular, wifi, and bluetooth traffic, as well as any other general radio use. + +other methods involving power transmission, while *theoretically* doable, may +not be in practice. + +gpl2 baby
\ No newline at end of file diff --git a/src/log_shit.py b/src/log_shit.py new file mode 100644 index 0000000..ef2b633 --- /dev/null +++ b/src/log_shit.py @@ -0,0 +1,21 @@ +#!/usr/bin/env python3 + +import sys, time + +try: + log_file = sys.argv[1] + how_often = float(sys.argv[2]) + time_to_do_it = float(sys.argv[3]) +except: + print("rtfc :P") + sys.exit(-1) + +try: + f = open(log_file, "w") +except: + print("fake file.") + sys.exit(-1) + +print("file: %s\n\ +how often: %f\n\ +how long: %f" % (log_file, how_often, time_to_do_it))
\ No newline at end of file |
