What Is My IP?

I needed a quick way to find my IP without using Telnet so I added https://mcgrane.co.uk/ip to my site. Here’s the ASP Classic  code because I was feeling nostalgic.

<%@Language="VBScript"%>
<%
If Request.QueryString("debug") = "1" Then
  Response.Write("<pre>")
  For Each x in Request.ServerVariables
    Response.Write(X & " = " & Request.ServerVariables(X) & vbCrLf)
  Next
  Response.Write("</pre>")
Else
  If Len(Request.ServerVariables("HTTP_X_FORWARDED_FOR")) = 0 Then
    Response.Write Request.ServerVariables("REMOTE_ADDR")
  Else
    Response.Write Request.ServerVariables("HTTP_X_FORWARDED_FOR")
  End If
End If
%>

 

 

Microsoft Edge hmm we can’t reach this page

Microsoft Edge, the new name for (or replacement to) Internet Explorer, has a bug where it may not be possible to browse any websites unless you are connected to a ‘Private’ network.

Changing the network location has traditionally been very difficult but Windows 10 includes an easy way of doing this. In the control panel look for Home Group and choose to search for other machines on the network and allow yours to be discoverable. Now Edge will work

Source: tinkertry.com

Voice Attack Notes for Elite Dangerous

I’ve been playing Elite Dangerous and wanted a way to quickly make notes with Voice Attack so created a quick test which seems to work for brief information such as trade values. This only supports making one note but could be expanded into a relatively simple menu system if you wanted to or, with a plugin, a comprehensive library of notes.

This is a screenshot of the test profile but if you’d like to download my full, but sparse, Elite Dangerous VA profile which includes the note function you can do so here but NOTE while I’ve set the note sounds to use Windows defaults the other commands play sounds from the VA sounds directory that you may not have so you’ll want to either replace that part of each command or delete it. The sounds I’m using are from TrekCore.com

Things To Do In Your City

Here’s a list of things you could do in your city. Some may not apply to your particular locale for whatever reason but this is just a list I thought up while bored and have been adding to.

 

  • Go-Karting
  • Archery
  • LASER Quest / Paint Ball / Air Soft
  • Bowling
  • Ice Skating
  • Swimming
  • Badminton
  • Watch or play;
    • Tennis
    • Football
    • Cinema
    • Ice Hockey
  • Go to a show at the theatre
  • Walk Around the Town
  • Ingress Missions
  • Visit an Art Gallery
  • Visit a Theme Park
  • Visit a Nearby Castle or Old Building
  • Visit Nearby Caves
  • Visit a Large Shop Such as Ikea and Plan Home Improvements
  • Scuba Lesson
  • Jetski Lesson
  • Kayaking
  • Volunteer at Your Nearest Forestry
  • Evening Classes (Pottery, Creative Writing, Language Studies, etc…)
  • Go to the Gym
  • Join a Social Club (Search on Google for ‘MyCityName social club’)

Missing Apps on OnePlus or Cyanogen

When apps go missing but you know they’re installed it could be because you’ve set them to ‘protected’ which is a feature of Cyanogen. To get them back, tap options while on the home screen then the three dots above ‘widgets’ and tap Protected apps (highlighted here in yellow):

This may present you with an authentication challenge such as a pattern or pin code, enter whatever code you may have set to get past it. Once at the app list you can scroll through and untick the apps that have become hidden so they appear in your regular app list again.

This can be a very useful feature, especially if you occasionally share your phone with people and don’t want them accessing certain apps such as online banking. For example, if you wanted to lock out specific Google apps only you can get to them, you could group the icons on your home screen and protect the entire group in one go by tapping the padlock (highlighted here in yellow).

Remove Search Bar in OnePlus or Cyanogen

To remove the Google search bar at the top of your home screen tap the options button while at the desktop and select the three dots above “widgets” then turn Search Bar off (highlighted here in yellow).

The OnePlus uses Cyanogen so this should be the same for any device that also has the same OS version.

Delete Xamarin Bonjour Service After Uninstalling Xamarin

The Bonjour service is an Apple product used by several applications to discover other devices on the network. It seems to be useful if you use Apple products but it became a problem when I uninstalled Xamarin and found Bonjour was throwing errors into Event Viewer. The service was not removed by uninstalling Xamarin through Programs and Features so I did the following:
  1. Open command prompt as administrator
  2. Confirm Bonjour is installed, whether running or not, by typing: sc query state= all | find “Xamarin”
  3. Once you have the SERVICE_NAME, which should be “Bonjour Service” type: sc delete “Bonjour Service”
  4. Finally, navigate to %PROGRAMFILES% and delete the Xamarin directory

Find Out IP Using Telnet

I found a useful service on http://www.blindhog.net/identify-your-public-ip-address-with-telnet/ and thought I’d like to have a go at making something myself. So, now you can telnet to mcgrane.uk and it’ll tell you what your IP is.

Example:

telnet mcgrane.uk

Response:

Your IP is 127.0.0.1

This can be useful in conditions where I want to know which ISP a server is using but cannot use a web browser to go to http://www.whatismyip.com. I’ve added a rate limit so repeated connections within 10 seconds of the last will cause the IP to be temporarily banned.

Windows Server Backup

Windows Server Backup doesn’t work on 2012 R2. In various setups, which you can read by seaching Google, it fails over and over again with vague error messages. Essentially, the backup software is buggy and should never have been released in it’s current state so if you’re trying to take full images of your servers you’ll need to use something better.

I have used StorageCraft’s ShadowProtect on my VMs successfully for over a year now and while the licensing is going to cost you upwards of £1000 for a sizeable server room it is well worth the cost.

ScanMyServer Security Tests

I’ve been looking at server security, testing things on my own web server, and recently found a company called Beyond Security who do free site testing. It looks like they go pretty in-depth with their automated checks and they give you this seal (which doesn’t always seem to load so it might look like a blank space):

Vulnerability Scanner

Their site is a bit flakey and the report you see when you click the seal as a website visitor doesn’t really reflect anything but as the site owner you get a detailed list of potential vulnerabilities.

Proudly powered by WordPress | Theme: Baskerville 2 by Anders Noren.

Up ↑