000webhost

Web hosting
Showing posts with label wine. Show all posts
Showing posts with label wine. Show all posts

Friday, February 2, 2018

Bypassing eJay Downloader/Download Manager, Random Stuff, and More

For those who don't already know this you can often bypass a lot of download managers out there if the 'Download Manager' doesn't really feel like a good 'Download Manager' (there are some genuinely terrible ones out there. Some of the worse I've come across don't even allow for resumption of downloads! Truly bizarre given this day and age?). I recently had this situation with:
They basically want you to use their download manager at:
- to figure this out first startup Wireshark and run it on the relevant network interface controller/device
- then run the download manager/program like so
wine ejay_hiphop5_reloaded_downloader.exe &
- then freeze the the output from Wireshark and do a search request for the names of the files in question. This led to an IP address. Direct connection to IP address seemed to lead to a stall/non-response?
ejay_hiphop5_reloaded_setup.exe
ejay_hiphop5_reloaded_setup-1.bin
 wget 74.47.33.212/deploy/ejay_hiphop5_reloaded_setup.exe
--2018-02-02 05:50:52--  http://74.47.33.212/deploy/ejay_hiphop5_reloaded_setup.exe
Connecting to 74.47.33.212:80... connected.
HTTP request sent, awaiting response... ^C
- examination of the trace led to the following two URIs
- if you're wondering how to do this from Linux CLI here are relevant commands/code...
tcpdump -Ar ejay_hiphop5_trace.pcap | less
00:12:02.811894 IP system.60716 > static.212.33.47.78.clients.your-server.de.http: Flags [P.], seq 1:117, ack 1, win 229, options [nop,nop,TS val 9596671 ecr 1453398521], length 116: HTTP: GET /deploy/ejay_hiphop5_reloaded_setup-1.bin HTTP/1.0
E....@@.@.e....dN/!..,.P.y.R........1......
..w.R.V
GET /deploy/ejay_hiphop5_reloaded_setup-1.bin HTTP/1.0
Host: downloader3.ejay.com
User-Agent: Download Manager
- as you can see below, everything seems fine with wget
Resolving downloader3.ejay.com (downloader3.ejay.com)... 78.47.33.212
Connecting to downloader3.ejay.com (downloader3.ejay.com)|78.47.33.212|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 757552 (740K) [application/x-msdos-program]
Saving to: ‘ejay_hiphop5_reloaded_setup.exe’
ejay_hiphop5_reload 100%[===================>] 739.80K   141KB/s    in 6.4s    

Resolving downloader3.ejay.com (downloader3.ejay.com)... 78.47.33.212
Connecting to downloader3.ejay.com (downloader3.ejay.com)|78.47.33.212|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1729064223 (1.6G) [application/octet-stream]
Saving to: ‘ejay_hiphop5_reloaded_setup-1.bin’
ejay_hiphop   0%[                    ]  12.06K  17.3KB/s
- frustrating thing is that attempting to use aria2c to speed things up didn't really seem to make much of a difference with regards to speed...
aria2c --max-connection-per-server=4 --min-split-size=1M http://downloader3.ejay.com/deploy/ejay_hiphop5_reloaded_setup-1.bin
Download Results:
gid   |stat|avg speed  |path/URI
======+====+===========+=======================================================
a08282|INPR|   215KiB/s|/media/sda1/eJay HipHop 5 Reloaded/ejay_hiphop5_reloaded_setup-1.bin
- funny thing is that in the past I've worked with many people who said that you can't really gain much from a packet trace? It depends on what you're looking at?

Random Stuff:
- as usual thanks to all of the individuals and groups who purchase and use my goods and services
- latest in science and technology
- latest in finance and politics
- latest in defense and intelligence
- latest in animal news
- latest in music and entertainment

Random Quote:
- "The proposed shutdown of exchanges that the justice minister recently mentioned is one of the measures suggested by the justice ministry to curb speculation," the Office for Government Policy Co-ordination said in a statement.
"A government-wide decision will be made in the future after sufficient consultation and coordination of opinions."

The petition was launched last month by an unnamed person and credited the increase in the value of cryptocurrencies with an increase in hope among the people who could now contemplate finding relief from economic distress.

Last year, youth unemployment reach 9.9% and dissatisfaction among young people played a role in electing Moon Jae-in as president in May 2017.

In 2017, South Korea became a major bitcoin trader with 4.5% of all global transactions using the won. This made it the fourth most widely used currency for trading bitcoin, after the US dollar, the yen and the euro.
- “Like his mentor Trump, Hoekstra wears duplicity as a badge of honor. Nothing that they say can be believed or taken at face value. They lie through their teeth and talk with forked tongue,” Etler said.

“This has been the modus operandi of European colonialists and imperialists ever since the Americas, the Middle East, Africa and Asia were invaded and occupied. In other words they are not to be believed or trusted,” he concluded.

