home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.internet.wireless      Fun with wireless Internet access      55,960 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 55,779 of 55,960   
   Marian to Frank Slootweg   
   Re: Discussion: How to set up your mobil   
   10 Dec 25 14:20:32   
   
   XPost: misc.phone.mobile.iphone, alt.comp.os.windows-10, comp.mobile.android   
   From: marianjones@helpfulpeople.com   
      
   Frank Slootweg wrote:   
   > and hence his BSSID is him.   
      
   Your IQ is too low to understand that "tracking" is just running the script   
   a few times. It's shocking that I have to explain something that trivial.   
      
   Here's a wrapper to track the moving location of any given set of BSSIDs.   
   This is a permanent record a malefactor can sell over & over to bad guys.   
      
   # bssid.py   
   import sys   
   import time   
      
   # Example "BSSID database" with changing locations   
   bssid_database = {   
       "AA:BB:CC:11:22:33": [   
           {"name": "BSSID", "location": "GPS A"},   
           {"name": "BSSID", "location": "GPS B"},   
           {"name": "BSSID", "location": "GPS C"},   
       ]   
   }   
      
   def lookup_bssid(bssid_id, step):   
       # simulate movement by returning different locations over time   
       if bssid_id in bssid_database and step < len(bssid_database[bssid_id]):   
           return bssid_database[bssid_id][step]   
       return None   
      
   def main():   
       bssid_ids = sys.argv[1:]   
       log = []   
      
       # open a log file for writing   
       with open("bssid_log.txt", "w") as logfile:   
           for step in range(3):  # simulate 3 queries over time   
               timestamp = time.strftime("%Y-%m-%d %H:%M:%S")   
               for bssid_id in bssid_ids:   
                   result = lookup_bssid(bssid_id, step)   
                   if result:   
                       entry = {"id": bssid_id, "time": timestamp, "location":   
   result["location"]}   
                       log.append(entry)   
                       line = f"[{timestamp}] Found {result['name']} at   
   {result['location']}\n"   
                       print(line.strip())   
                       logfile.write(line)   
                   else:   
                       line = f"[{timestamp}] bssid {bssid_id} not found\n"   
                       print(line.strip())   
                       logfile.write(line)   
               time.sleep(1)  # pause to simulate time passing   
      
           # Diff successive locations   
           logfile.write("\n--- Movement Diff ---\n")   
           print("\n--- Movement Diff ---")   
           for bssid_id in bssid_ids:   
               locations = [entry["location"] for entry in log if entry["id"]   
   == bssid_id]   
               for i in range(1, len(locations)):   
                   if locations[i] != locations[i-1]:   
                       diff_line = f"{bssid_id} moved from {locations[i-1]} to   
   {locations[i]}\n"   
                       print(diff_line.strip())   
                       logfile.write(diff_line)   
      
   if __name__ == "__main__":   
       main()   
      
      
   I don't own the people skills to explain to people like Chris and Frank   
   Slootweg that the fact I don't feel like tracking people does NOT mean it   
   can't be done.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca