|
Jeremy Falcon wrote: You mean access the backend or public site? I'm willing to bet you're not the only one that can access the public site.
a: I've got access to cPanel, WP, and a login for the site. I didn't want it, but I've got it.
b: That was one of the most frustrating things. There was nothing wrong with the site, they were just being blocked. It's like helping your neighbor change a tire and afterwards the car won't start...it must be something you did right? It was working fine until you messed with it...makes me want to put the flat back on.
Anyway, within a few hours the mystery error went away...and I've just seen an email from the site owner with a new list of problems.
I'm still confused about the whole thing though and I hate not understanding what caused it. Here is the exact code that showed up in their browsers. There's really not too much here to search on, but maybe you can understand/decipher that east/west stuff.
<!doctype html>
<html>
<head>
<meta charset="utf-8″>
<meta name="robots" content="noindex, nofollow">
<title>One moment, please…</title>
<style>
body {
background: #F6F7F8;
color: #303131;
font-family: sans-serif;
margin-top: 45vh;
text-align: center;
}
</style>
</head>
<body>
<h1>Please wait while your request is being verified…</h1>
<form id="wsidchk-form" style="display:none;" action="/z0f76a1d14fd21a8fb5fd0d03e0fdc3d3cedae52f" method="get">
<input type="hidden" id="wsidchk" name="wsidchk"/>
</form>
<script>
(function(){
var west=+((+!+[]+!![]+!![]+!![]+!![])+(+!+[]+!![]+[])+(+![])+(+!+[]+!![]+!![]+!![]+!![]+!![]+!![]+[])+(+![])+(+!+[]+[])+(+!+[]+!![]+!![]+!![]+!![]+!![])),
east=+((+!+[])+(+!+[]+!![]+[])+(+![])+(+!+[]+!![]+!![]+[])+(+!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![])+(+!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+[])+(+!+[]+!![]+!![]+!![]+!![])+(+!+[]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+!![]+[])),
x=function(){try{return !!window.addEventListener;}catch(e){return !!0;} },
y=function(y,z){x() ? document.addEventListener("DOMContentLoaded",y,z) : document.attachEvent("onreadystatechange",y);};
y(function(){
document.getElementById(‘wsidchk’).value = west + east;
document.getElementById(‘wsidchk-form’).submit();
}, false);
})();
</script>
</body>
</html>
"Go forth into the source" - Neal Morse
"Hope is contagious"
|
|
|
|
|
kmoorevs wrote: Anyway, within a few hours the mystery error went away...and I've just seen an email from the site owner with a new list of problems. Give him a bill rate man. As long as you work for free, those requests will never stop.
kmoorevs wrote: There's really not too much here to search on, but maybe you can understand/decipher that east/west stuff. The dev that wrote this is a rookie. He/she obfuscated poorly and in doing so made the script larger. Guessing they tried to hide an account ID that never should've been on the client to begin with. Who knows.
Here's the unobfuscated version with the IIFE removed for clarity and cleaned up. There's no east variable and I would be shocked if there was an element id of wsidchk - form .
<script>
var west = 12038859;
var x = function(callback) {
if (window.addEventListener)
document.addEventListener("DOMContentLoaded", callback, false);
else
document.attachEvent("onreadystatechange", callback);
};
x(function() {
document.getElementById('wsidchk').value = west + east;
document.getElementById('wsidchk - form').submit();
});
</script>
Jeremy Falcon
|
|
|
|
|
I'll admit I have a lot of reading to catch up with to reach the level of understanding about networks that I'd like to have. Well, specifically, subnetting.
After some going back and forth with ChatGPT for about half an hour (trying to get it to rephrase its answers to try to show it that previous answers were clearly wrong), I've only managed to become less certain about many things, but I'm hoping I've at least come to one correct conclusion:
I want the valid IP range on my home network to be restricted to 192.168.X.Y, where X ranges from 1 through 31, and Y ranges from 1 through 254 (with the understanding that, for all intents and purposes, you never directly assign [whatever].0 or [whatever].255 to a device).
So, the subnet I should be using is 255.255.224.0 (so for the third octet I could use everything between 1 through 31).
What I haven't been able to get out of ChatGPT is whether a machine configured with an IP between 192.168.32.1 and 192.168.255.254 would fail to reach the rest of the systems on 192.168.[1-31].[1-254]. It sounds right to me, but until I try, I'm just guessing.
Generally, I configure all of my systems with a static IPv4 address. And I want all systems within my network to be able to see each other, just to keep things simple.
Am I right at least so far, with that subnet of 255.255.224.0?
Further discussion:
The idea is - for the third octet - the 255 devices under "1" would be my physical machines. My laptops would be under "2". Printers under "3". My first VM host would be at 10 (192.168.10.1). VMs it hosts would be 192.168.10.2 through .254. My second VM host would be 192.168.11.1; its VMs would range from 192.168.11.2 through 254, etc.
Of course that leaves some big gaps within each range, but it does keep things organized (at least in my mind it does). I'm no network admin; do people segregate things this way?
|
|
|
|
|
dandy72 wrote: do people segregate things this way?
No, it is overkill. If the number of hosts is under 255, and I suspect for a home network this is the case, You can just use a traditional netmask like 255.255.255.0. If you want to "organize" hosts you can still do something like 1 to 30 computers; 40 to 100 VMs; printers, something else.
If you set a netmask like you want 255.255.224.0, that is also, ok but it's not going to exclude the hosts with 0 and 255. So a host like 192.168.2.0 is perfectly acceptable Only the end for the range is going to be treated differently: the 192.168.31.255 is going to be the broadcast address for your network.
Sub-netting is usually done for the exact opposite of your reason: when you want hosts not to be visible outside their own sub-nets.
More thoughts:
- set up a DHCP server for random things that land on your network (phones, friends, etc.). Give it a range distinct from your fixed hosts.
- set up a DNS server and give meaningful names to your devices instead of relying on IP addresses.
I'm using a RPi for both the DNS and DHCP server. It is more than enough for my needs.
Mircea
|
|
|
|
|
Some good thoughts in there, thanks for that.
I probably do have less than 255 devices (VMs included), but if I want set ranges within a total max of 255 entries, it won't be long before I run out of space and just go back to having to find a gap somewhere, and it'll be ad-hoc again.
I didn't bring DHCP into the discussion just to keep it simple. I do want to let my router assign (say) .1 through .25 for random devices that show up, but stick with static IPs for everything else that should "always be present".
|
|
|
|
|
Start thinking about subnet as a single number, such as 24 for 255.255.255.0. This makes your life easier, when working with subnets, not equal to 24 and 16.
|
|
|
|
|
Not dissing Chris, but the stupidity of Microsoft never ceases to enrage and mystify me. Most companies are started from enraged employees/customers that know they can do it better, and they do... anyway...
So, let's talk Windows 11 and the bs that MS blows our way for UI improvements. Rounded icons, ads in the startup bar, ever invasive AI, yada yada. Well I work on a laptop 99% of the time. I'm not that mobile, I just like the size. I have Windows 10 and 11 on multiple machines. Today all I wanted to do on my Windows 11 laptop was to turn off the touchpad when a mouse was connected. It's a fairly common thing users want to do.
So, where do I find it? The setting is hidden under a drop down bar where you just have to be intuitive/desperate enough to keep clicking. Help is useless, and most of the doc on Windows 11 trails the ui... what a steaming pile of debris.
Charlie Gilley
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
Has never been more appropriate.
|
|
|
|
|
Windows 11 needs a massive, massive cleanout. The full Marie Kondo treatment.
The update UI that wraps the older UI that wraps the win 10 UI which wraps the Win7 UI which wraps the Win95 has, I feel, reached the tipping point of collapse. Just right click on the desktop and then select "Show more options" as Exhibit A that the UX Product Manager just gave up. Removing quick tasks from the contect menu of taskbar icons was their way of saying "I hate the World".
cheers
Chris Maunder
|
|
|
|
|
What I find amusing is when I use programs that draws client window frames using the Win7 UI style. I would prefer they go back to the XP or W7 UI style because I detest the phone-style UI they use currently.
"They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"
|
|
|
|
|
charlieg wrote: ads in the startup bar The worse the economy gets the more prevalent this will become. The big wigs know something the average person refuses to believe as they get brainwashed by TV.
But, you know... happy hump day.
Jeremy Falcon
|
|
|
|
|
"happy hump day"
that used to mean some nsfw different to me, but then I got older.
Charlie Gilley
“They who can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety.” BF, 1759
Has never been more appropriate.
|
|
|
|
|
If memory serves "Hump Day" was Wednesday many moons ago.
But I agree: "The worse the economy gets the more prevalent this will become."
When technology doesn't get it right, cutting corners is one of the causes.
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
I agree with you but this also has a lot to do with the deteriorating quality of young professionals who work at the big vendors.
Many documents have been written in the past few years reporting on how younger people are coming out of university with an overblown sense of entitlement while really having nothing to do offer in terms of critical thinking skills and technical intelligence.
Many professionals are seeing this with the increasing mess in web development products that has been made possible by the radical decoupling of components from more centralized processes (ie: ASP.NET WebForms), which may not have been the most efficient but were easier to learn, easier to compartmentalize, and made for better project estimates.
Now what do we have? A entire sundry of tools, tool-sets, and frameworks that increasingly rely on more arcane and ambiguous syntax that together is enough to drive one to drink.
This is why the PHP language is still holding its own in the web arena...
We also have the deteriorating quality of decision making at Microsoft, which I knew would happen under Nadella's leadership.
I have worked with quite a few Indian managers during my career, and though technically capable they are arrogant, and have little capability in big-picture strategies, relying on a just a "get it done" attitude while attempting to cut costs at the same time. This is also why you rarely see top quality and innovative software products coming out of India.
The time is coming where if Microsoft keeps on turning everything into varying levels of rocket science for its products, which is hardly required for what a lot of us need to do, another company will eventually move into Microsoft's declining space.
For example, does anyone really need to use SQL Server any longer when we have the MySQL and PostgreSQL database engines, both of which have large support communities as well as direct technical support.
Without Windows, Microsoft would be nowhere, and with the sagging influence of cloud computing, Nadella's original goals are starting to get a black eye from which he may never recover.
Still, I prefer using Windows to Linux. But if necessary, will make the switch when the time comes...
Steve Naidamast
Sr. Software Engineer
Black Falcon Software, Inc.
blackfalconsoftware@outlook.com
|
|
|
|
|
charlieg wrote: ads in the startup bar
I haven't made the jump to 11, but I know it'll happen. Has nobody yet figured out what IP(s) can be safely blocked to prevent those from being downloaded in the first place, without breaking the rest of the OS?
|
|
|
|
|
I am about ready to put microsoft.com in my HOSTS file to have it blocked. I am certain that will have some interesting fallout.
"They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"
|
|
|
|
|
Wait until you read about their plans for W12. YIKES!
"They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"
|
|
|
|
|
And their plans for Recall[^] which really make you want to "get your ass to Mars".
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Richard Deeming wrote: And their plans for Recall[^] which really make you want to "get your ass to Mars". What worse... Microsoft (Pest) or Musk (Cholera)?
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
On my laptops (MSI and Gigabyte) there is a key combination that does that. Something like Fn+F3 or another function key.
"They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"
|
|
|
|
|
Microsoft's choices over the last several years are appalling. Windows 11's UI changes are awful, and the injection of ads everywhere is worse. This latest upcoming "Recall" feature that will chew up your disk space for no discernable benefit and huge privacy drawbacks has put me over the edge. I've been talking for years about switching to MacOs for my daily driver, and this week Microsoft convinced me that was the right choice. I can't completely escape Windows - I support applications for Windows servers, but MY main computer will not be Windows moving forward.
--Avonelle
|
|
|
|
|
I've been using Windows 10 on an iMac for years with a secondary monitor. This year I've switched to macOS as my main dev system on the iMac, and the other screen is used for my win11, Ubuntu, Debian or mac mini machine. Lots of juggling.
I'm working on the iMac on one file, and on the mac mini on the same file, but a different version. I was wishing I could just copy from one to the other, but they are on different machines. Then, without thinking, I copied some text, dragged the cursor from one screen to the other, and then pasted.
I totally forgot about macOS Universal control. It was so intuitive I wasn't even aware of what I was doing: it just worked the way I expected it to (but had I thought about it, I would have not expected it to work).
I love UI/UX like that. It's like the perfect butler: they are there before you even realise you need them, and then step back once the job is done. But without the whole moral issues thing and all that.
I wish we all had the time and resources and mental space to write software that worked like this.
cheers
Chris Maunder
|
|
|
|
|
Chris Maunder wrote: I wish we all had the time and resources and mental space to write software that worked like this. It's been my experience that companies will spend hundreds of thousands so people can argue over a text box for months and call that innovation.
Jeremy Falcon
|
|
|
|
|
Or spend millions in court aguing over ownership of the shape of a corner!
|
|
|
|
|
Chris Maunder wrote: I was wishing I could just copy from one to the other, but they are on different machines. Then, without thinking, I copied some text, dragged the cursor from one screen to the other, and then pasted. It came with the Logitech mouse drivers, maybe four or five years ago. I never worked with "i" stuff, but if I remember the documentation right, it worked across OSes.
I never saw a standard protocol for cut & paste across internet - maybe it exists, maybe it even existed then. Most likely, Logitech devised its proprietary cut & paste protocol between its drivers. They are just talking to themselves, need not relate to other mice or OSes (except that the mouse driver will have to know how to do both copy and paste on the local system - but if you write a driver for an OS, you are likely to know that!), so there really isn't that much need for a world standard protocol.
Religious freedom is the freedom to say that two plus two make five.
|
|
|
|
|
Sort of like Synergy? Synergy - Share one mouse & keyboard across computers Although that's sort of the other way around, perhaps being best described as a software KVM switch, that allowed you to cut & paste between systems. Maybe drag-and-drop, too. It's been a long time since I used it, but your description of rang a bell for me. So, if you're looking for something to do this, and you have windows/mac/linux systems, it might be a solution for you.
"A little song, a little dance, a little seltzer down your pants"
Chuckles the clown
|
|
|
|
|