PreviewGram is for users that wants get a more private experience with the Telegram's Channel.

Overview

PreviewGram Cover

Private PreviewGram

Run away from Metadata

[ ⚠️ ] - Warning:

USE A VPN TO HIDE YOUR IP IT'S IN TEST

PreviewGram is under LGPL License

Application's theme from UN-GCPDS/qt-material under BSD-2-Clause License.

Why use?

PreviewGram is for users that wants get a more private experience with the Telegram's Channel. It's because:

  • Telegram collects when you see determinate content
  • Groups show publicly who are the followers*
  • The channel owners can see who are them followers
  • Telegram added Group Read Receipts*
  • You must to trust on Telegram's Servers
  • * PreviewGram doesn't protects you against it, because can't view Group Chats.

[ ⚠️ ] - Warning

If you don't enabled Github's JavaScript, go to Telegram Privacy Issues Topic to understand more.

How to install

> pip install -r requirements.txt
> py -m build
> pip install dist/Private\ PreviewGram-1.1.tar.gz

[ ⚠️ ] - Note If you're in another version, change the 1.1 for the current version.

Or Download Last Release

Running without install

  • Clone this project
git clone https://github.com/RickBarretto/PreviewGram.git
pip -m test_application.py

Features

PreviewGram Screenshot

PreviewGram protects you when:

  • Disables JavaScript when Browsing
    • Doesn't store cookies
    • Doesn't run trackers
  • Uses a generic Chrome user-agent
  • Doesn't use Telegram's API
  • Doesn't require a Account

Useful Features:

  • Store locally your favorites Channels
  • Can't open some links

Limitations

PreviewGram isn't the perfection on Earth. Because:

  1. Doesn't use JavaScript
  2. It's limited by the Telegram's Preview Site itself.

So, PreviewGram can't:

  • Hide your IP*
  • Play videos**
  • See Group Chats***
  • Download files directly*** (instead this, do: RMB**** > Copy link address and download on Telegram App)

Tips

  • Always use Vpn or Proxy
  • To open links, do RMB* > Copy link address
  • If you want to watch videos, please use Tor** (or any Browser that you trust)
  • Click on Test privacy! button to test for yourself. It's tested by What Is My Browser***

Extra: Accessing channels through TorBrowser

Go to Accessing via Tor topic.

VPN, Proxy and Tor

Differences

Proxy

Proxy is your online ID, hiding you real IP Address. It's a intermediary between your Web Browser and the internet, a web site for example. (Needs to be configured per-app basis)

VPN

VPN covers 100% of you device traffic, encrypting the connection. It'll hide your real IP Address.

The Onion Route (Tor)

Tor anonymizes your traffic sending it through a series of proxies, this proxies are called Nodes, that encrypts the traffic and sends to destiny using a Exit Node.

Sources:

The Tor's Power

With and Without Tor:

Tor: off / Https: off Tor: off / Https: on Tor: on / Https: on
Tor: off / Https: off Tor: off / Https: on Tor: on / Https: on

Source: When I'm using Tor, can eavesdroppers still see the information I share with websites, like login information and things I type into forms?

Why PreviewGram doesn't use Tor's Proxy by itself?

Tor have some issues, and aren't recommended to use Tor outside TorBrowser to avoid DNS Leaks and VPN+TOR issues.

Sources:

But What The F 😡 😡 😡 talking about Tor, if PreviewGram doesn't use it???

Because you can Access the channels via Tor

Yep, you don't need this application if you have Tor... 🙃

Accessing via Tor

  1. Create a "Telegram Channels" Folder on Bookmarks
    • Create Folder
  2. To access your favorite channel, put a /s/ between the domain and channel name, example: https://t.me/previewgram to https://t.me/s/previewgram
  3. Save to "Telegram Channels"'s Bookmark Folder
    • Save to BookMark
  4. Access when you want!
  5. Extra: make Tor portable and use the Mobile Tor Browser to use everywhere.

Sources:

Help PreviewGram

If you're a Dev (or not), help PreviewGram forking and making pull requests. Don't afraid to use the Github's Issue Tab to make critics, suggestions, bugs and security reports! 😉


To Do

  • Block telegram.org and other https requests using the webView.page().profile().setUrlRequestInterceptor(interceptor) (Thanks, dbunk!)
  • Channel Categories
  • Open on Tor
  • UI improvements?

Telegram Privacy Issues

As any Social Network app, Telegram suffers with Osint (Open-Source Intelligence), be caution with the information that you exposes publicly about yourself!

Osint Problems:

What is Osint?

Yeah, it's the information era, 500 milions tweets are published every day. Public informations like birthday, complete name, age are available on internet published by its own users. Which in itself poses privacy risks.

"Open-source intelligence (OSINT) is a multi-factor (qualitative, quantitative) methodology for collecting, analyzing and making decisions about data accessible in publicly available sources to be used in an intelligence context." Source: Open-Source Intelligence - Wikiless

So, caution with your public information! 😉

Articles:

Comments
  • Fix Pylint

    Fix Pylint

    • Critical:
      • [x] no-method-argument (E0211)
    • Medium:
      • [x] pointless-statement (W0104)
      • [x] pointless-string-statement (W0105)
      • [x] unnecessary-pass (W0107)
      • [x] unused-import (W0611)
      • [x] unused-variable (W0612)
    • Minor:
      • [x] PEP 257 docstring style checker
      • [x] no-self-use (R0201)
      • [x] trailing-whitespace (C0303)
      • [x] pyflakes
    opened by RickBarretto 1
  • Change `pip` for `pipx` or `poetry`

    Change `pip` for `pipx` or `poetry`

    Change install instructions from pip, on Readme

    Cause

    Pip doesn't use virtual environment by standard, setting packages on a global environment. It's a big problem, and causes conflicts between projects with the same packages but with different versions.

    Solution

    Use Poetry~~or PyEnv~~ for libraries and Poetryor PipXfor Applications.

    Read: Why use Poetry instead PyEnv

    opened by RickBarretto 0
  • Can't compile to `.exe`

    Can't compile to `.exe`

    Can't compile to executable file

    I followed the: Qt supported Libs,

    I tried 4 libraries, but no one could compile my code:

    Libraries

    The causes

    Auto Py to Exe

    Cx Freeze

    • Needs Visual Studio C++ compiler, that I don't will download because it's heavy. ⚒️
    • Repo link

    Fbs

    • The free version of fbs only supports Python 3.5 and 3.6. 😡
    • Repo link

    Nuitka

    bug 
    opened by RickBarretto 1
  • Fix Style code on Readme

    Fix Style code on Readme

    Current issues founded by Codacy:

    • remark-lint

      • [ ] list-item-indent
      • [ ] no-undefined-references
      • [ ] no-consecutive-blank-lines
      • [ ] no-heading-punctuation
    • Markdown Lint

      • [x] MD002 - First heading should be a top-level heading
      • [x] MD007 - Unordered list indentation
      • [x] MD009 - Trailing spaces
      • [x] MD032 - Lists should be surrounded by blank lines
      • [x] MD012 - Multiple consecutive blank lines
      • [x] MD013 - Line length
        • [ ] Change table to a single image
      • [x] MD022 - Headings should be surrounded by blank lines
      • [x] MD026 - Trailing punctuation in heading
      • [x] MD028 - Blank line inside blockquote
      • [x] MD033 - Inline HTML
      • [x] MD041 - First line in a file should be a top-level heading
      • [x] MD047 - Files should end with a single newline character
      • [x] MD006 - Consider starting bulleted lists at the beginning of the line
      • [x] MD043 - Required heading structure
    codacy 
    opened by RickBarretto 0
  • Block Fav Icon Request

    Block Fav Icon Request

    opened by RickBarretto 0
Releases(1.1)
Owner
Learning Python, Html and Css, and ShellScript; Soon learn JS.
This project is for finding a solution to use Security Onion Elastic data with Jupyter Notebooks.

This project is for finding a solution to use Security Onion Elastic data with Jupyter Notebooks. The goal is to successfully use this notebook project below with Security Onion for beacon detection

4 Jun 08, 2022
SSL / TLS Checking Tool written in Python3

ssts-chk SSL / TLS Checking Tool written in Python3. This tool will perform the following functions: Connect the target given Analyze the secure conne

Douglas Berdeaux 2 Feb 12, 2022
IDA Python Script for anti ollvm

