Better HN
topnewbestaskshowjobs
Log inSign up

codedokode

9,867 karma · joined Aug 20, 2015 (11y ago) · 5,528 submissions

PHP developer from Russia.
Submissions

comment 9y ago · link · parent

The law is not strict enough. No single byte should be sent outside without user's consent. No matter whether it contains personal data or not.

And that would make proving company's guilt much easier.

comment 9y ago · link · parent

That unskilled labour is probably more hard and tiring than sitting in a comfortable chair before a computer. If only there were more tech workers the market would set adequate price.

comment 9y ago · link · parent

But the characters of the article are system administrators, not software developers.

comment 9y ago · link · parent

Of course it is easy to pay high salaries with investors' money. I doubt a business owner would like to pay $120 000/year from his own income.

comment 9y ago · link · parent

The tech worker salaries are completely unreasonable compared to other jobs. The characters from the article could just agree to work for $60 000/year (which still is a lot) and wouldn't lose their jobs.

comment 9y ago · link · parent

In many countries you cannot even buy a SIM card without providing an ID.

comment 9y ago · link · parent

Having 3 dependencies is pretty typical. The dependencies may have their own dependencies too.

The special thing about F# is a partial function application that is probably missing in C#.

comment 9y ago · link · parent

> Then I realize their in-store price is $10 higher than online

Isn't that normal? People who use Internet can easily compare prices in different shops so the price for them is more competitive. And people who have already spent their time to get to the shop are not so picky so they can pay more.

comment 9y ago · link · parent

I guess in North Korea they would not get away with just getting fired.

comment 9y ago · link · parent

Mobile OSes are already throttling and stopping background tabs and applications. Otherwise the battery would be drained in several hours.

comment 9y ago · link · parent

Every website would start showing such popup. Now (if you have enabled Javascript) many sites show popup to allow notifications the moment you open them. That is annoying when you search for something in Google and have to click "No" for every new page opened.

comment 9y ago · link · parent

They should have done it long time ago. The pages today contain a lot of third-party scripts (advertisement, tracking, etc) and they sometimes can use up to 100% of a CPU core.

Mobile browsers are already stopping background pages because otherwise the phone's battery would be drained in hours.

Unless a background page is doing something useful for user, it should not consume any CPU time.

comment 9y ago · link · parent

I also have spent some time to make bash scripts that would allow me to copy my Go project into a temporary folder to linux machine and compile it.

comment 9y ago · link · parent

Just wanted to add a slightly off-topic note:

> At the time, an exploit for a software weakness in Skype was being traded online, and this exploit could be used to remotely and instantaneously disable any Skype account.

According to this article [1] blocking someone's account is still possible.

[1] https://hub.zhovner.com/geek/how-skype-fixes-security-vulner...

comment 9y ago · link · parent

Could it be a third party click fraud? For example, if you buy ads in Adwords on thrid-party sites, their owners' income depends on how many clicks are made so they might be motivated to add bots to real user traffic.

And even if you buy ads on Google's own sites (like Youtube), the channel owners could hire bots to maximize their income.

Regarding Facebook, I don't know if there is any third party, maybe this is just people who clicked on ads accidentaly?

comment 9y ago · link · parent

This could be prevented by using physical keys instead of passwords. People are weak in deciphering URL bar contents.

comment 9y ago · link · parent

Maybe that is because education in top universities is very expensive so only people from rich and middle class families can afford it?

comment 9y ago · link · parent

That might be true if a woman works as a waitress (and attracts customers to come more often) but I doubt that is important for a software developer.

comment 9y ago · link · parent

To me it looks like people who were born healthy get higher salary.

comment 9y ago · link · parent

> subsidize other people's intentionally unhealthy life choices

Person's health depends not only on their choices. Some people are born more healthy and some are less. So does it mean that if somebody has errors in their DNA they should get less salary?

It would be more fair just to make a tax for alcohol and cigarettes.

comment 9y ago · link · parent

There were cases when such private URLs got into search engines. You should protect such URLs with authorization or at least hide them behind a POST form. Or block them with robots.txt.

