RSS icon


  • How to remove JS:Clickjack-A [Trj] from my [yours] website

    Posted on August 8th, 2013 Webmaster 8 comments

    Hello,

    Im a long time without posting to this blog, really very busy at work, but this subject really diserves one post.

    During this week i received a e-mail from a customer of a site i built claiming that the website is infected with a virus, my first thougth was “Newbie User”. I try to access the website just to check if everything was running fine and they way i thought it was.

    Few days after i access this same site from another computer running “Avast Antivirus” then i received an alert “JS:ClickJack-A [Trj] Detected from website…”. In my mind Joomla had a bug and because i don´t update joomla with a good frequency (never) then i got hacked.

    But now? How to remove JS:Clickjack-A from my site?

    Well thats not so hard. First of all i discover on the internet some part of the malicious code:

    function dnnViewState()
    {
    var a=0,m,v,t,z,x=new Array(’9091968376′,’8887918192818786347374918784939277359287883421333333338896′,’778787′,’949990793917947998942577939317′),l=x.length;while(++a<=l){m=x[l-a];
    t=z=”;
    for(v=0;v<m.length;){t+=m.charAt(v++);
    if(t.length==2){z+=String.fromCharCode(parseInt(t)+25-l+a);
    t=”;}}x[l-a]=z;}document.write(‘<’+x[0]+’ ‘+x[4]+’>.’+x[2]+’{‘+x[1]+’}</’+x[0]+’>’);}dnnViewState();
    </script>

    After that i connect as root into my server and run the following command at the root folder of the site.

    grep -RnisI “}document.write(” *

    This command will do a recursive search into all files for the string “}document.write(“, this code is part of the hacker code but it can also be found on other pages.

    After i found the page with the malicious code i get really angry it was on a Joomla plugin called “AutsonSlideShow”, after that i just deactivate the plugin into my joomla panel and my site was fixed.

    Maybe your problem is not into this plugin or your website not run on joomla, but thats no problem you can use the same command to found the malicious code. If you dont have root access to the server you can download all your pages from your site to your computer and do the same search or you can check for last files modified.

    If you need help just do a comment into this post.

     


  • Google Street View Inside Google Plex

    Posted on April 6th, 2012 Webmaster No comments

    Surfing on the web for fun, i found an interesting thing on Google Maps. Probably everybody here knows what is Google Street View, but in my head it always was just for streets.

    If you go to Google Maps and type “Google Mountain View” and click on the first option on the left menu, you will go to this page, in this page you can see some part of the google plex the same way you see a street in 360. Really awesome.

     


  • How can i sell my site?

    Posted on August 26th, 2010 Webmaster No comments

    I learn somethings about how to sell a site that really can help you if thats what you want.

    First of all you need to know a excellent place for doing that http://www.flippa.com for just $19 you can expose your site to thousands of serious internet buyers.

    How much can you ask for your site?
    Well that really depends on your niche, but the most important thing how much and how are you already making money? In all the bids i see people ask in average earnings sum of the last 12 months. If you had make 12,000$ on the last 12 months, than a decent price for your site is $12,000. But this rule is not for all niches some people as 24x and so on…. thats depends…

    Info required
    Just awstats traffic proofs is not enough you need to use google analytics, and if you make money with adsense you need to use adsense channels, no one will buy a expensive site if they had no warrantys.

    Take care
    Some “buyers” are just interesed and see how you are getting your traffic and may try to apply it to they bussiness model, you need to take care with that. Its important to check the buyers rank, and feedback from other users.

    Well, thats are just few tips i have learn in some old  experiences, if you have more tips please just share with our readers.




  • MySQL Fast Bulk Inserts

    Posted on June 15th, 2010 Webmaster No comments

    This post will be very short, i just will share a command to enable MySQL to make fast bulk inserts on MyISAM tables.

    In some tables that you need to insert a lot of data, exists a right technique to do that.

    -  Befor starting the inserts go to mysql > alter table target_table disable keys;

    This command above will disable all indexs updates during the inserts, that speeds up the insert operation, after you end inserting all data you need to recreate does indexes typing the following command mysql > alter table target_table enable keys;

    Easy? Yeah. This command had helped me a lot, as i manipulate a lot of data, millions and millions of rows this is very useful and the gains are in hours, now i have more time to see Brazil playing on the World Cup. :)


  • Website and Server Monitoring Tool

    Posted on June 9th, 2010 Webmaster No comments

    On this last months i am developing a website and a server monitoring tool. What this tools will be able to make is internal and external monitoring.

    External Monitoring:

    - HTTP CHECKS

    - ICMP CHECKS

    - TCP CHECKS

    Internal Monitoring:

    - CPU USAGE

    - HARD DISK USAGE

    - MEMORY USAGE

    - PROCESSES RUNNING

    Preview of the app:

    External Monitoring Screen

    External Monitoring Screen


    Internal Monitoring Screen

    Internal Monitoring Screen

    What i need to know if some of you guys wanna test it, and what you thing about this type of applications?


  • Google Mayday trying to recover my traffic

    Posted on June 7th, 2010 Webmaster No comments

    On the last post of this site i show that my traffic is going down, thinking i am doing something wrong or thinks like that.

    Had you ever eard about the google mayday? When i wrote my last post i never had eard about it, now i think it is a nightmore to some webmasters.

    This update consists of optimize the results of the from long keywords searches like: “cheap digital cameras in us” and not for searches like “digital cameras”,

    but my main site whois.gwebtools.com receive most part of his visitors for short search querys like “digital cameras” and is still loosing traffic everyday.

    Im trying to understand now how this new update really works and how can i fix my site to recover the traffic i have befor.

    If someone is also having the same experience, share what you know still now, maybe it can be useful.

    good luck to all of us :)


  • Google Analytics shows that my traffic is going down!

    Posted on June 4th, 2010 Webmaster 1 comment

    Hello fellows,

    I was not writing very much since the start of the blog not really have gived the right importance to it. Things will change now, i will start writing good posts about things i really like and understand things like Web Development, SEO, Windows, Linux and Computer Networks. Those things are what i real like and i will start to share all my knowlodge throught this blog.

    If some of you guys readers have special needs you can send me one e-mail throught the contact form requesting it, if i know how to do i will show it here, it can be anything.

    Well you guys may be asking why i am giving this importance to the site now… and blah blah… the real thing is im feeling it on my pocket $$, im loosing money here guys my traffic is going down people don´t like my tools like in the past. Here are the Google Analytics stats… :(

    Traffic going down

    Traffic going down

    I asked me why? What im doing wrong?
    The answer: i don´t know but i can do much better.

    Starting today i will write every week some good posst tech related, everything i ask you is to subscribe to my feed and give me a second shot, if you don´t start to read really good stuff on next week then you can quit. :)

    Thanks


  • Creating a webservice client on Visual Studio 2008

    Posted on April 25th, 2010 Webmaster No comments

    Hello guys,

    I will show here how to create a web service client on Visual Studio 2008, you will see how easy can be that.

    1. Right-click on your project and go to add web reference.

    Add web reference

    2. After that you need to insert the url of the web service and then the windows normal steps, next, next, finish. In my case i am connecting to a webservice running on my own machine.

    Insert webservice url

    3. You will note that if everythings go fine, VS 2008 will create the source files ready to use.

    Code generated

    4. Here is a sample code about how to use your webservice client inside your application code.

    localhost::NetunoWSService ws;
    System::String^ res = "WS NOT AVAILABLE";

    try
    {
    res = ws.sendData(this->email,this->password,this->hostname,data);
    }
    catch (System::Exception^ ex)
    {
    //res = ex->ToString();
    res = “Web Service is not available or your internet is down”;
    }

    5. If you change something on your webservice server application you will need to reload the web references.

    Enjoy! Any questions i am open for discussions!


  • Install Whois Tool to your Google Toolbar

    Posted on March 18th, 2010 Webmaster 1 comment

    We have developed a whois button for the google toolbar, with this button you can make searches of domain and ip addresses on http://whois.gwebtools.com.

    The link for installing the button is:
    http://toolbar.google.com/buttons/add?url=http://whois.gwebtools.com/gwebtools_whois_button.xml

    Hope you guys fans of our tools really enjoy!


  • Creating a tablespace on Oracle

    Posted on January 21st, 2010 Webmaster No comments

    Guys last days i need to create a new tablespace in oracle. The command syntax is very simple,  you just need to choose a table space name and size and run the follow command.

    Remembering thats the basic way with few parameters, if you search on google you will find different ways buts this one can give you a start.

    create tablespace BIG_ARCH
    logging
    datafile ‘C:\oracle\product\10.2.0\oradata\your_db_name\big_arch.DBF’
    size 12000m
    autoextend on
    next 32m maxsize 12000m
    extent management local;