IDA Python Script for anti ollvm

Shocker 62 Dec 23, 2022
WinRemoteEnum is a module-based collection of operations achievable by a low-privileged domain user.

WinRemoteEnum WinRemoteEnum is a module-based collection of operations achievable by a low-privileged domain user, sharing the goal of remotely gather

Simon 9 Nov 09, 2022
Trustme: #1 quality TLS certs while you wait

trustme: #1 quality TLS certs while you wait You wrote a cool network client or server. It encrypts connections using TLS. Your test suite needs to ma

479 Dec 27, 2022
EMBArk - The firmware security scanning environment

Embark is being developed to provide the firmware security analyzer emba as a containerized service and to ease accessibility to emba regardless of system and operating system.

emba 175 Dec 14, 2022
Writeups for wtf-CTF hosted by Manipal Information Security Team as part of Techweek2021- INCOGNITO

wtf-CTF_Writeups Table of Contents Table of Contents Crypto Misc Reverse Pwn Web Crypto wtf_Bot Author: Madjelly Join the discord server!You know how

6 Jun 07, 2021
Exploit-CVE-2021-21086

CVE-2021-21086 Exploit This exploit allows to execute a shellcode in the context of the rendering process of Adobe Acrobat Reader DC 2020.013.20074 an

Faraday 23 Nov 09, 2022
Obfuscate your Python scripts better, faster.

⚜️ Berserker ⚜️ An unique Python3 obfuscator using Kyrie Eleison's encryption protocol, written in Python3. 📋 Examples 📋 Unobfuscated: input("Hello

Billy 81 Dec 07, 2022
Python implementation for PrintNightmare (CVE-2021-1675 / CVE-2021-34527) using standard Impacket.

PrintNightmare Python implementation for PrintNightmare (CVE-2021-1675 / CVE-2021-34527) using standard Impacket. Installtion $ pip3 install impacket

Oliver Lyak 140 Dec 27, 2022
RDP Stealer

RDP Stealer RDP Stealer by lamp Require Python How To Use Download This Source Extract The Zip File Change webhook url Convert to exe send to target I

Lamp 14 Nov 26, 2022
Übersicht remote command execution 0day exploit

Übersicht RCE 0day Unauthenticated remote command execution 0day exploit for Übersicht. Description Übersicht is a desktop widget application for m

BoofGang 10 Dec 21, 2021
A small script to export all AWAF policies from a BIG-IP device

This script leverages BIG-IP iControl REST API to export ALL AWAF policies in the system and saves them locally. The policies can be exported in the following formats: xml, plc and json.

3 Feb 03, 2022
Unsafe Twig processing of static pages leading to RCE in Grav CMS 1.7.10

CVE-2021-29440 Unsafe Twig processing of static pages leading to RCE in Grav CMS 1.7.10 Grav is a file based Web-platform. Twig processing of static p

Enox 6 Oct 10, 2022
D-810 is an IDA Pro plugin which can be used to deobfuscate code at decompilation time by modifying IDA Pro microcode.

Introduction fork from https://gitlab.com/eshard/d810 What is D-810 D-810 is an IDA Pro plugin which can be used to deobfuscate code at decompilation

Banny 30 Dec 06, 2022
POC for detecting the Log4Shell (Log4J RCE) vulnerability.

log4shell-poc-py POC for detecting the Log4Shell (Log4J RCE) vulnerability. Run on a system with python3 python3 log4shell-poc.py pathToTargetFile

BCC Risk Advisory 2 Dec 22, 2021
Python script to tamper with pages to test for Log4J Shell vulnerability.

log4jShell Scanner This shell script scans a vulnerable web application that is using a version of apache-log4j 2.15.0. This application is a static

GoVanguard 8 Oct 20, 2022
CVE-2022-22965 - CVE-2010-1622 redux

CVE-2022-22965 - vulnerable app and PoC Trial & error $ docker rm -f rce; docker build -t rce:latest . && docker run -d -p 8080:8080 --name rce rce:la

Duarte Duarte 20 Aug 25, 2022
BF-Hash - A Python Tool to decrypt hashes by brute force

BF-Hash Herramienta para descifrar hashes por fuerza bruta Instalación git clone

5 Apr 09, 2022