Don’t Enter Your Password Into That Website: A Rant You Need to Hear

2025-05-01 3 min read Security Password

Don’t Enter Your Password Into That Website: A Rant You Need to Hear

Let me set the stage.

I came across a YouTube video the other day where the creator casually suggested that you can “check if your password has been leaked” by typing it directly into a website or tool. It was not a very popular content creator, none the less, I think we need to talk about this.

Continue reading

phpmyadmin access problem and change server from URL

2012-09-30 1 min read Database Fedora

I was having issues with one of the phpmyadmin setups. The first server defined in the config file was not accessible and the theme that I was using was not allowing me to change the server from the first page. This resulted in a state where I was not able to access phpmyadmin in any way. I could not connect to any of the servers. And thus had to hack my way in to phpmyadmin to find out how to connect to other servers from URL. And here is my finding:

Continue reading

mysql output to an array for easy parsing.

2011-05-11 2 min read Bash Database

 

Today I was looking for some way to put the output of the mysql output in an array in a bash script. Quick google search yeilded to results something like this:

 

  <td>
    <div class="text codecolorer">
      output=$(mysql -e "select * from table")
    </div>
  </td>
</tr>
1

The problem with the above approach is that all the words go into separate index. So if you have a line that has space then that is split into multiple index’s. Not good…

Continue reading

browsing the windows machines and their shares – listing

2011-04-30 1 min read Learning Uncategorized

 

smbtree is a very nice command to check all the machines that are present in the LAN (your connected network). For this to work you may need to look at this article also.

 

  <td>
    <div class="text codecolorer">
      smbtree -U <strong>username
    </div>
  </td>
</tr>
1
Enhanced by Zemanta

Easy ssh configuration with .ssh/config file

2011-04-11 1 min read Bash Learning Linux

If you ssh to many hosts then you are aware of the pain that it takes to ssh with different username and hostname. There is an alias that you can creat with native ssh though. Here I will show you the same with an example.

  <td>
    <div class="text codecolorer">
      cat <<EOF >>~/.ssh/config<br /> Host <alias><br /> Username <user name><br /> Port <port number><br /> Hostname <hostname>
    </div>
  </td>
</tr>
1
2
3
4
5

You can optionally omit the parameters that you do not require explicitly. For example, if your port number is default then you can simply ignore the parameter.

Continue reading

Break Free and let firefox remember all the passwords even the ones that are not saved by default

2010-03-28 2 min read Fedora Linux

Here we go against one more security policy of most of the sites like Bank and paypal and so on. These sites do not allow Firefox or any other browser to save the password. This is using some tags in the html/code of the page that would mark the field as not completeable or savable. So, what do you do?

I am on a home computer to which no one has access so why not save the password!! Let do it. There are couple of hacks that have been found to make firefox remember all the passwords. Here are a few of them (but Linux is not covered in any of them).<h1 id="article-title"><a title="Permanent Link to Tweak Firefox’s Password Saver Without An Extension" rel="bookmark" href="http://cybernetnews.com/2006/06/07/tweak-firefoxs-password-saver-without-an-extension/">Tweak Firefox’s Password Saver Without An Extension <h1 id="article-title"><a title="Permanent Link to Make Firefox Remember Passwords without a Bookmarklet" rel="bookmark" href="http://cybernetnews.com/2009/02/13/firefox-remember-passwords/">Make Firefox Remember Passwords without a Bookmarklet

Continue reading