Cyber Detective💙💛 Profile picture
Mar 27, 2022 14 tweets 13 min read Read on X
How to read code written by other people

Examples of tools

(also good for code you wrote yourself more than a week ago)

🧵🧵🧵(0/9)
(1/9) Code beautifiers

Sometimes, simply putting the right indents, line breaks, and highlighting variables can go a long way toward making your code more readable.

#javascript beautifier.io
#php beautifytools.com/php-beautifier…
#python tutorialspoint.com/online_python_…
(2/9) Deobfuscators

Sometimes developers purposely make code unreadable with special tools - obfuscators (especially often in websites)

In such cases it is possible to use deobfuscators.

#javascript lelinhtinh.github.io/de4js/
#java javadeobfuscator.com
(3/9) Code explainers

This type of service simply translates code in a programming language into ordinary english language (in as much detail as possible)

Ex: explaincode.app
(4/9) "Code to flow chart"

Sometimes there are too many conditional statements in the code, so only a flowchart generator can help.

Ex: app.code2flow.com
(5/9) Code review tools

This type of tool will help identify the roughest code problems (like excessive complexity or large number of duplicates) to make it better as quickly as possible.

Ex (free for #opensource projects): codebeat.co deepsource.io
(6/9) "Code hint tools"

This type of tool just looks for syntax errors and various inconsistencies with technological standards in the code.

Ex: jshint.com
webhint.io
(5/9) Code review tools

This type of tool will help identify the roughest code problems (like excessive complexity or large number of duplicates) to make it better as quickly as possible.

Ex (free for #opensource projects): codebeat.co deepsource.io
(6/9) "Code hint tools"

This type of tool just looks for syntax errors and various inconsistencies with technological standards in the code.

Ex: jshint.com
webhint.io
(7/9) Online comments generators

These tools work much more crudely than Code Explanation or Code Hint, but they all help you quickly figure out which function/method is responsible for what.

#javascript smartcomments.github.io
#python pypi.org/project/docly/
(8/9) Compare two files

The automatic comparison comes in handy when you want to find differences between two different versions of code.

Files: w3docs.com/tools/code-dif…
Folders: devart.com/codecompare/
(9/9) Regular expression

If you need to find emails, nicknames or other "juicy" info in source code, you can use Regexp (there is no need to review their syntax, there are plenty of templates on the Internet)

Online: regexr.com
CLI: github.com/cipher387/grep…
In conclusion I would like to note once again that this article simply gives examples. All in all there are thousands of tools for automatic analysis of source code which combine various functions. Here is an example of such for #javascript:

@threader compile
@threadreaderapp unroll
@threadrip unroll
@PingThread unroll
@threadreaders unroll
@TurnipSocial save
@readwiseio save thread
@tresselapp save thread
@rattibha unroll

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Cyber Detective💙💛

Cyber Detective💙💛 Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @cyb_detective

Oct 17, 2023
#socmint cheatsheets from @Haax9_:

Google
LinkedIn
Twitter
Facebook
Instagram
Snapchat
TikTok
Tinder
Github
Reddit
Tumblr
Amazon & Digital Ocean Buckets
Parler

🧵🧵🧵⬇️⬇️
Google OSINT Cheatsheet



🧵🧵🧵⬇️⬇️

⚠️Some techniques may be outdated or may not work for all accounts⚠️ cheatsheet.haax.fr/open-source-in…
Image
Linkedin OSINT Cheatsheet



🧵🧵🧵⬇️⬇️

⚠️Some techniques may be outdated or may not work for all accounts⚠️ cheatsheet.haax.fr/open-source-in…
Image
Read 16 tweets
Aug 20, 2023
15 reverse face image search tips

- search engines
- AI image editing tools to enhance the quality of search results
- how to reverse face image search without photos
- quick face search on video
- protect yourself

🧵🧵🧵

#osint #socmint Image
When searching on Google, use not only Lens, but also the OLD image search (which gives very different results). You can access it using this tool:



🧵 1 googlelens.imagesniper.eu
Image


A very good tool for searching for faces and images in general, which is often more effective than Google. It also recognises text in images and translates it.

🧵 2 yandex.ru/images/
Image
Read 17 tweets
Mar 17, 2023
Is it possible to use neural networks to create a whole series of photos of one person for a fake social network profile ("sock puppet")?

I show by examples the possible way of solving the problem (this is not an easy way ).

🧵🧵🧵
In order to successfully pretend to be another person on the Internet, you need a series of photos in different places and different clothes. But it's a lot of work to make these (even with AI).

First, let's create a photo of a person's face.

huggingface.co/spaces/stabili…
Now let's try to combine this photo with different images of other men using UnCLIP_Image_Interpolation_Demo.

If you try many different variants and adjust step 12, there is a chance of getting some good-looking variants.

huggingface.co/spaces/NagaSai…
Read 7 tweets
Mar 17, 2023
Sometimes I do threads about members of the OSINT-community. For example, you may have already read about @Sox0j or @rly0nheart.

Today I want to talk about 9 tools lists made by @SerScorza, #osint and #dfir specialist from Italy.

🧵🧵🧵
Read 10 tweets
Mar 8, 2023
The #osint community includes participants from all over the world and every country has something to learn from.

6 tips for working with presentations and video reports in foreign languages

(1/7)🧵🧵🧵
You can take the easy way and just translate the presentation file using one of the many online services:

doctranslator.com/translate-ppt/
onlinedoctranslator.com
products.aspose.app/pdf/translate/…

But often this leads to poor quality results. But for some situations it is quite good.

(2/7)🧵
It is better to extract text from a presentation so you can translate it later with more advanced translators. This can be done with the help of these services:

products.aspose.app/slides/parser
zamzar.com/convert/pptx-t…
convertio.co/ppt-txt/

(3/7)🧵
Read 8 tweets
Feb 25, 2023
Tools for video📽️ analysis

Basic online tools to help you use information from videos more effectively in your #osint investigations:

- text extraction
- deepfake detection
- instant identification of key frames
- metadata view

and more.

(1/15)🧵
Often investigators have to deal with videos that are posted on various sites. Download them to your computer using these services:

YouTube:
en.y2mate.is
Instagram, Facebook, Twitter, Tiktok: inflact.com/downloader/
Vimeo and others:
savethevideo.com/downloader

(2/15)🧵
For slow and thoughtful viewing of YouTube videos frame by frame, these services are handy:

watchframebyframe.com
anilyzer.com

And any online video editor can be used for frame-by-frame analysis of the video file:

Veed, Canva, Clipchamp, Kapwing etc

(3/15)🧵
Read 16 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

Follow Us!

:(