Hoekstra, 64, served as the US Representative for Michigan's 2nd congressional district from 1993 to 2011. He was born in the Netherlands and moved to the United States at age 3.

A former Republican congressman for Michigan, Hoekstra served as a national security adviser for Trump during last year’s presidential election campaign.
- Mohan and Kincl said: "Though these changes will affect a significant number of channels, 99% of those affected were making less than US$100 per year in the last year, with 90% earning less than US$2.50 in the last month.

"Any of the channels who no longer meet this threshold will be paid what they’ve already earned based on our AdSense policies. After thoughtful consideration, we believe these are necessary compromises to protect our community."

In April last year, Google set a YouTube Partner Programme requirement of 10,000 views for videos to carry ads. This time, that has been cut further.

Thousands of contractors will review the clips on Google Preferred. Within that section, the company says it will have "a three-tier suitability system" that will “give them appropriate placements for their brand, while understanding potential reach trade-offs", according to the website Recode.
- “The Boosting Business Innovation Programme is providing $18 million to the state’s 11 universities — including $1.5 million to UNSW — and the CSIRO to work with businesses to support innovation.

“The Boost program brings business and research brains together in one place to develop new ideas and opportunities, including through Techvoucher supported research projects.”

LoyaltyX chief executive Philip Shelper said participants in the UNSW trial earned a digital stamp for each purchase, with 10 stamps converting to $10 worth of ether.

“The research results have been extremely positive with students excited by being rewarded with cryptocurrency that can grow in value, providing a major opportunity to re-invent loyalty programmes,” he said.

“Ether is a floating currency, and over the course of the trial participants saw their Ether balance increase in value by 30 per cent. Those that chose to keep their Ether rather than cash it in have seen a gain of over 450%. Cryptocurrencies could provide the first major advancement in loyalty program design since frequent flyer programs were launched in the early 80s.”
- Both senators and House members want AT&T to stop collaborating with Huawei on standards for 5G. They are also seeking an end to the use of Huawei handsets by AT&T's discount branch Cricket, Reuters said quoting Congressional aides.

The news agency quoted Chinese foreign ministry spokesman Lu Kang as saying he did not know anything about the matter, but hoped that China would be given a fair operating environment in other countries.

“We hope that China and the US can work hard together to maintain the healthy and stable development of trade and business ties. This accords with the joint interests of both,” he told a daily news briefing in Beijing.

In keeping with the prevailing sentiment in Congress, a bill has been introduced by Republicans Michael Conaway and Liz Cheney to prevent the government from doing business with Huawei or ZTE, the latter being a Chinese telecommunications and systems and equipment firm.

Back in 2012, the US Congress issued a report that raised concerns about state-sponsored spying related to products made by Huawei, the biggest global maker of telecommunications equipment. The company has denied any such involvement.

In Australia, nearly six years ago, Huawei was denied any role in supplying equipment to the country's national broadband network project, following advice by ASIS, one of Australia's spy agencies.

Last year, Australia put pressure on the Solomon Islands to drop Huawei as the main contractor for an undersea cable project. The Project Honiara undersea cable project is expected to improve the capacity of the local telco, Our Telekom, to handle domestic and international calls.

In December, Britain's Financial Times newspaper reported that Canberra would block the deal with Huawei and instead pay the $100 million cost itself.

The director-general of ASIS, Nick Warner, spoke to Solomon Islands Prime Minister Manasseh Sogavare about the undersea cable deal soon after US Secretary of State Rex Tillerson and Defence Secretary James Mattis visited Australia in mid-June.
https://www.itwire.com/security/81416-us-politicians-push-at-t-to-cut-huawei-ties-report.html
- The majority of people over 75 live alone and about 200,000 older people in the UK have not had a conversation with a friend or relative in more than a month, according to government data.

Most doctors in Britain see between one and five patients a day who have come mainly because they are lonely, according to the Campaign to End Loneliness, a network tackling the health threat isolation poses to the elderly.
- “The United States has a lot of expensive weapons to sell, the Saudis have lots of money. So they come to a deal. The only problem here is the weapons are not going to solve the problem,” Jones said.

“This is not the first time that the Saudis have bought weapons from the United States.  They have already spent billions of dollars in weapons and those weapons cannot prevent simple things like the fact that the Yemenis have fired two missiles which had landed in Riyadh,” he stated.

“These missiles are not anything sophisticated. They are basically the re-worked Scud missiles of the sort that Iraqis, Saddam Husain, fired in Israel during the Iraqi war,” the analyst noted.

“They had been welded together with bigger gas tanks but they are the same missiles. This is a primitive missile. The patriot missile system cannot block them. So why are they buying more patriot missiles?” he asked. “Well, because this is what they do. They buy, the United States sells, and that’s the whole story here.”

Friday, December 9, 2011

WINEing and DOSing on Linux

I recently picked up some old (but still very enjoyable games even though their graphics mightn't be up to todays standards). These games included RAC Rally Championship (DOS), Theme Hospital (Windows 95), and Rise of Nations (Windows XP). This post will go through the steps required to get them working under Linux. Note, that I'm assuming that you have installation discs for all relevant programs.

FIrst game I tried was  RAC Rally Championship. I consider it to be one of the better rally arcade/simulator games prior to Colin McCrae's Rally and DIRT. To get it running first install, 'Dosbox' (its a DOS-emulator for various different platforms). Startup the 'dosbox' environment from the Linux CLI or via the relevant GUI menu option. Run the following commands. Then run the following series of commands.


- mount c /media/disk -t cdrom (mount your installation disc to C:)
- mount d ~/rally (mount a folder from your Linux home folder called rally to D: to give the installer a place to place its files. Assumes you have already created the folder of course)

- C: (go to root directory C:)
- install.exe (run the installer file. When prompted install it to D:\)
- cd d:\rally (when installation has completed change to the installation directory)
- ral.exe (run the game)

One thing you'll definitely notice is that while the games are still quite enjoyable they'll often feel quite 'eerie'. Imagine existing in the world of 'True Colour' (32-bit and millions of colours) and then suddenly finding yourself being transported to a world where only 256 colours exist.

 
The next game we'll attempt to setup/run is, 'Theme Hospital'. Similar in concept to 'Zoo Tycoon' it has you running running a Hospital, attempting to find a happy medium between healing patients and fulfilling more tangible/financial goals. I discovered that while installation was quite easy (insert the disc, mount it, then run the setup/installation file via 'wine'), getting everything running perfectly wasn't.



First I needed to get DirectX installed. Instructions are available online for this which involves downloading a redistributable installation file from the Microsoft Download Centre. I opted to use the my Tiger Woods 08 DVD to get DirectX the installation file. While the game worked, sound was not functional. Using 'winecfg' indicated that I was getting 'write' errors to the sound device file and testing obviously produced no sound.



I read up online that a lot of others were having issues with the 'PulseAudio' sound daemon. I also read that removing the package/s could result in 'odd' issues with their desktop installation. Like others, I discovered that killing the pulseaudio damon doesn't actually stop it because it respawns by default. Altering the relevant pulse/client.conf file should changed this behaviour whether done to the core configuration in /etc or via a users' local .pulse setup but didn't which indicated there must be another point of configuration as well. I disabled it through the 'Gnome Startup Preferences' menu option/s. At that point, the error/s disappeared but switching between the different sound daemons still didn't produce success (ESound, Pulse, OSS, ALSA) even though I had installed all relevant 'wine to sound daemon' plugins. Finally, I shutdown everything (sound related) except the core 'PulseAudio' daemon and finally the test/game sound seemed to work even though others have indicated that using ALSA seems to be the best/easiest solution.


While the installer for 'Rise of Nations' went well I've experienced many 'known issues'. Among these, having to use both mouse buttons to navigate through the menu system (though the left mouse button seems to work perfectly fine in the actual game itself), having some regular graphical anomalies (this only occurred with Rise of Nations but not when its Rise of Nations - Thrones and Patriots), a temporary black screen or stall on startup (not a real stall. Use the space bar to reach the main menu), and having no sound. Attempted to switch Direct X libraries between builtin/native as directed elsewhere online to get around these issues but switching to native actually caused an exception to occur on startup of the game so I have since gone back to the program defaults. I also believe that some of these problems may also be version related so I'll update at a later time.



As an inside, I recently scratched one of my game software discs (the game would only run through the install process part of the way before succuming to read errors) but had run out of disc repair solution. I've since discovered that 'toothpaste' actually works quite well as a repair agent since its a light/mild abrasive. It tends to blends the scratch in with its surrounding rather than polishing the disc though.



I recalled the early days of optical drive technology. There were often (and there still are though less drastic) differences in  error detection/correction quality on different drives (I remember a disc that was completely undearable in one drive but perfectly readable in another). I switched from an onboard OptiArc drive to an external Plextor drive and disc reading seemed to be perfect.

I decided it was time for me to make an ISO backup of the disc (allowed under existing law). While the backup disc can be used to install the program, there are mechanisms which prevent it from being used as a startup/game disc (even via emulation software using just the ISO file). There are obviously ways around this type of detection but its always a game of cat and mouse between those who create copyright protection mechanisms and those who attempt to defeat them.


http://www.abtevrythng.com/2011/03/how-to-use-amazon-app-store-outside-us.html

- as usual thanks to all of the individuals and groups who purchase and use my goods and services
http://sites.google.com/site/dtbnguyen/
http://dtbnguyen.blogspot.com.au/

Endless Energy, Endless Food, Endless Resources, and More

- after my last post I had to wonder whether or not we starving, freezing/burning, living without power for no reason in many parts of the w...