Also if a user follows a link from such page, the URL would be leaked via Referer header so it is not secure anyway.

comment 9y ago · link · parent

I think that is unlikely because then SEO specialists would generate and send such data to improve the positions of their websites.

But Google could use this to discover new URLs that are not linked anywhere.

comment 9y ago · link · parent

Crawling AJAX data alone makes no sense because it could be just a piece of JSON and Google needs a rendered HTML page with an URL it can show in the results. If you have some data that are not available at a separate URL (e.g. they are loaded when user presses a button), they will not be indexed.

comment 9y ago · link · parent

Google executes JS but maybe not on every website. If you have a JS error reporting tool on such site then you can get reports from Google IP addresses. I saw them first maybe 4 or 5 years ago.

Executing JS everywhere would require a lot of CPU time and I think Google prefers not to do that when possible. And indexing a JS app is a very complicated task anyway (it is difficult for a robot to even find navigation elements if they are implemented as div's with onclick handler instead of links) so you better use sitemaps to make sure the bot can find content.

And I don't think it is necessary to index rich apps. It makes no sense to index a ticket search app (the data become outdated too fast) or an online spreadsheet editor. Just make indexable pages as server-rendered HTML pages and put their URLs into a sitemap.

Also Google looks for strings in JS code that look like URLS (e.g var url = '/some/page') and crawls them later.

comment 9y ago · link · parent

I tried to Google "pas web shell" and "profexer pas download" (with option to search pages in any language) to understand the audience of a project. What I saw were mostly links to forums in russian (with reviews of the software or tutorials on how to use it), one chinese github account with a collection of web shells and english posts from people who found the backdoor and tried to understand what it was.

So I got an impression that posts in english were mostly from victims and posts in russian were mostly from users.

You can try google these words and see the results yourself.

comment 9y ago · link · parent

Maybe he understood that things got serious and doesn't want to get extradited to USA.

comment 9y ago · link · parent

The download page earlier [1] had a Webmoney wallet identifier for donations. Webmoney is a russian payment system that was popular in 00's [2] in ex-soviet countries.

[1] https://web.archive.org/web/20150831091357/http://profexer.n...

[2] https://en.wikipedia.org/wiki/WebMoney

comment 9y ago · link · parent

I also checked the web archive for web shell download page [1]. It turns out that the notice with the text "Made in Ukraine" appears in version on August 31, 2015 [2] but is not present at earlier versions.

The forum thread [3] shows that the software has been developed at least since 2011.

I also looked through the code of a web shell. The code is written to be compatible with PHP4 and has some complicated parts, like building a zip archive by bytes. It has a lot of fallback methods, for example if some PHP functions are not available or not enabled, it would try several other ways to solve the task. I didn't like the style (a lot of two-letter variables, HTML and PHP code mixed together, hard to read and maintain). It looks like it was written by one person, but it would take some time, not a project one can write in a week. I guess the motivation for developer was to prove that he could write a better web shell than others.

Here is a link to a formatted source code [4] if anyone would like to see it and maybe learn some PHP4 programming tricks.

[1] https://web.archive.org/web/20150601000000*/http://profexer....

[2] https://web.archive.org/web/20150831091357/http://profexer.n...

[3] https://rdot.org/forum/showthread.php?t=1567

[4] http://pastebin.com/vUpKb3FL

comment 9y ago · link · parent

The support forum thread started by the developer is in russian (many people living in Ukraine speak both Russian and Ukranian so there is no contradictions with an Ukranian flag on the download page): https://rdot.org/forum/showthread.php?t=1567

comment 9y ago · link · parent

The file that yara signature refers to is probably a Ukranian "web shell" (a backdoor written in PHP that contains a file manager and simple SQL client) that is distributed freely at http://profexer.name/pas/.

Anyone can download it and check.

There is also a forum thread at https://rdot.org/forum/showthread.php?t=1567 started by this software developer in 2011. He answers the questions from the users of his software and asks them to donate to continue development.

So it is a publicly available software, not a private tool made by some hacker group for themselves. That is why other people could find it in their systems.

1
173174175
185