Skip to content

False detection of local machine as 'Microsoft Azure' #2

Description

@kholia

Logs from a local laptop:

$ wget http://169.254.169.254/metadata/v1/InstanceInfo
--2024-09-28 12:56:11--  http://169.254.169.254/metadata/v1/InstanceInfo
Connecting to 169.254.169.254:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: unspecified [text/html]
Saving to: ‘InstanceInfo’

InstanceInfo                                     [ <=>                                                                                           ]     455  --.-KB/s    in 0s      

2024-09-28 12:56:11 (1.54 MB/s) - ‘InstanceInfo’ saved [455]
$ cat InstanceInfo 
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
<meta content="no-cache" http-equiv="Pragma" />
<title>Waiting...</title>
<script type="text/javascript">
var pageName = '/';
top.location.replace(pageName);
</script>
</head>
<body> </body>
</html>

We need to validate the InstanceInfo data more it seems.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions