Mysolution.lk
Whether you're looking for managed IT services or a channel or white label partner we've got a solution that's right for you
We provide Managed IT services for business including fixed IT support, cloud computing and network security. We work with a diverse range of businesses, and because we've been doing this for several years now, we've grown to be experts in our field. Because we like to share our expertise, we also offer Partner Services for businesses looking to extend their existing capabilities. Our white label
05/09/2016
Delete Files Older Than x Days on Linux
The find utility on linux allows you to pass in a bunch of interesting
arguments, including one to execute another command on each file. We’ll use
this in order to figure out what files are older than a certain number of
days, and then use the rm command to delete them.
Command Syntax
find /path/t...
23/03/2016
How to install Ruby 2.1.4 on Ubuntu 14.04
First of all, install the prerequisite libraries:
sudo apt-get update
sudo apt-get install git-core curl zlib1g-dev build-essential
libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3
libxml2-dev libxslt1-dev libcurl4-openssl-dev
python-software-properties libffi-dev
Then install rbenv, which is used to install Ruby:
cd
git clone git://github.com/sstephenson/rbenv.git .rbenv
echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc
echo 'eval "$(rbenv init -)"' >> ~/.bashrc
exec $SHELL
git clone git://github.com/sstephenson/ruby-build.git
~/.rbenv/plugins/ruby-build
echo 'export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$PATH"' >> ~/.bashrc
exec $SHELL
rbenv install 2.2.0
rbenv global 2.2.0
ruby -v
Then (optional) tell Rubygems to not install local documentation:
echo "gem: --no-ri --no-rdoc" > ~/.gemrc
Credits: http://ift.tt/1wFwCwc
*Warning!!!* There are issues with Gnome-Shell. See comment below.
Ameerwww.linuxmails.com | [email protected],KSA
07/03/2016
Area2 Download utility usage examples
Sourc: Area2 Website
Command-line scares you off? No, aria2 is really easy to use!!
Download from WEB:
1
$ aria2c http://ift.tt/1NcPxcl
Download from 2 sources:
1
$ aria2c http://a/f.iso ftp://b/f.iso
Download using 2 connections per host:
1
$ aria2c -x2 http://a/f.iso
BitTorrent:
1
$ aria2c http://ift.tt/1NcPygo
BitTorrent Magnet URI:
1
$ aria2c 'magnet:?xt=urn:btih:248D0A1CD08284299DE78D5C1ED359BB46717D8C'
Metalink:
1
$ aria2c http://ift.tt/1PgmA2p
Download URIs found in text file:
1
$ aria2c -i uris.txt
Ameerwww.linuxmails.com | [email protected],KSA
07/03/2016
No-IP on XBMC
Install noip
From: http://ift.tt/11zoehD
sudo apt-get install make gcc
mkdir /home/pi/noip
cd /home/pi/noip
wget http://ift.tt/1cFopRg
tar vzxf noip-duc-linux.tar.gz
cd noip-2.1.9-1
sudo make
sudo make install
noip can be started with:
sudo /usr/local/bin/noip2
To make noip load on boot, edit the crontab: sudo crontab -e, adding:
sudo /usr/local/bin/noip2
Source : github
Ameerwww.linuxmails.com | [email protected],KSA
26/02/2016
How to change time zone
Using the Command Line (terminal)
Using the command line, you can use dpkg-reconfigure tzdata.
1.
Open a terminal window by going to Applications>Accessories>Terminal
2.
dpkg-reconfigure tzdata
3. Follow the directions in the terminal.
Using the Command Line (unattended)
Find out the long description for the timezone you want to configure. Save
this name to /etc/timezone and run
sudo dpkg-reconfigure --frontend noninteractive tzdata:
$ echo "Australia/Adelaide" | sudo tee
/etc/timezoneAustralia/Adelaide$ sudo dpkg-reconfigure --frontend
noninteractive tzdataCurrent default time zone:
'Australia/Adelaide'Local time is now: Sat May 8 21:19:24 CST
2010.Universal Time is now: Sat May 8 11:49:24 UTC 2010.
This can be scripted if required.
Ameerwww.linuxmails.com | [email protected],KSA
19/02/2016
How Just Opening an MS Word Doc Can Hijack Every File On Your System
5343 662 30 11 6201
[image: ransomware-hacking-windows-computer]
If you receive a mail masquerading as a company's invoice and containing a
Microsoft Word file, think twice before clicking on it.
Doing so could cripple your system and could lead to a catastrophic
destruction.
Hackers are believed to be carrying out social engineering hoaxes by
adopting eye-catching subjects in the spam emails and compromised websites
to lure the victims into installing a deadly ransomware, dubbed "*Locky*,"
into their systems.
So if you find *.locky extension files* on your network shares,
*Congratulations!* You are infected and left with just two solutions:
Rebuild your PC from scratch or Pay the ransom.
Locky ransomware is spreading at the rate of *4000 new infections per hour*,
which means approximately *100,000 new infections per day*.
Microsoft MACROS are Back
It is hard to digest the fact that, in this 2016, even a single MS Word
document could compromise your system by enabling '*Macros*.'
This is where the point to appreciate hacker's sheer brilliance of tactics.
[image: phishing-email-Locky Ransomware]
Locky ransomware is being distributed via Microsoft 365 or Outlook in the
form of an Invoice email attachment (Word File that embeds vicious *macro *
functions).
The concept of macros dates back to 1990s. You must be familiar with this
message: *"Warning: This document contains macros."*
Now macros are back, as cyber criminals discover a new way to get internet
users to open Microsoft Office documents, especially Word files that allow
macros to run automatically.
How Does Locky Work?
[image: locky-ransomware-derypt]
Once a user opens a malicious Word document, the doc file gets downloaded
to its system. However, danger comes in when the user opens the file and
found the content scrambled and a popup that states *"enable macros".*
*Here comes the bad part:*
- Once the victim enables the macro (malicious), he/she would download
an executable from a remote server and run it.
- This executable is nothing but the Locky Ransomware that, when
started, will begin to encrypt all the files on your computer as well as
network.
Locky ransomware affects nearly all file formats and encrypts all the files
and replace the filename with *.locky *extension.
Once encrypted, the ransomware malware displays a message that instructs
infected victims to download TOR and visit the attacker's website for
further instructions and payments.
Locky ransomware asks victims to pay between 0.5 and 2 Bitcoins ($208 to
$800) in order to get the decryption key.
One of the interesting note on Locky is that it is being translated into
many languages, which heighten its attack beyond English boundaries to
maximize the digital casualties.
Locky Encrypts Even Your Network-Based Backup Files
The new ransomware also has the capability to encrypt your network-based
backup files. So it's time for you to keep you sensitive and important
files in a third party storage as a backup plan in order to evade
future-ransomware infections.
A researcher named* Kevin Beaumont* along with* Larry Abrahms* of
BleepingComputer initiallydiscovered
the
existence of Locky encrypted virus.
To check the impact of Locky, Kevin successfully intercepted the Locky
traffic yesterday and realized that the cryptovirus is spreading out
rapidly in the wild.
"I estimate by the end of the day well over 100,000 new endpoints will be
infected with Locky, making this a genuine major cybersecurity incident — *3
days in, approximately a quarter of Million PCs will be infected*," Kevin
said in a blog post
One hour of infection Statistics:
[image: locky-ransomware]
Among the highly impacted countries include Germany, Netherlands, United
States, Croatia, Mali, Saudi Arabia, Mexico, Poland, Argentina and Serbia.
Source: The hacker news
Ameerwww.linuxmails.com | [email protected],KSA
01/02/2016
When I send a message she falls to the Queue and will awaken the following error Fail-info: Domain lookup error – axigen
When I send a message she falls to the Queue and will awaken the following
error
Fail-info: Domain lookup error
Status:PROCESSED - RELAY
MBox:INBOX
*Solution*
Please configure a valid DNS server via Webadmin -> Services -> DNR ->
Nameservers. this is required for Axigen in order to resolve domain names.
Ameerwww.linuxmails.com | [email protected],KSA
22/01/2016
How to launch PowerShell script from the OS command line?
Use the command below
PowerShell.exe -File c:\users\azad\myrequest.ps1
Ameerwww.linuxmails.com | [email protected],KSA
12/01/2016
‘Ridiculous’ Bug in Popular Antivirus Allows Hackers to Steal all Your Passwords
If you have installed Trend Micro's Antivirus on your Windows computer,
then Beware.
Your computer can be remotely hijacked, or infected with any malware by
even through a website – Thanks to a critical vulnerability in Trend Micro
Security Software.
The Popular antivirus maker and security firm Trend Micro has released
an emergency
patch
to
fix critical flaws in its anti-virus product that allow hackers to execute
arbitrary commands remotely as well as steal your saved password from Password
Manager built
into its AntiVirus program.
The password management tool that comes bundled with its main antivirus is
used to store passwords by users and works exactly like any other password
manager application.
*Even Websites Can Hack Into Your Computer*
Google's Project Zero
security
researcher, Tavis Ormandy, discovered
the
remote code ex*****on flaw in Trend Micro Antivirus Password Manager
component, allowing hackers to steal users’ passwords.
*In short, once compromised, all your accounts passwords are gone.*
Technically, The Password Manager component within the Antivirus suite
works by starting a Node.js server on the local computer, by default, every
time the main antivirus starts.
[image: 'Ridiculous' Bug in Popular Antivirus Allows Hackers to Steal all
Your Passwords]
When analyzed the Password Manager component, Ormandy found that the
*Node.js *server leaves a number of HTTP RPC ports used for handling API
requests open to the world.
Available at "*http://localhost:49155/api/ *,"
hackers could craft malicious links that, when clicked by a user with Trend
Micro antivirus installed, would allow them to execute arbitrary code on
the local computer with zero user interaction.
In short, an attacker could easily remotely download malicious code and
execute it on your machine, even without your knowledge.
Besides this, Ormandy also found that the Trend Micro Password Manager also
exposes over 70 APIs through this same Node.js server.
More? Trend Micro Uses Self-Signed SSL Certificate
Just like Lenovo’s Superfish
and Dell’s
eDellRoot ,
Trend Micro also adds a self-signed security certificate to its user’s
certificate store, so that its users will not see any HTTPS errors.
Ormandy said, “*this thing is ridiculous.*”
Trend Micro installs a self-signed HTTPS certificate that can intercept
encrypted traffic for every website a user visits.
Ormandy reported the issue to Trend Micro's team and helped them create a
patch for it, which is now available to address the remote-code ex*****on
flaw. SO, Trend Micro users are advised to update their software as soon as
possible.
*Source : hackernews*
07/01/2016
Microsoft WARNING — ‘Use Windows 7 at Your Own Risk’
[image: microsoft-windows-7]
Someone is threatening Windows 7 users with a misleading warning.
Guess who? *Microsoft* itself…
Microsoft has just issued a clear warning saying Windows 7 users should
remain on the aging operating system "*at your own risk, at your own peril.*
"
*But why particularly Windows 7 Users?*
Since Windows 7 runs on 55 percent of all the computers on the planet,
Microsoft is worried that its goal to reach 1 Billion Windows 10
installations by 2017 could be harder.
During a recent interview with the Windows Weekly, Microsoft chief
marketing officer Chris Capossela warned about the risks of using Windows 7
and urged users that it's time to switch to the new Windows 10 operating
system instead.
Capossela also stressed that Windows 7 is apparently less secure than
Windows 10, so it is "so incredibly important to try to end the
fragmentation of the Windows install base" as well as to get them to a
"safer place."
Here the so-called safer place Microsoft means is its newest operating
system Windows 10.
Microsoft is Worried For us. Really?
Here’s what Capossela worried for Windows 7 Users:
"*We do worry when people are running an operating system that’s 10 years
old that the next printer they buy isn’t going to work well, or they buy a
new game, they buy Fallout 4, a very popular game, and it doesn’t work on a
bunch of older machines.*
*And so, as we are pushing our ISV [Independent Software Vendor] and
hardware partners to build great new stuff that takes advantage of Windows
10 that obviously makes the old stuff really bad and not to mention viruses
and security problems.*"
Do you notice any problem with Capossela’s statement? I did, the warning is
entirely baseless.
There is nothing wrong with the security of Windows 7 as the operating
system will be supported by the company until 2020, neither Windows 7 is
less compatible with new hardware and software.
In fact, Windows 7 has a greater market share, which means the operating
system is developers’ first choice over Windows 10 as well as the OS has
greater compatibility with legacy programs and peripherals.
Fallout 4 not running on Windows 7 computers is also not true, as the
blockbuster video game is fully compatible with Windows 7 and Windows 8
machines. Also, in case, the game do not run, no one will be installing
Windows 10 to fix it, rather it will be upgrading your components.
Oh! Come On Microsoft, We Know...
The only reason behind this statement is Microsoft’s target of getting one
Billion devices running Windows 10 by 2017 or mid-2018, and the motivation
is quite clear with the following statement by Capossela:
"*We think every machine that is capable of running Windows 10 we should be
doing everything we possibly can to get people to move to Windows 10…We are
going to try to find that right balance, but we just know there're many
people out there who constantly kick the can down the street without a
little bit more of a, frankly, push.*
*And so, there’s no doubt with a base as big as ours, it is hard to move
anyone to a new model without angering some people. We don’t want to anger
anybody, but we do feel a responsibility to get people to a much better
place, and Windows 10 is a much better place than Windows 7. We will always
give you a way out, but we’re trying to find the right balance.*"
This isn’t Microsoft’s first trick to force users to install its newest
operating system. Microsoft previously tried a number of times to push
Windows 10 more aggressively on systems running Windows 7 and 8.1.
Recently Microsoft announced its first milestone, noting Windows 10 is now
officially installed on more than 200 Million devices worldwide since its
launch five months ago.
Although there is nothing wrong with setting up a goal, but not respecting
users choice and enforcing yours on them is completely not acceptable.
We know that technically Microsoft is giving an option to users, but by
enforcing annoying pop-ups every time, removing opt-out options as well as
threatening average user with baseless warnings, it appears there is no
choice for users at all.
So, it should be completely our choice whether we want to switch to Windows
10 or not, or the better option is to switch on to Linux operating system.
Source : Hacker News
23/12/2015
Enable SSH root login on Debian Linux Server
$ ssh [email protected]@10.1.1.12's password:
Permission denied, please try [email protected]'s password:
Permission denied, please try [email protected]'s password:
Permission denied (publickey,password).
To enable SSH login for a root user on Debian Linux system you need to
first configure SSH server. Open /etc/ssh/sshd_config and change the
following line:
FROM:
PermitRootLogin without-password
TO:
PermitRootLogin yes
Once you made the above change restart your SSH server:
# /etc/init.d/ssh restart
[ ok ] Restarting ssh (via systemctl): ssh.service.
From now on you will be able to ssh login as a root:
$ ssh [email protected]@10.1.1.12's password:
The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.
Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
27/11/2015
205 Administrator account credentials are invalid or empty – N-cental
Question : -
All our HV-NODEs Backup Manager Status are failed status with the following
error:
"205 Administrator account credentials are invalid or empty"
But the backups are completing successfully.
Answer: -
What we can do is manually modify the reboot flag in the .xml to trick it
into thinking it's been rebooted already.
1. Stop the "Windows Agent service" and "Windows Agent maintenance service."
2. Please access: C:\Program Files (x86)\N-able Technologies\Windows
Agent\config\IntegratedBackupConfig.xml and edit this file. Modify the
"RebootPendingTime" to a date in the past, but make sure to maintain the
current date format of this variable.
3. Start Windows Agent services again.
Please let me know the results and if the service in N-central starts
checking in properly (this could take up to an hour but you can also
disable/re-enable backup manager status to force a check).
Click here to claim your Sponsored Listing.
Category
Contact the business
Website
Address
Colombo