Specifically U+2019 RIGHT SINGLE QUOTATION MARK, which is considered the correct way to represent a typographically apostrophe as well as a closing single quote. The straight "typewriter" apostrope should look normal, as it has an identical representation in ASCII and UTF-8.
And this isn't specifically a PHP problem - it happens whenever text encoded with UTF-8 is decoded with Windows code page 1252. The most common reason for this to happen is that you wrote text for your web page in a modern editor, so it's in UTF-8, but you forgot to declare a character encoding, so for historical reasons, the browser defaults to decoding it as Windows-1252.
(Alternatively, you might have one of the rare pages that's actually in Windows–1252, and declares that, but then you pull some text from a DB or whatever and don't properly consider whether it needs converting.)
This worries me from time to time. There's plenty of backup software around these days which assumes I don't trust the server. Not enough that assumes I trust the server more than the client!
I know I could set Borg to append-only mode, but this is rather inconvenient because I do need old archives to be deleted eventually. To me, the server component of the ideal backup system would enforce the retention policy server-side, either by automatically scheduling deletion of old archives or by offering the client a deletion API that protects certain archives.
Does anybody know of a system which does something like this? I'm open to somehow configuring/scripting Borg to do the right thing, or moving to anything that's free software and either incremental or deduplicating.
(I know that, in practice, ransomware is most likely to simply go through SMB shares, and not try to use my SSH key to mess with Borg. However, security through obscurity is not a principle on which I wish to rely.)
If they are SMR, are there any other downsides except the low transfer speeds? I honestly don't care about speed.
Are you sure you don't care about speed under any circumstances?
The thing with SMR drives is not that they perform like older or lower-spec CMR drives; it's that under certain specific circumstances they can perform extremely badly. Like, stuck writing single-digit Mb/s for a lengthy period bad.
If that's genuinely not a problem, they should be fine. There's some data suggesting they're not as reliable as CMR, but one shouldn't trust any hard drive anyway.
Is this just a list of things that are available, or the things you're actually using?
As somebody who uses darktable and hasn't properly tried RawTherapee, I'm curious as to what roles they would respectively fill for somebody who uses both.
Modern CPUs don't really burn out from bad cooling - they just throttle. If you want to known whether cooling is limiting your performance, you could monitor temperatures while doing whatever the most intensive task you do is.
There really aren't a lot of options for 32-bit PowerPC machines at this point. Debian, which is usually a good option for keeping old hardware alive, dropped support in 2017.
I think, for major distros, you've basically just got Gentoo (using a modern computer to help with compilation), but expect problems because it's got relatively few people testing it.
Unfortunately, some modern websites use quite a lot more RAM than they really ought to, so you may need to temper your expectations a little on that front.
The snippet you pasted decodes its payload using base64, a standard scheme for transmitting binary data over text-only channels which is widely used on the web. It then decompresses it before executing it.
It is safe to decode and decompress this as long as you do not eval() it. If you need to know what it says, echo the string instead of using eval. It should print php code. I'm on mobile so can't easily do this myself.
On the wider problem: frankly, you should simply delete the system and start with a fresh install. Somebody has had complete control of the account and it is impossible to list all of the different places they could have hidden things.
If you can document what the system is supposed to do and reconstruct it without using any of files from the compromised server, thst would be best. If you have to use config files or, heaven forbid, programs that exists only on the compromised server, then take only what is necessary and read it in its entirety to check that it all still does what you think it does.
I have 0 experience with Exim, in fact I’m now just hearing about it for the first time.
It's only a default, you can replace it with like Postfix or whatever quite easily.
Looking through the documentation it seems what I should be doing is add an accept router and set that router’s transport to a pipe transport I define which in turn can call my script? Will adding a router like that prevent the mail from being delivered? I don’t want to lose any mail in case my script/notification service is down, can a router handle the mail but then also indicate Exim should handle it as well?
I'm sure what you're asking is possible, as Exim is very configurable. It's a bit out of my depth, though. I more or less just did this on my NAS, and then set a couple of aliases to get stuff forwarded to my "real" inbox.
I would guess that one could use a filter to send to two "addresses", one which uses standard local delivery and one which uses the pipe transport. But that is a guess.
Losing mail by doing this shouldn't be a concern, though. Have a look at "2. Returned status and data". Your script can indicate that Exim should try again later, just like it would if a remote SMTP server was temporarily unavailable.
There's also network boot, although this requires a somewhat fiddly setup on another machine. You can boot from an SD card on some laptops, or on any PC if you have a USB SD reader. If you have a CD drive, you can still use that. You can even remove the hard drive from your computer, connect it to another Linux computer, install Linux, then put it back.
Terminals usually don't grab that, as applications running in the terminal might want to use it. Paste will usually be available on a different shortcut though. Does Mint's terminal support Shift+Insert?
The comment you just replied to does not say that you're asking in the wrong place. It says that you haven't provided enough detail.
Are you able to say what the GPL program you're working with is, and what sort of results you're talking about?
Are these "results" some sort of source code? In most cases, neither MIT nor GPL are sensible licences for a database.
A light echo is not quite a shockwave.
Specifically U+2019 RIGHT SINGLE QUOTATION MARK, which is considered the correct way to represent a typographically apostrophe as well as a closing single quote. The straight "typewriter" apostrope should look normal, as it has an identical representation in ASCII and UTF-8.
And this isn't specifically a PHP problem - it happens whenever text encoded with UTF-8 is decoded with Windows code page 1252. The most common reason for this to happen is that you wrote text for your web page in a modern editor, so it's in UTF-8, but you forgot to declare a character encoding, so for historical reasons, the browser defaults to decoding it as Windows-1252.
(Alternatively, you might have one of the rare pages that's actually in Windows–1252, and declares that, but then you pull some text from a DB or whatever and don't properly consider whether it needs converting.)
This worries me from time to time. There's plenty of backup software around these days which assumes I don't trust the server. Not enough that assumes I trust the server more than the client!
I know I could set Borg to append-only mode, but this is rather inconvenient because I do need old archives to be deleted eventually. To me, the server component of the ideal backup system would enforce the retention policy server-side, either by automatically scheduling deletion of old archives or by offering the client a deletion API that protects certain archives.
Does anybody know of a system which does something like this? I'm open to somehow configuring/scripting Borg to do the right thing, or moving to anything that's free software and either incremental or deduplicating.
(I know that, in practice, ransomware is most likely to simply go through SMB shares, and not try to use my SSH key to mess with Borg. However, security through obscurity is not a principle on which I wish to rely.)
Are you sure you don't care about speed under any circumstances?
The thing with SMR drives is not that they perform like older or lower-spec CMR drives; it's that under certain specific circumstances they can perform extremely badly. Like, stuck writing single-digit Mb/s for a lengthy period bad.
If that's genuinely not a problem, they should be fine. There's some data suggesting they're not as reliable as CMR, but one shouldn't trust any hard drive anyway.
Thank you
Different user.
WTF dude
Is this just a list of things that are available, or the things you're actually using?
As somebody who uses darktable and hasn't properly tried RawTherapee, I'm curious as to what roles they would respectively fill for somebody who uses both.
If you make the ISO in the recommended way, does it still go to a black screen?
Also, do you have an nvidia?
How did you prepare the USB stick?
No, we do not get it.
Probably fine.
Modern CPUs don't really burn out from bad cooling - they just throttle. If you want to known whether cooling is limiting your performance, you could monitor temperatures while doing whatever the most intensive task you do is.
If the system is set up for it, you can use your username and password for remote file access.
(However, if it's over SMB then the password actually has to be set separately.)
There really aren't a lot of options for 32-bit PowerPC machines at this point. Debian, which is usually a good option for keeping old hardware alive, dropped support in 2017.
I think, for major distros, you've basically just got Gentoo (using a modern computer to help with compilation), but expect problems because it's got relatively few people testing it.
Unfortunately, some modern websites use quite a lot more RAM than they really ought to, so you may need to temper your expectations a little on that front.
Debian has a lot of mirrors donated by universities and hosting providers, as well as a CDN sponsored by Fastly.
Its not "encrypted" as such. Just obfuscated.
The snippet you pasted decodes its payload using base64, a standard scheme for transmitting binary data over text-only channels which is widely used on the web. It then decompresses it before executing it.
It is safe to decode and decompress this as long as you do not
eval()it. If you need to know what it says, echo the string instead of using eval. It should print php code. I'm on mobile so can't easily do this myself.On the wider problem: frankly, you should simply delete the system and start with a fresh install. Somebody has had complete control of the account and it is impossible to list all of the different places they could have hidden things.
If you can document what the system is supposed to do and reconstruct it without using any of files from the compromised server, thst would be best. If you have to use config files or, heaven forbid, programs that exists only on the compromised server, then take only what is necessary and read it in its entirety to check that it all still does what you think it does.
It looks like maybe like that already supports SMTP? If so, that's likely to be a more ergonomic interface for emails.
It's only a default, you can replace it with like Postfix or whatever quite easily.
I'm sure what you're asking is possible, as Exim is very configurable. It's a bit out of my depth, though. I more or less just did this on my NAS, and then set a couple of aliases to get stuff forwarded to my "real" inbox.
I would guess that one could use a filter to send to two "addresses", one which uses standard local delivery and one which uses the pipe transport. But that is a guess.
Losing mail by doing this shouldn't be a concern, though. Have a look at "2. Returned status and data". Your script can indicate that Exim should try again later, just like it would if a remote SMTP server was temporarily unavailable.
Debian uses Exim by default. I think pipe transport is the way to do something like that.
What sort of delivery will you be using though? This may be a solved problem.
If you have access to the internet during installation, you can install Debian using any USB stick larger than 627MB.
There's also win32-loader, if you already have Windows and want to install Debian without a USB stick. I've never tried it, and I've seen surprisingly little written about it compared to conventional methods of installation, but it's there.
There's also network boot, although this requires a somewhat fiddly setup on another machine. You can boot from an SD card on some laptops, or on any PC if you have a USB SD reader. If you have a CD drive, you can still use that. You can even remove the hard drive from your computer, connect it to another Linux computer, install Linux, then put it back.
What kind of not working is it? Is it failing to connect or rejecting your credentials?
Does this mean a Windows domain? Have you entered the domain name in to Remmina?
Also, are you sure it doesn't have a firewall rule that would prevent machines not controlled by work from connecting (e.g. machines not a work VPN)?
OP said "Linux to Windows". Xrdp is a server, not a client.
Are you asking because you saw "libcrypto"?
For this project, Python might be particularly appropriate.
There are a lot of different ways to build a GUI. Do you already know any programming languages?
For the "more features" you'll presumably want to actually write a program, but for the initial thing, you can use a simple shell script like
or, if you prefer GTK stuff
Terminals usually don't grab that, as applications running in the terminal might want to use it. Paste will usually be available on a different shortcut though. Does Mint's terminal support Shift+Insert?
Should be possible. Won't be nice for browsing modern websites, on any OS.