pctechguide.com

  • Home
  • Guides
  • Tutorials
  • Articles
  • Reviews
  • Glossary
  • Contact

Developing a Python to Extract Data from Your Smartphone

Many times we ask ourselves: “What part of the universe is this phone from?”, even if we already know where it is, but we don’t know which operator. Let me tell you that in this little tutorial I’m going to show you how to extract information from a phone through an API with Python.

To use the API it is necessary to register in “numverify”. However, we are lucky on our side “IT IS FREE!”, with limitations, of course; you won’t be able to use it more than 250 times. Is that a problem? NO!, mostly we will only use it to extract some phone numbers or tests, so don’t worry.

Once registered, on the home page in our session, it will show us our API key. We’ll copy it and use the following syntax.

Even if you are not from this planet or this alternate reality and, you don’t have Python installed in your system; just use your browser!

So, this time, let’s use the “requests” library, to make a request to the API and manipulate the data with ease.

In part one (1) we were speechless with the ease in which you could encrypt data using python along with GnuPG now we come with the second (2) part to clarify more methods that gives us this tool and for an extra send the encrypted message to our own inbox.

In some posts of this blog I already cover about how to send an email message through python, however I want to facilitate the work. I took the trouble to create you a module that you can use not only for this example but also for your own script’s/programs.

The module can be found in my Github repository: “floppy – (https://github.com/DtxdF/floppy)”.

Let’s start …
First things first, let’s download Floppy:

git clone https://github.com/DtxdF/floppy.git o If we don’t have Git installed let’s download the zip entering directly from our browser

We agree:

cd floppy

We run python and import what we need:

GnuPG Methods
You may ask yourself “‘Is this what you got us excited for?”, NO!, not only for that, I also want you to know the other GnuPG methods so that you can take full advantage of the potential and create your own programs/scripts in an effective way.

As you can see, we have already learned two things: 1.- Encrypting data; 2.- Sending it by e-mail; Why not learn up to three things?

Before continuing, it is necessary to clarify:
data: The data/string/message to use
passphrase: Password Phrase
verify: Allows data to be verified in the event of an attempted impersonation or involuntary modification
love: Allows you to print/store data in a legitimate format
symmetric: Encrypt the data with a symmetric encryption algorithm (Symmetric encryption means that there is only one password to encrypt and decrypt, contrary to the case of asymmetric encryption)
always_trust: Always trust that it is a legitimate identity, as it is interesting how GnuPG has something called a circle of trust that increases every time we add and verify a new key.
sign: Allows to sign the data
recipient: GnuPG public key identifier
keyid: Practically the same as recipients, only it accepts the identifier/id of the public key being this not an email and is used in other GnuPG methods that I will mention.
secret: In some methods we will see we need to access the secret keys
expect_passphrase: In case you want to export secret keys you need to use the passphrase parameter, with this method you can specify whether or not the passphrase is required to be entered.

I want them to experiment, to immerse themselves in the dark and gruesome methods and attributes that GnuPG offers us. Use the function dir(…) and help(…) as your best friends; If you require a third best friend it will be me, but you have to tell me and finally if you want a third (3) part I will teach you how to use Tor in your client but again I tell you, leave me your comment to know and prepare another entry.

Filed Under: Articles

Latest Articles

Move Folders to Start Menu

Add Folders to Start Menu in Windows

I've been talking a little lately about how to keep your desktop more organized. I absolutely hate clutter on the desktop. It makes finding things a pain. I try to put only the most important things on the desktop. I have seen many people put dozens of folders on the desktop because they access them … [Read More...]

Slow Computer

5 Tips to Cure PC Slowness

Today's PCs are designed to be fast and agile. No one wants a computer that takes ages to boot up and even longer to load web pages. This isn't the 90s anymore where slow computers were more common. But, sometimes a computer can get gummed up and may need a little TLC to get it back to its old self. … [Read More...]

Guide to the Intel Core 2 Quad and Extreme processors

In November 2006 Intel released the first in their range of Intel Core 2 Quad processors. Codenamed the 'Kentsfield', the newly released processors were two Core 2 Duo chips connected by a 1066 MHz FSB all continued on one multi-chip module. The series number for the more powerful Core 2 … [Read More...]

Gaming Laptop Security Guide: Protecting Your High-End Hardware Investment in 2025

Since Jacob took over PC Tech Guide, we’ve looked at how tech intersects with personal well-being and digital safety. Gaming laptops are now … [Read More...]

20 Cool Creative Commons Photographs About the Future of AI

AI technology is starting to have a huge impact on our lives. The market value for AI is estimated to have been worth $279.22 billion in 2024 and it … [Read More...]

13 Impressive Stats on the Future of AI

AI technology is starting to become much more important in our everyday lives. Many businesses are using it as well. While he has created a lot of … [Read More...]

Graphic Designers on Reddit Share their Views of AI

There are clearly a lot of positive things about AI. However, it is not a good thing for everyone. One of the things that many people are worried … [Read More...]

Redditors Talk About the Impact of AI on Freelance Writers

AI technology has had a huge impact on our lives. A 2023 survey by Pew Research found that 56% of people use AI at least once a day or once a week. … [Read More...]

11 Most Popular Books on Perl Programming

Perl is not the most popular programming language. It has only one million users, compared to 12 million that use Python. However, it has a lot of … [Read More...]

Guides

  • Computer Communications
  • Mobile Computing
  • PC Components
  • PC Data Storage
  • PC Input-Output
  • PC Multimedia
  • Processors (CPUs)

Recent Posts

How to Remove Zentom System Guard

Easiest Removal Option: Remote Repair: Paying an expert to remove this threat is always the easiest option. It's also the most expensive. … [Read More...]

The Sony Xperia Z2 Tablet, 4G LTE

  Waterproof, slim and light plus 4G LTE Tablet. Enjoying the apps, lifestyle accessories, entertainment, handling mishaps, and what’s even … [Read More...]

TCO Monitor Standards

In 1995, TCO modified the requirements for visual ergonomics and added a range of conditions to cover environmental … [Read More...]

[footer_backtotop]

Copyright © 2025 About | Privacy | Contact Information | Wrtie For Us | Disclaimer | Copyright License | Authors