Cyber-Parallel-Dataset-Indic / ur /Black Hat GraphQL - Attacking Next Generation APIs_indic_translation.jsonl
mantri511's picture
Upload 550 files
2279b8e verified
{"en":"GraphQL APIs typically use the POST method for all operations.","translation":"GraphQL APIs عام طور پر تمام کارروائیوں کے لیے POST طریقہ استعمال کرتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"REST APIs use different HTTP methods like GET for reading data.","translation":"REST APIs ڈیٹا پڑھنے کے لیے GET جیسے مختلف HTTP طریقے استعمال کرتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"GraphQL can also accept queries over the GET method.","translation":"GraphQL GET طریقہ کار کے ذریعے استفسارات بھی قبول کر سکتا ہے۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"The endpoint in GraphQL is usually located at /graphql.","translation":"GraphQL میں اختتامی نقطہ عام طور پر /graphql پر واقع ہوتا ہے۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"REST APIs expose each resource at a separate endpoint.","translation":"REST APIs ہر وسیلہ کو ایک الگ اختتامی نقطہ پر ظاہر کرتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"HTTP status codes play a key role in REST APIs.","translation":"HTTP اسٹیٹس کوڈز REST APIs میں ایک اہم کردار ادا کرتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"GraphQL APIs almost exclusively return 200 OK.","translation":"GraphQL APIs تقریباً خصوصی طور پر 200 OK واپس کرتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"Errors in GraphQL are indicated in the response payload.","translation":"GraphQL میں غلطیوں کی نشاندہی رسپانس پے لوڈ میں کی جاتی ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Traditional security tools may report false positives.","translation":"روایتی سیکیورٹی ٹولز غلط مثبت نتائج کی اطلاع دے سکتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"GraphQL doesn't comply with standard HTTP status code principles.","translation":"GraphQL معیاری HTTP اسٹیٹس کوڈ اصولوں کی تعمیل نہیں کرتا ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Security operators face challenges when analyzing GraphQL logs.","translation":"سیکیورٹی آپریٹرز کو GraphQL لاگز کا تجزیہ کرتے وقت چیلنجز کا سامنا کرنا پڑتا ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Developers often deploy GraphQL without proper research.","translation":"ڈویلپرز اکثر مناسب تحقیق کے بغیر GraphQL کو تعینات کرتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Hackers can leverage this lack of compliance.","translation":"ہیکرز اس عدم تعمیل سے فائدہ اٹھا سکتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"GraphiQL Explorer is a GUI for running queries.","translation":"GraphiQL Explorer استفسارات چلانے کے لیے ایک GUI ہے۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"The auto-completion feature is very useful.","translation":"خودکار تکمیل کی خصوصیت بہت مفید ہے۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"GraphiQL Explorer uses the introspection query.","translation":"GraphiQL Explorer اندرونی معائنہ استفسار استعمال کرتا ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"GraphQL servers are unauthenticated by default.","translation":"GraphQL سرورز بذات خود غیر مصدقہ ہیں۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"The API server should implement protections.","translation":"API سرور کو تحفظات کو نافذ کرنا چاہیے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"We will use Kali as the base OS for our lab.","translation":"ہم اپنے لیب کے لیے کالی کو بیس OS کے طور پر استعمال کریں گے۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"Install a vulnerable GraphQL server for testing.","translation":"جانچ کے لیے ایک کمزور GraphQL سرور انسٹال کریں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"The book provides a practical resource for offensive security engineers.","translation":"یہ کتاب جارحانہ سیکیورٹی انجینئرز کے لیے ایک عملی وسیلہ فراہم کرتی ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"By bridging the gap between the hacking community and the GraphQL ecosystem, we aim to improve this increasingly popular technology.","translation":"ہیکنگ کمیونٹی اور GraphQL ماحولیاتی نظام کے درمیان خلا کو پُر کرکے، ہمارا مقصد اس تیزی سے مقبول ٹیکنالوجی کو بہتر بنانا ہے۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"This book is for anyone interested in learning how to break and protect GraphQL APIs.","translation":"یہ کتاب ان لوگوں کے لیے ہے جو GraphQL APIs کو توڑنے اور محفوظ کرنے کا طریقہ سیکھنے میں دلچسپی رکھتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"You can practice everything covered in this book in its dedicated security lab.","translation":"آپ اس کتاب میں شامل ہر چیز کی مشق اس کے مخصوص سیکیورٹی لیب میں کر سکتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"We highly recommend experimenting with the material shared throughout the 10 chapters.","translation":"ہم آپ کو 10 ابواب میں شیئر کیے گئے مواد کے ساتھ تجربہ کرنے کی پرزور سفارش کرتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"The repository includes artifacts sorted by chapter, such as GraphQL code samples, exploits, queries, and more.","translation":"اس ذخیرے میں باب کے لحاظ سے ترتیب دی گئی اشیاء شامل ہیں، جیسے GraphQL کوڈ کے نمونے، استحصال، استفسارات، اور بہت کچھ۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"In Chapter 1: A Primer on GraphQL, you’ll be introduced to the technology.","translation":"باب 1: GraphQL پر ایک پرائمر میں، آپ کو ٹیکنالوجی سے متعارف کرایا جائے گا۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"We’ll guide you through installing and configuring them.","translation":"ہم آپ کو انہیں انسٹال اور کنفیگر کرنے میں رہنمائی کریں گے۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"If you are new to GraphQL, play close attention to Chapter 3: The GraphQL Attack Surface.","translation":"اگر آپ GraphQL میں نئے ہیں، تو باب 3: GraphQL اٹیک سرفیس پر توجہ دیں۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"This chapter has two goals: introducing you to the many components of the technology and enabling you to think about these concepts in a hacking context.","translation":"اس باب کے دو مقاصد ہیں: آپ کو ٹیکنالوجی کے بہت سے اجزاء سے متعارف کرانا اور آپ کو ہیکنگ کے تناظر میں ان تصورات کے بارے میں سوچنے کے قابل بنانا۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"In Chapter 4: Reconnaissance, we’ll use data collection and target mapping.","translation":"باب 4: ریکونیسنس میں، ہم ڈیٹا اکٹھا کرنے اور ٹارگٹ میپنگ کا استعمال کریں گے۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"Denial of service is one of the most prevalent vulnerabilities in GraphQL.","translation":"سروس سے انکار GraphQL میں سب سے زیادہ عام کمزوریوں میں سے ایک ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"We’ll leverage insecure configurations and abuse GraphQL features.","translation":"ہم غیر محفوظ کنفیگریشنز کا فائدہ اٹھائیں گے اور GraphQL خصوصیات کا غلط استعمال کریں گے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"You should expect to find authorization and authentication controls.","translation":"آپ کو اجازت اور تصدیق کے کنٹرول ملنے کی توقع کرنی چاہیے۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"Chapter 7: Authentication and Authorization Bypasses will teach you how to test for bypasses.","translation":"باب 7: تصدیق اور اجازت نامے آپ کو بائی پاس کی جانچ کرنے کا طریقہ سکھائے گا۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Processing user input is a necessary evil.","translation":"صارف کے ان پٹ پر کارروائی کرنا ایک ضروری برائی ہے۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"Chapter 8: Injection will cover several injection types.","translation":"باب 8: انجیکشن کئی انجیکشن اقسام کا احاطہ کرے گا۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"We’ll use manual techniques as well as automated tools.","translation":"ہم دستی تکنیکوں کے ساتھ ساتھ خودکار ٹولز کا استعمال کریں گے۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"In Chapter 9: Request Forgery and Hijacking, we’ll discuss cross-site request forgery.","translation":"باب 9: درخواست جعل سازی اور ہائی جیکنگ میں، ہم کراس سائٹ درخواست جعل سازی پر تبادلہ خیال کریں گے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"We’ll dissect these artifacts to reinforce the takeaways of previous chapters.","translation":"ہم پچھلے ابواب کے خلاصے کو تقویت دینے کے لیے ان نمونوں کو الگ کریں گے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"DVGA, the GraphQL server will notify all subscribers of the event.","translation":"ڈی وی جی اے، GraphQL سرور ایونٹ کے تمام سبسکرائبرز کو مطلع کرے گا۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"This removes the need for the client to constantly ask the server for updates.","translation":"اس سے کلائنٹ کو مسلسل سرور سے اپ ڈیٹس مانگنے کی ضرورت ختم ہو جاتی ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"If you want to try sending this subscription request to DVGA by using Altair, you’ll need to assign a subscription URL.","translation":"اگر آپ الٹائر کا استعمال کرتے ہوئے ڈی وی جی اے کو یہ سبسکرپشن درخواست بھیجنے کی کوشش کرنا چاہتے ہیں، تو آپ کو ایک سبسکرپشن یو آر ایل تفویض کرنے کی ضرورت ہوگی۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"You can do so in Altair by clicking the two-arrow icon on the left sidebar and entering the WebSocket URL ws://localhost:5013/subscriptions.","translation":"آپ الٹائر میں بائیں سائیڈبار پر دو تیر والے آئیکن پر کلک کرکے اور WebSocket URL ws://localhost:5013/subscriptions درج کرکے ایسا کر سکتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"Next, to receive data from the DVGA subscription, you’ll need to create a paste.","translation":"اس کے بعد، ڈی وی جی اے سبسکرپشن سے ڈیٹا حاصل کرنے کے لیے، آپ کو ایک پیسٹ بنانے کی ضرورت ہوگی۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"You can either use the DVGA user interface to create it via the Public Pastes page or send a mutation.","translation":"آپ اسے پبلک پیسٹس پیج کے ذریعے بنانے کے لیے ڈی وی جی اے یوزر انٹرفیس استعمال کر سکتے ہیں یا ایک تغیر بھیج سکتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"WebSocket connections are prone to cross-site WebSocket hijacking (CSWSH) vulnerabilities.","translation":"WebSocket کنکشن کراس سائٹ WebSocket ہائی جیکنگ (CSWSH) کمزوریوں کا شکار ہیں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"WebSocket connections can also be vulnerable to man-in-the-middle (MITM) attacks.","translation":"WebSocket کنکشن مین ان دی مڈل (MITM) حملوں کا بھی شکار ہو سکتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"In Chapter 9, we’ll cover WebSocket-based attacks in more detail.","translation":"باب 9 میں، ہم WebSocket پر مبنی حملوں کو مزید تفصیل سے بیان کریں گے۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"GraphQL operation names are labels used to uniquely identify an operation in certain contexts.","translation":"GraphQL آپریشن کے نام ایسے لیبل ہیں جو مخصوص سیاق و سباق میں کسی آپریشن کی منفرد شناخت کے لیے استعمال ہوتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"These documents can contain a list of one or more operations.","translation":"ان دستاویزات میں ایک یا زیادہ آپریشنز کی فہرست ہو سکتی ہے۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"If the document has more than one operation of the same type, operation names must be used.","translation":"اگر دستاویز میں ایک ہی قسم کے ایک سے زیادہ آپریشن ہیں، تو آپریشن کے نام استعمال کرنا ضروری ہیں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Clients define these operation names, which means they can be completely random.","translation":"کلائنٹ ان آپریشن کے ناموں کی وضاحت کرتے ہیں، جس کا مطلب ہے کہ وہ مکمل طور پر بے ترتیب ہو سکتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"For example, imagine that a client sends a document using the operation name getPastes, but instead of returning a list of paste objects, they in fact delete all pastes.","translation":"مثال کے طور پر، تصور کریں کہ ایک کلائنٹ آپریشن کے نام getPastes کا استعمال کرتے ہوئے ایک دستاویز بھیجتا ہے، لیکن پیسٹ آبجیکٹ کی فہرست واپس کرنے کے بجائے، وہ درحقیقت تمام پیسٹس کو حذف کر دیتا ہے۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"Because operation names are client-driven inputs, they could also potentially be used as attack vectors for injection.","translation":"چونکہ آپریشن کے نام کلائنٹ سے چلنے والے ان پٹ ہیں، اس لیے انہیں انجیکشن کے لیے حملے کے ویکٹر کے طور پر بھی استعمال کیا جا سکتا ہے۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"Fields are very important when it comes to interacting with GraphQL services.","translation":"GraphQL سروسز کے ساتھ تعامل کے لیے فیلڈز بہت اہم ہیں۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"Luckily, implementations have deployed a handy tool for us, known as field suggestions.","translation":"خوش قسمتی سے، عمل درآمد نے ہمارے لیے ایک آسان ٹول تعینات کیا ہے، جسے فیلڈ تجاویز کے نام سے جانا جاتا ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Arguments can also be passed to nested fields.","translation":"دلائل کو نیسٹڈ فیلڈز میں بھی پاس کیا جا سکتا ہے۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"Arguments are unordered, which means that changing their order does not change the logic of the query.","translation":"دلائل غیر ترتیب شدہ ہیں، جس کا مطلب ہے کہ ان کی ترتیب کو تبدیل کرنے سے استفسار کی منطق تبدیل نہیں ہوتی ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Aliases allow clients to change a field’s response key to something other than the original field’s name.","translation":"الیسز کلائنٹس کو کسی فیلڈ کی رسپانس کی کو اصل فیلڈ کے نام کے علاوہ کسی اور چیز میں تبدیل کرنے کی اجازت دیتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"You will be able to see this information when we run queries against DVGA.","translation":"آپ یہ معلومات دیکھ سکیں گے جب ہم ڈی وی جی اے کے خلاف استفسارات چلائیں گے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Figure 2-7 shows an example of a paste in DVGA.","translation":"شکل 2-7 ڈی وی جی اے میں پیسٹ کی ایک مثال دکھاتی ہے۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"You can see the title and content of the paste, as well as its author (Darcee) and some metadata about them, such as their internet protocol (IP) address (215.0.2.85) and web browser (Mozilla/5.0).","translation":"آپ پیسٹ کا عنوان اور مواد دیکھ سکتے ہیں، نیز اس کے مصنف (ڈارسی) اور ان کے بارے میں کچھ میٹا ڈیٹا، جیسے ان کا انٹرنیٹ پروٹوکول (IP) ایڈریس (215.0.2.85) اور ویب براؤزر (موزيلا/5.0)۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Testing DVGA Now that you have a target application in your lab environment, verify that the application is up and its GraphQL API is accessible on the network with a simple GraphQL query.","translation":"ڈی وی جی اے کی جانچ اب جب کہ آپ کے پاس اپنے لیب ماحول میں ایک ٹارگٹ ایپلی کیشن ہے، اس بات کی تصدیق کریں کہ ایپلی کیشن چل رہی ہے اور اس کا GraphQL API ایک سادہ GraphQL استفسار کے ساتھ نیٹ ورک پر قابل رسائی ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Open the Altair client and enter http://localhost:5013/graphql in the address bar.","translation":"الٹائر کلائنٹ کھولیں اور ایڈریس بار میں http://localhost:5013/graphql درج کریں۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"Next, enter the following GraphQL query in the left pane: query { systemHealth }","translation":"اس کے بعد، بائیں پین میں درج ذیل GraphQL استفسار درج کریں: استفسار { systemHealth }","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"This query should result in output similar to that shown in Figure 2-8.","translation":"اس استفسار کے نتیجے میں شکل 2-8 میں دکھائے گئے جیسا ہی آؤٹ پٹ آنا چاہیے۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"Names in GraphQL are case-sensitive, so make sure you follow the capitalization in systemHealth; otherwise, this query will result in an error.","translation":"GraphQL میں نام کیس حساس ہیں، لہذا یقینی بنائیں کہ آپ systemHealth میں کیپٹلائزیشن کی پیروی کرتے ہیں؛ بصورت دیگر، اس استفسار کے نتیجے میں ایک غلطی آئے گی۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"In Chapter 1, we highlighted the differences between REST and GraphQL APIs.","translation":"باب 1 میں، ہم نے REST اور GraphQL APIs کے درمیان فرق کو اجاگر کیا۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"These differences required the security industry to build GraphQL support into existing tools.","translation":"ان اختلافات کے لیے سیکیورٹی انڈسٹری کو موجودہ ٹولز میں GraphQL سپورٹ بنانے کی ضرورت تھی۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"In some cases, hackers also created new tools designed exclusively for penetration testing GraphQL applications.","translation":"کچھ معاملات میں، ہیکرز نے خصوصی طور پر GraphQL ایپلی کیشنز کی دخول جانچ کے لیے ڈیزائن کردہ نئے ٹولز بھی بنائے ہیں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Burp Suite is application security testing software by PortSwigger (https://portswigger.net) that proxies traffic between your web browser and the target application, allowing you to intercept, modify, and replay requests coming in and out of your computer.","translation":"برپ سوٹ پورٹ سوِگر (https://portswigger.net) کا ایپلیکیشن سیکیورٹی ٹیسٹنگ سافٹ ویئر ہے جو آپ کے ویب براؤزر اور ٹارگٹ ایپلی کیشن کے درمیان ٹریفک کو پراکسی کرتا ہے، جس سے آپ اپنے کمپیوٹر سے آنے اور جانے والی درخواستوں کو روکنے، تبدیل کرنے اور دوبارہ چلانے کی اجازت دیتا ہے۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"In the Kali Applications menu’s search bar, enter Burp Suite and click the application.","translation":"کالی ایپلیکیشنز مینو کی سرچ بار میں، برپ سوٹ درج کریں اور ایپلیکیشن پر کلک کریں۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"Create a temporary project by selecting the Temporary Project radio button, and click Next.","translation":"عارضی پروجیکٹ ریڈیو بٹن کو منتخب کرکے ایک عارضی پروجیکٹ بنائیں، اور اگلا پر کلک کریں۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"Next, let’s ensure that Burp Suite can proxy HTTP traffic to DVGA.","translation":"اس کے بعد، آئیے یقینی بنائیں کہ برپ سوٹ ڈی وی جی اے کو HTTP ٹریفک کو پراکسی کر سکتا ہے۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"In the browser, enter http://localhost:5013/graphiql and press ENTER.","translation":"براؤزر میں، http://localhost:5013/graphiql درج کریں اور ENTER دبائیں۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"This will initiate a GET request to DVGA, which Burp Suite should automatically intercept.","translation":"یہ ڈی وی جی اے کو ایک GET درخواست شروع کرے گا، جسے برپ سوٹ کو خود بخود روکنا چاہیے۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"Burp Suite should now highlight the Intercept tab (typically in orange), indicating it has intercepted the outgoing request.","translation":"برپ سوٹ کو اب انٹرسیپٹ ٹیب (عام طور پر نارنجی رنگ میں) کو نمایاں کرنا چاہیے، جو اس بات کی نشاندہی کرتا ہے کہ اس نے باہر جانے والی درخواست کو روک لیا ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Go ahead and click the Intercept Is On button. This will unblock the request and send it to DVGA.","translation":"آگے بڑھیں اور انٹرسیپٹ از آن بٹن پر کلک کریں۔ یہ درخواست کو غیر مسدود کر دے گا اور اسے ڈی وی جی اے کو بھیج دے گا۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"We’ve verified that Burp Suite is installed and configured and can intercept traffic going from your browser to DVGA.","translation":"ہم نے تصدیق کی ہے کہ برپ سوٹ انسٹال اور کنفیگر ہے اور آپ کے براؤزر سے ڈی وی جی اے جانے والے ٹریفک کو روک سکتا ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"That the content of this book is intended for educational purposes only.","translation":"یہ کتاب صرف تعلیمی مقاصد کے لیے ہے۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"We highly encourage you to receive formal authorization before performing any penetration test against applications.","translation":"ہم آپ کو درخواستوں کے خلاف کوئی بھی دخول ٹیسٹ کرنے سے پہلے باضابطہ اجازت حاصل کرنے کی بھرپور حوصلہ افزائی کرتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"In this chapter, we’ll provide an overview of GraphQL, including why it exists and which of its features make it interesting to many of today’s technology giants.","translation":"اس باب میں، ہم GraphQL کا ایک جائزہ پیش کریں گے، جس میں یہ بھی شامل ہے کہ یہ کیوں موجود ہے اور اس کی کون سی خصوصیات اسے آج کے بہت سے ٹیکنالوجی کے بڑے اداروں کے لیے دلچسپ بناتی ہیں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"You’ll also explore how it differs from RESTful APIs and send your very first GraphQL query.","translation":"آپ یہ بھی دیکھیں گے کہ یہ RESTful APIs سے کیسے مختلف ہے اور اپنا پہلا GraphQL استفسار بھیجیں گے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"GraphQL is an open source data query and manipulation language for application programming interfaces (APIs).","translation":"GraphQL ایپلی کیشن پروگرامنگ انٹرفیس (APIs) کے لیے ایک اوپن سورس ڈیٹا استفسار اور ہیرا پھیری کی زبان ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"APIs allow two applications to exchange information in the form of requests and responses by following a set of rules that define the way the applications should connect and communicate.","translation":"APIs دو ایپلی کیشنز کو درخواستوں اور جوابات کی شکل میں معلومات کا تبادلہ کرنے کی اجازت دیتے ہیں ان قواعد کے ایک سیٹ پر عمل کر کے جو اس طریقے کی وضاحت کرتے ہیں جس سے ایپلی کیشنز کو جڑنا اور بات چیت کرنی چاہیے۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"Typically, a web browser, like Google Chrome or Mozilla Firefox, acts as the API client, or consumer.","translation":"عام طور پر، ایک ویب براؤزر، جیسے گوگل کروم یا موزیلا فائر فاکس، API کلائنٹ یا صارف کے طور پر کام کرتا ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"This consumer interacts with an application server, via the application’s API, to read or alter certain information on the server.","translation":"یہ صارف سرور پر موجود کچھ معلومات کو پڑھنے یا تبدیل کرنے کے لیے ایپلی کیشن کے API کے ذریعے ایک ایپلی کیشن سرور کے ساتھ تعامل کرتا ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"API consumers aren’t always browsers; machines, such as other servers on the network, can be GraphQL API consumers too.","translation":"API صارفین ہمیشہ براؤزر نہیں ہوتے؛ مشینیں، جیسے نیٹ ورک پر موجود دیگر سرورز، GraphQL API صارفین بھی ہو سکتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Unlike other API formats, GraphQL allows an API consumer to request specific data from an application’s server without also receiving unnecessary information.","translation":"دوسرے API فارمیٹس کے برعکس، GraphQL ایک API صارف کو کسی ایپلی کیشن کے سرور سے مخصوص ڈیٹا کی درخواست کرنے کی اجازت دیتا ہے بغیر غیر ضروری معلومات حاصل کیے۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"Contrast this approach with traditional REST API architectures, which provide a fixed data structure and then rely on the clients to filter out any unnecessary information they don’t need.","translation":"اس نقطہ نظر کا موازنہ روایتی REST API فن تعمیرات سے کریں، جو ایک مقررہ ڈیٹا ڈھانچہ فراہم کرتے ہیں اور پھر کلائنٹس پر انحصار کرتے ہیں کہ وہ کسی بھی غیر ضروری معلومات کو فلٹر کریں جن کی انہیں ضرورت نہیں ہے۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"From a security perspective, GraphQL’s design provides an advantage.","translation":"سیکیورٹی کے نقطہ نظر سے، GraphQL کا ڈیزائن ایک فائدہ فراہم کرتا ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Because GraphQL doesn’t return data that the client doesn’t explicitly ask for, its use reduces opportunities for information disclosure issues.","translation":"چونکہ GraphQL وہ ڈیٹا واپس نہیں کرتا ہے جو کلائنٹ واضح طور پر نہیں مانگتا ہے، اس لیے اس کا استعمال معلومات کے انکشاف کے مسائل کے مواقع کو کم کرتا ہے۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"Returning more data than a client needs could lead to the unintentional exposure of sensitive data, such as personally identifiable information (PII), which could cause many other problems, especially for companies operating under heavy regulatory rules.","translation":"کلائنٹ کی ضرورت سے زیادہ ڈیٹا واپس کرنے سے حساس ڈیٹا، جیسے ذاتی طور پر قابل شناخت معلومات (PII) کا غیر ارادی طور پر انکشاف ہو سکتا ہے، جو بہت سے دوسرے مسائل کا باعث بن سکتا ہے، خاص طور پر ان کمپنیوں کے لیے جو بھاری ریگولیٹری قوانین کے تحت کام کر رہی ہیں۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"However, as you’ll soon see, GraphQL also has security weaknesses that we, as hackers, can exploit.","translation":"تاہم، جیسا کہ آپ جلد ہی دیکھیں گے، GraphQL میں بھی سیکیورٹی کمزوریاں ہیں جن کا ہم، بطور ہیکرز، استحصال کر سکتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Facebook developed GraphQL in 2012 and used it for a few years in its production environments before releasing it as open source software in 2015.","translation":"فیس بک نے 2012 میں GraphQL تیار کیا اور اسے 2015 میں اوپن سورس سافٹ ویئر کے طور پر جاری کرنے سے پہلے چند سالوں تک اپنے پروڈکشن ماحول میں استعمال کیا۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"GraphQL is now maintained by the GraphQL Foundation, an organization founded by global technology companies.","translation":"GraphQL اب GraphQL فاؤنڈیشن کے ذریعے برقرار رکھا جاتا ہے، جو ایک تنظیم ہے جو عالمی ٹیکنالوجی کمپنیوں نے قائم کی ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Just about any application and device can use GraphQL.","translation":"تقریباً کوئی بھی ایپلی کیشن اور ڈیوائس GraphQL استعمال کر سکتی ہے۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"Companies may consider using it if their clients often request a lot of information at the same time, which would otherwise require making many REST API calls.","translation":"کمپنیاں اس کا استعمال کرنے پر غور کر سکتی ہیں اگر ان کے کلائنٹ اکثر ایک ہی وقت میں بہت ساری معلومات کی درخواست کرتے ہیں، جس کے لیے بصورت دیگر بہت سے REST API کالز کرنے کی ضرورت ہوگی۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Using GraphQL could reduce bandwidth usage and improve client performance.","translation":"GraphQL کا استعمال بینڈوڈتھ کے استعمال کو کم کر سکتا ہے اور کلائنٹ کی کارکردگی کو بہتر بنا سکتا ہے۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"This feature allows a client to search for a keyword that returns multiple Users and Paste objects.","translation":"یہ خصوصیت کلائنٹ کو ایک کی ورڈ تلاش کرنے کی اجازت دیتی ہے جو متعدد صارفین اور پیسٹ اشیاء کو واپس کرتا ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Pretty neat!","translation":"بہت اچھا!","target_lang":"ur","domain":"general","complexity":"simple"}
{"en":"The response to the query can be seen in the following code.","translation":"استفسار کا جواب درج ذیل کوڈ میں دیکھا جا سکتا ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"It returns a list of matching paste and user fields that have the letter p in either their username or title.","translation":"یہ مماثل پیسٹ اور صارف فیلڈز کی ایک فہرست لوٹاتا ہے جن میں یا تو ان کے صارف نام یا عنوان میں حرف 'p' ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"To accept and resolve a request like this, a schema can use a union type.","translation":"اس طرح کی درخواست کو قبول کرنے اور حل کرنے کے لیے، ایک سکیم اتحاد کی قسم استعمال کر سکتی ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"As you can see, the SearchResults union type merges the user and paste objects into a single type.","translation":"جیسا کہ آپ دیکھ سکتے ہیں، SearchResults یونین کی قسم صارف اور پیسٹ اشیاء کو ایک ہی قسم میں ضم کرتی ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"That type can then be used in a single search query operation that accepts a keyword string argument.","translation":"اس قسم کو پھر ایک ہی سرچ کوئری آپریشن میں استعمال کیا جا سکتا ہے جو ایک کی ورڈ سٹرنگ دلیل کو قبول کرتا ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Interfaces define a list of fields that must be included across all object types that implement them.","translation":"انٹرفیس فیلڈز کی ایک فہرست کی وضاحت کرتے ہیں جو ان تمام آبجیکٹ اقسام میں شامل ہونی چاہیے جو ان پر عمل درآمد کرتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Interfaces do not work like this; they require the same fields to be present in both objects in order for the objects to be joined in a response to the client.","translation":"انٹرفیس اس طرح کام نہیں کرتے؛ ان کے لیے ضروری ہے کہ دونوں اشیاء میں ایک ہی فیلڈ موجود ہوں تاکہ اشیاء کو کلائنٹ کو جواب میں شامل کیا جا سکے۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"We create an interface type called SearchItem with a keywords string list field.","translation":"ہم ایک انٹرفیس قسم بناتے ہیں جسے SearchItem کہا جاتا ہے جس میں کی ورڈز سٹرنگ لسٹ فیلڈ ہوتا ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Any object type that wants to implement this interface will need to include the keywords field.","translation":"کوئی بھی آبجیکٹ قسم جو اس انٹرفیس کو نافذ کرنا چاہتی ہے اسے کی ورڈز فیلڈ کو شامل کرنے کی ضرورت ہوگی۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Now a client could send a search query much like the one outlined in Listing 3-15 to retrieve all user and paste objects that use a particular keyword.","translation":"اب ایک کلائنٹ ایک سرچ کوئری بھیج سکتا ہے جو لسٹنگ 3-15 میں بیان کردہ کی طرح ہے تاکہ ان تمام صارف اور پیسٹ اشیاء کو بازیافت کیا جا سکے جو ایک خاص کی ورڈ استعمال کرتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"Interfaces could pose a problem in applications that poorly implement authorization.","translation":"انٹرفیس ان ایپلی کیشنز میں ایک مسئلہ پیدا کر سکتے ہیں جو اجازت کو ناقص طریقے سے نافذ کرتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"One way to implement authorization in GraphQL is by using custom schema-level directives.","translation":"GraphQL میں اجازت کو نافذ کرنے کا ایک طریقہ حسب ضرورت سکیم-سطح کی ہدایات کا استعمال کرنا ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Because an interface defines fields to be used by other objects, any sensitive field that isn’t properly decorated could be exposed unintentionally.","translation":"چونکہ ایک انٹرفیس ان فیلڈز کی وضاحت کرتا ہے جو دوسری اشیاء کے ذریعے استعمال کیے جائیں گے، اس لیے کوئی بھی حساس فیلڈ جو مناسب طریقے سے سجایا نہیں گیا ہے، غیر ارادی طور پر بے نقاب ہو سکتا ہے۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"Large SDL files can have thousands of lines, and there is always a chance a developer might forget to add the relevant authorization directives.","translation":"بڑے SDL فائلوں میں ہزاروں لائنیں ہو سکتی ہیں، اور ہمیشہ ایک امکان موجود ہوتا ہے کہ ایک ڈویلپر متعلقہ اجازت کی ہدایات شامل کرنا بھول سکتا ہے۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"Inputs Arguments are able to accept values of different types, such as scalars, but when we need to pass large and complex inputs to the server, we can leverage an input type to simplify our requests.","translation":"ان پٹ دلائل مختلف اقسام کی اقدار کو قبول کرنے کے قابل ہیں، جیسے کہ اسکیلر، لیکن جب ہمیں سرور کو بڑے اور پیچیدہ ان پٹ پاس کرنے کی ضرورت ہوتی ہے، تو ہم اپنی درخواستوں کو آسان بنانے کے لیے ایک ان پٹ قسم کا فائدہ اٹھا سکتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"Input types are essentially the same as object types, but they can be used only as inputs for arguments.","translation":"ان پٹ اقسام بنیادی طور پر آبجیکٹ اقسام کی طرح ہی ہیں، لیکن وہ صرف دلائل کے لیے ان پٹ کے طور پر استعمال کی جا سکتی ہیں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"They help organize client requests and make it easier for clients to reuse inputs in multiple arguments.","translation":"وہ کلائنٹ کی درخواستوں کو منظم کرنے میں مدد کرتے ہیں اور کلائنٹس کے لیے متعدد دلائل میں ان پٹ کو دوبارہ استعمال کرنا آسان بناتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Mature GraphQL deployments use input types to better structure their APIs and make their schema documentation easier to read.","translation":"پختہ GraphQL تعیناتیوں میں ان پٹ اقسام کا استعمال ان کی APIs کو بہتر بنانے اور ان کی سکیم دستاویزات کو پڑھنے میں آسان بنانے کے لیے کیا جاتا ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Graphene defines the /graphql endpoint as its main GraphQL query endpoint.","translation":"Graphene /graphql کے اختتامی نقطہ کو اپنے مرکزی GraphQL استفسار کے اختتامی نقطہ کے طور پر متعین کرتا ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"It then defines /graphiql as a second endpoint that GraphiQL Explorer will query against.","translation":"اس کے بعد یہ /graphiql کو دوسرے اختتامی نقطہ کے طور پر متعین کرتا ہے جس کے خلاف GraphiQL Explorer استفسار کرے گا۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Lastly, it enables the GraphiQL Explorer interface.","translation":"آخر میں، یہ GraphiQL Explorer انٹرفیس کو فعال کرتا ہے۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"The GraphQL server will render the IDE to the client when it browses to the /graphiql endpoint.","translation":"GraphQL سرور IDE کو کلائنٹ کو پیش کرے گا جب یہ /graphiql اختتامی نقطہ پر براؤز کرتا ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Keep in mind that each endpoint could have different security settings.","translation":"دھیان میں رکھیں کہ ہر اختتامی نقطہ میں مختلف حفاظتی ترتیبات ہو سکتی ہیں۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"One could be stricter than the other, for example.","translation":"مثال کے طور پر، ایک دوسرے سے زیادہ سخت ہو سکتا ہے۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"When you find two endpoints serving GraphQL queries on the same target host, you will want to test them separately.","translation":"جب آپ ایک ہی ہدف میزبان پر GraphQL استفسارات کی خدمت کرنے والے دو اختتامی نقاط تلاش کرتے ہیں، تو آپ ان کو الگ سے جانچنا چاہیں گے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"You can use this as a wordlist file when you need to scan for GraphQL servers during a penetration test or a bug bounty hunt.","translation":"آپ اسے ایک ورڈ لسٹ فائل کے طور پر استعمال کر سکتے ہیں جب آپ کو دخول ٹیسٹ یا بگ بونٹی ہنٹ کے دوران GraphQL سرورز کو اسکین کرنے کی ضرورت ہو۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"The most important takeaway here is that, while the GraphQL endpoint is typically located at a predictable path, the developer can still customize it to fit their needs.","translation":"یہاں سب سے اہم بات یہ ہے کہ، جب کہ GraphQL اختتامی نقطہ عام طور پر ایک پیش گوئی کے قابل راستے پر واقع ہوتا ہے، ڈویلپر اب بھی اسے اپنی ضروریات کے مطابق بنا سکتا ہے۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"Common Responses Now that you have an idea of the endpoints from which GraphQL typically receives queries, the next step is to learn how GraphQL APIs respond to packets.","translation":"عام جوابات اب جب کہ آپ کو ان اختتامی نقاط کا اندازہ ہو گیا ہے جن سے GraphQL عام طور پر استفسارات وصول کرتا ہے، اگلا مرحلہ یہ جاننا ہے کہ GraphQL APIs پیکٹوں کا جواب کیسے دیتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"GraphQL is fairly easy to identify on a network.","translation":"GraphQL کو نیٹ ورک پر شناخت کرنا کافی آسان ہے۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"This is particularly helpful whenever you are performing a zero-knowledge penetration test or bug bounty hunt.","translation":"یہ خاص طور پر مددگار ہے جب بھی آپ صفر علم دخول ٹیسٹ یا بگ بونٹی ہنٹ کر رہے ہوں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"The GraphQL specification describes how a query response structure should be formatted.","translation":"GraphQL کی تفصیلات بتاتی ہیں کہ استفسار کے جواب کی ساخت کو کیسے فارمیٹ کیا جانا چاہیے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"This allows API consumers to expect a predetermined format when they parse the GraphQL response.","translation":"یہ API صارفین کو ایک پہلے سے طے شدہ فارمیٹ کی توقع کرنے کی اجازت دیتا ہے جب وہ GraphQL کے جواب کو پارس کرتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"In practice, this means a GraphQL API will return a data JSON field when there is a result to return to a client’s query.","translation":"عملی طور پر، اس کا مطلب ہے کہ ایک GraphQL API ایک ڈیٹا JSON فیلڈ واپس کرے گا جب کلائنٹ کے استفسار پر واپس کرنے کے لیے کوئی نتیجہ موجود ہو۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"It will also return an errors JSON field whenever errors occur during the execution of a client query.","translation":"یہ ایک ایررز JSON فیلڈ بھی واپس کرے گا جب بھی کلائنٹ کے استفسار کے عمل کے دوران غلطیاں ہوں گی۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Knowing these two pieces of information ahead of time is valuable.","translation":"ان دو معلومات کو پہلے سے جاننا قیمتی ہے۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"To put it simply, we now have two conditions that a response must meet before we can say that it came from a GraphQL API:","translation":"آسان الفاظ میں، اب ہمارے پاس دو شرائط ہیں جنہیں ایک جواب کو پورا کرنا چاہیے اس سے پہلے کہ ہم کہہ سکیں کہ یہ GraphQL API سے آیا ہے:","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"A valid query response should always have the data field populated with query response information.","translation":"ایک درست استفسار کے جواب میں ہمیشہ ڈیٹا فیلڈ کو استفسار کے جواب کی معلومات سے آباد ہونا چاہیے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"An invalid query response should always have the errors field populated with information about what went wrong.","translation":"ایک غلط استفسار کے جواب میں ہمیشہ ایررز فیلڈ کو اس معلومات سے آباد ہونا چاہیے کہ کیا غلط ہوا ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Tools in Firefox. Press SHIFT-F9 or right-click anywhere in the web page and select Inspect Element to open the Developer Tools console.","translation":"فائر فاکس میں ٹولز۔ شفٹ-ایف 9 دبائیں یا ویب پیج پر کہیں بھی دائیں کلک کریں اور ڈویلپر ٹولز کنسول کھولنے کے لیے معائنہ عنصر منتخب کریں۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"Click the Network tab; then reload the page by pressing F5. You should be able to see a POST request sent to the /graphiql endpoint.","translation":"نیٹ ورک ٹیب پر کلک کریں؛ پھر F5 دبا کر صفحہ دوبارہ لوڈ کریں۔ آپ کو /graphiql اختتامی نقطہ پر بھیجی گئی ایک POST درخواست نظر آنی چاہیے۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"Figure 4-3 shows this introspection query.","translation":"شکل 4-3 اس اندرونی جانچ کی استفسار کو دکھاتی ہے۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"If the introspection query was successfully sent, what could possibly be rejecting our access to GraphiQL Explorer?","translation":"اگر اندرونی جانچ کی استفسار کامیابی سے بھیجی گئی تھی، تو کیا چیز ممکنہ طور پر GraphiQL ایکسپلورر تک ہماری رسائی کو مسترد کر سکتی ہے؟","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Click the Storage tab, shown in Figure 4-4.","translation":"اسٹوریج ٹیب پر کلک کریں، جو شکل 4-4 میں دکھایا گیا ہے۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"The Storage tab gives us a view of the HTTP cookies that were set up by the application, as well as access to the browser’s local and session storage.","translation":"اسٹوریج ٹیب ہمیں HTTP کوکیز کا ایک منظر فراہم کرتا ہے جو ایپلیکیشن کے ذریعے ترتیب دی گئی تھیں، نیز براؤزر کے مقامی اور سیشن اسٹوریج تک رسائی بھی۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"On the left pane, click the Cookies drop-down menu and select http://localhost:5013 to see the specific cookies for the domain, as shown in Figure 4-5.","translation":"بائیں پین پر، کوکیز ڈراپ ڈاؤن مینو پر کلک کریں اور ڈومین کے لیے مخصوص کوکیز دیکھنے کے لیے http://localhost:5013 منتخب کریں، جیسا کہ شکل 4-5 میں دکھایا گیا ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"You’ll notice that, in the right pane, we have two keys set in our HTTP cookies: env and session.","translation":"آپ دیکھیں گے کہ، دائیں پین میں، ہمارے پاس ہمارے HTTP کوکیز میں دو کلیدیں سیٹ ہیں: env اور سیشن۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"The env key in particular is interesting, because it appears to have the string graphiql:disable set as its value.","translation":"خاص طور پر env کلید دلچسپ ہے، کیونکہ ایسا لگتا ہے کہ اس کی قدر کے طور پر سٹرنگ graphiql:disable سیٹ ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"As hackers, this should ring a bell or two.","translation":"ہیکرز کے طور پر، یہ ایک یا دو گھنٹیاں بجنا چاہیے۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"Is it possible that this cookie value is responsible for GraphiQL Explorer’s denying access?","translation":"کیا یہ ممکن ہے کہ یہ کوکی ویلیو GraphiQL ایکسپلورر کی رسائی سے انکار کی ذمہ دار ہو؟","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"We can find out by tampering with its value.","translation":"ہم اس کی قدر کے ساتھ چھیڑ چھاڑ کرکے معلوم کر سکتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"Double-click the text graphiql:disable, which will allow you to modify it; then simply remove disable and replace it with enable.","translation":"متن graphiql:disable پر ڈبل کلک کریں، جو آپ کو اسے تبدیل کرنے کی اجازت دے گا؛ پھر بس غیر فعال کو ہٹا دیں اور اسے فعال سے بدل دیں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Next, refresh the web page.","translation":"اگلا، ویب پیج کو ریفریش کریں۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"You’ll notice that we no longer see the rejection message in GraphiQL Explorer.","translation":"آپ دیکھیں گے کہ اب ہم GraphiQL ایکسپلورر میں مسترد کرنے کا پیغام نہیں دیکھتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"To confirm that tampering with the cookie actually works, attempt to run a GraphQL query.","translation":"اس بات کی تصدیق کرنے کے لیے کہ کوکی کے ساتھ چھیڑ چھاڑ واقعی کام کرتی ہے، GraphQL استفسار چلانے کی کوشش کریں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"You should be able to get a response from the GraphQL API!","translation":"آپ کو GraphQL API سے جواب ملنا چاہیے!","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"This is an example of a weak client-side security control that can easily be circumvented.","translation":"یہ ایک کمزور کلائنٹ سائیڈ سیکیورٹی کنٹرول کی ایک مثال ہے جسے آسانی سے ختم کیا جا سکتا ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Developers often create web applications with the mindset that clients are to be trusted, but not everyone will play by the rules.","translation":"ڈویلپرز اکثر اس ذہنیت کے ساتھ ویب ایپلیکیشنز بناتے ہیں کہ کلائنٹس پر بھروسہ کیا جائے، لیکن ہر کوئی اصولوں کے مطابق نہیں کھیلے گا۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"Threat actors who are interested in finding loopholes will tamper with applications and attempt to defeat any countermeasures in place.","translation":"خطرہ مول لینے والے جو سوراخ تلاش کرنے میں دلچسپی رکھتے ہیں وہ ایپلیکیشنز کے ساتھ چھیڑ چھاڑ کریں گے اور کسی بھی جوابی کارروائی کو شکست دینے کی کوشش کریں گے۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"GraphQL servers must protect themselves against malicious queries.","translation":"GraphQL سرورز کو بدنیتی پر مبنی استفسارات کے خلاف خود کو بچانا چاہیے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"If a client can construct a query that the server would find expensive to fulfill, it could starve the server for resources.","translation":"اگر کوئی کلائنٹ ایسا استفسار تشکیل دے سکتا ہے جسے سرور کو پورا کرنا مہنگا لگے، تو یہ سرور کو وسائل سے محروم کر سکتا ہے۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"Such attacks could impact the availability of the application by causing downtime or degrading the server’s performance.","translation":"اس طرح کے حملے ڈاؤن ٹائم کی وجہ سے یا سرور کی کارکردگی کو کم کرکے ایپلیکیشن کی دستیابی کو متاثر کرسکتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"In the GraphQL world, several DoS vectors could lead to resource exhaustion conditions.","translation":"GraphQL کی دنیا میں، کئی DoS ویکٹر وسائل کی کمی کی صورتحال کا باعث بن سکتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Circular queries are also known as recursive queries.","translation":"سرکلر استفسارات کو ریکرسیو استفسارات کے نام سے بھی جانا جاتا ہے۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"This circular reference could allow a client to build a complex query that forces the server to return an exponentially large response.","translation":"یہ سرکلر حوالہ ایک کلائنٹ کو ایک پیچیدہ استفسار بنانے کی اجازت دے سکتا ہے جو سرور کو تیزی سے بڑا جواب واپس کرنے پر مجبور کرتا ہے۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"In this section, we’ll dive into circular relationships and what they look like in a GraphQL schema.","translation":"اس حصے میں، ہم سرکلر رشتوں اور وہ GraphQL سکیم میں کیسے نظر آتے ہیں اس پر غور کریں گے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"These types can be interconnected in such a way that allows a client to “jump” from one type to another if they are linked together.","translation":"ان اقسام کو اس طرح سے آپس میں جوڑا جا سکتا ہے کہ ایک کلائنٹ ایک قسم سے دوسری قسم پر ","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"This condition is called a circular relationship or a circular reference.","translation":"اس حالت کو سرکلر رشتہ یا سرکلر حوالہ کہا جاتا ہے۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"We could add additional fields to the Paste object in the following way:","translation":"ہم مندرجہ ذیل طریقے سے پیسٹ آبجیکٹ میں اضافی فیلڈز شامل کر سکتے ہیں:","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"Another way to structure the SDL to accomplish this goal is to decouple the client metadata from the Paste object.","translation":"اس مقصد کو حاصل کرنے کے لیے SDL کو ترتیب دینے کا ایک اور طریقہ یہ ہے کہ کلائنٹ میٹا ڈیٹا کو پیسٹ آبجیکٹ سے الگ کیا جائے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"We now have two object types, Paste and Owner.","translation":"اب ہمارے پاس دو آبجیکٹ ٹائپس ہیں، پیسٹ اور اونر۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"If we wanted to reveal the owner of a given paste, we could link the two types together.","translation":"اگر ہم کسی دی گئی پیسٹ کے مالک کو ظاہر کرنا چاہتے ہیں، تو ہم دونوں اقسام کو ایک ساتھ جوڑ سکتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"The two object types, Paste and Owner, have fields that cross-reference the other.","translation":"دو آبجیکٹ ٹائپس، پیسٹ اور اونر، میں ایسے فیلڈز ہیں جو ایک دوسرے کو کراس ریفرنس کرتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"A malicious client could cause a recursion by forcing the GraphQL server’s function resolver to loop.","translation":"ایک بدنیتی پر مبنی کلائنٹ GraphQL سرور کے فنکشن ریزولور کو لوپ کرنے پر مجبور کرکے ریکرژن کا سبب بن سکتا ہے۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"This query is simple to execute yet causes an exponentially large response from the GraphQL server.","translation":"یہ استفسار چلانے میں آسان ہے لیکن GraphQL سرور سے تیزی سے بڑا جواب دیتا ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Circular relationships are common in GraphQL APIs.","translation":"سرکلر رشتے GraphQL APIs میں عام ہیں۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"In white-box penetration tests, we may have access to the SDL files.","translation":"وائٹ باکس پینیٹریشن ٹیسٹ میں، ہمارے پاس SDL فائلوں تک رسائی ہو سکتی ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"In black-box penetration tests, we may get lucky and find that the application’s developer has left introspection enabled.","translation":"بلیک باکس پینیٹریشن ٹیسٹ میں، ہم خوش قسمت ہو سکتے ہیں اور معلوم کر سکتے ہیں کہ ایپلیکیشن کے ڈویلپر نے انٹروسپیکشن کو فعال چھوڑ دیا ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Let’s visualize a schema, a technique that could assist us during audits of larger applications with more complex schema definitions.","translation":"آئیے ایک سکیم کو تصور کریں، ایک تکنیک جو ہمیں زیادہ پیچیدہ سکیم کی تعریفوں کے ساتھ بڑے ایپلی کیشنز کے آڈٹ کے دوران مدد کر سکتی ہے۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"You can halt it by pressing CTRL-C to send the SIGINT signal.","translation":"آپ اسے CTRL-C دبا کر روک سکتے ہیں تاکہ SIGINT سگنل بھیجا جا سکے۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"Security analysts could easily overlook these single requests when hunting for suspicious traffic.","translation":"سیکیورٹی تجزیہ کار آسانی سے ان واحد درخواستوں کو نظر انداز کر سکتے ہیں جب وہ مشکوک ٹریفک کی تلاش کر رہے ہوں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"By default, GraphQL servers won’t limit the number of aliases that can be used in a single request.","translation":"بنیادی طور پر، GraphQL سرورز ایک ہی درخواست میں استعمال کیے جا سکنے والے عرفی ناموں کی تعداد کو محدود نہیں کریں گے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Abusing Aliases for Denial of Service","translation":"سروس سے انکار کے لیے عرفی ناموں کا غلط استعمال","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"If you identify such a query, you can hog system resources by calling the same query over and over again.","translation":"اگر آپ ایسی استفسار کی نشاندہی کرتے ہیں، تو آپ بار بار ایک ہی استفسار کو کال کرکے سسٹم کے وسائل کو ہگ کر سکتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"In DVGA, one specific query is slower than others: systemUpdate.","translation":"DVGA میں، ایک مخصوص استفسار دوسروں کے مقابلے میں سست ہے: systemUpdate۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"Unauthorized clients should never be allowed to perform queries that change system state.","translation":"غیر مجاز کلائنٹس کو کبھی بھی ایسے استفسارات کرنے کی اجازت نہیں ہونی چاہیے جو سسٹم کی حالت کو تبدیل کریں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Let’s run the systemUpdate query in Altair to see how long this command takes to fully process.","translation":"آئیے یہ دیکھنے کے لیے کہ اس کمانڈ کو مکمل طور پر پروسیس کرنے میں کتنا وقت لگتا ہے، Altair میں systemUpdate استفسار چلائیں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"The systemUpdate took 50,361 milliseconds to complete.","translation":"systemUpdate کو مکمل ہونے میں 50,361 ملی سیکنڈ لگے۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"That’s around 50 seconds, a significant amount of time by today’s web standards.","translation":"یہ تقریباً 50 سیکنڈ ہے، جو آج کے ویب معیار کے مطابق کافی وقت ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Using GraphQL aliases, we can attempt to run systemUpdate a few times to see how the server behaves.","translation":"GraphQL عرفی ناموں کا استعمال کرتے ہوئے، ہم یہ دیکھنے کی کوشش کر سکتے ہیں کہ سرور کیسے برتاؤ کرتا ہے، systemUpdate کو چند بار چلائیں۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"If you need to generate hundreds of queries, you can use a short Python script in the terminal to craft a query programmatically.","translation":"اگر آپ کو سیکڑوں استفسارات تیار کرنے کی ضرورت ہے، تو آپ ٹرمینل میں ایک مختصر Python اسکرپٹ استعمال کر سکتے ہیں تاکہ پروگرام کے ذریعے ایک استفسار تیار کیا جا سکے۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"Remember: there are no limits to the number of aliases a client can provide by default.","translation":"یاد رکھیں: بطور ڈیفالٹ ایک کلائنٹ کے ذریعہ فراہم کردہ عرفی ناموں کی تعداد کی کوئی حد نہیں ہے۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"Other interesting, non-DoS use cases exist for aliases when it comes to penetration testing, such as defeating authentication mechanisms.","translation":"پینیٹریشن ٹیسٹنگ کے معاملے میں عرفی ناموں کے لیے دیگر دلچسپ، غیر DoS استعمال کے معاملات موجود ہیں، جیسے کہ تصدیقی طریقہ کار کو شکست دینا۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"Chaining Aliases and Circular Queries","translation":"عرفی ناموں اور سرکلر استفسارات کو جوڑنا","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"This query is not recursive enough to cause any harm to a GraphQL server.","translation":"یہ استفسار GraphQL سرور کو کوئی نقصان پہنچانے کے لیے کافی ریکرسیو نہیں ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"The disadvantage of aliases is that they allow aliasing only queries of the same root type.","translation":"عرفی ناموں کا نقصان یہ ہے کہ وہ صرف ایک ہی روٹ ٹائپ کے استفسارات کو عرفی نام دینے کی اجازت دیتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Chapter 3 covered GraphQL directives, which are a way to decorate a field or object in GraphQL by using the at (@) symbol.","translation":"باب 3 میں GraphQL ہدایات کا احاطہ کیا گیا ہے، جو GraphQL میں کسی فیلڈ یا آبجیکٹ کو @ علامت کا استعمال کرکے سجانے کا ایک طریقہ ہے۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"Abusing Directives for Denial of Service","translation":"سروس سے انکار کے لیے ہدایات کا غلط استعمال","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"The directive overloading vulnerability is somewhat similar to field duplication in that it requires us to send many directives via several continuous requests.","translation":"ہدایت اوورلوڈنگ کی کمزوری فیلڈ ڈپلیکیشن سے ملتی جلتی ہے اس لحاظ سے کہ اس کے لیے ہمیں کئی مسلسل درخواستوں کے ذریعے بہت سی ہدایات بھیجنے کی ضرورت ہوتی ہے۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"The WAF blocks attempts to introspect the GraphQL API via the __schema meta-field.","translation":"WAF __schema میٹا فیلڈ کے ذریعے GraphQL API کا جائزہ لینے کی کوششوں کو روکتا ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"The rule itself is defined in JSON.","translation":"خود اصول JSON میں بیان کیا گیا ہے۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"Using a string search, the WAF rule looks for the __schema keyword.","translation":"سٹرنگ سرچ کا استعمال کرتے ہوئے، WAF اصول __schema کی ورڈ تلاش کرتا ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"The rule uses CONTAINS as the positional constraint.","translation":"اصول پوزیشنل پابندی کے طور پر CONTAINS استعمال کرتا ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Any mentions of __schema in the body’s payload will result in a deny action.","translation":"باڈی کے پے لوڈ میں __schema کا کوئی بھی ذکر انکار کی کارروائی کا نتیجہ ہوگا۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"We can use another canary query to evaluate whether introspection has truly been disabled.","translation":"ہم اس بات کا اندازہ لگانے کے لیے ایک اور کینری استفسار استعمال کر سکتے ہیں کہ آیا اندرونی معائنہ واقعی غیر فعال کر دیا گیا ہے۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"The __type introspection canary query will return a predetermined response.","translation":"__type اندرونی معائنہ کینری استفسار ایک پہلے سے طے شدہ جواب واپس کرے گا۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"This query requests the name field of the root query operation from the schema.","translation":"یہ استفسار اسکیما سے روٹ استفسار آپریشن کے نام کے فیلڈ کی درخواست کرتا ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"The response should look exactly as shown.","translation":"جواب بالکل ویسا ہی نظر آنا چاہیے جیسا کہ دکھایا گیا ہے۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"If we notice that introspection is not properly disabled, we could extend the __type introspection canary query.","translation":"اگر ہم دیکھتے ہیں کہ اندرونی معائنہ مناسب طریقے سے غیر فعال نہیں ہے، تو ہم __type اندرونی معائنہ کینری استفسار کو بڑھا سکتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"GraphQL responds in a much more friendly manner, by suggesting possible corrections.","translation":"GraphQL ممکنہ اصلاحات تجویز کرکے بہت زیادہ دوستانہ انداز میں جواب دیتا ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"This feature is not part of the GraphQL specification.","translation":"یہ خصوصیت GraphQL تفصیلات کا حصہ نہیں ہے۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"If you make a typo in the root query operation, GraphQL implementations won’t attempt to autocorrect it.","translation":"اگر آپ روٹ استفسار آپریشن میں ٹائپو کرتے ہیں، تو GraphQL عمل درآمد اسے خود بخود درست کرنے کی کوشش نہیں کریں گے۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"Say we send a query to DVGA that attempts to request the pastes field title but misspells it as titlr.","translation":"فرض کریں کہ ہم DVGA کو ایک استفسار بھیجتے ہیں جو پیسٹ فیلڈ ٹائٹل کی درخواست کرنے کی کوشش کرتا ہے لیکن اسے titlr کے طور پر غلط لکھتا ہے۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"The error message Cannot query field . . . Did you mean . . . ? is common.","translation":"غلطی کا پیغام Cannot query field . . . Did you mean . . . ? عام ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"While field suggestions are available in most popular GraphQL implementations today, not all of them offer the option to disable this feature.","translation":"جبکہ فیلڈ کی تجاویز آج کل زیادہ تر مقبول GraphQL عمل درآمد میں دستیاب ہیں، ان سبھی میں اس خصوصیت کو غیر فعال کرنے کا آپشن موجود نہیں ہے۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"Setting MAX_LENGTH to 0 means that no suggestions will be returned.","translation":"MAX_LENGTH کو 0 پر سیٹ کرنے کا مطلب ہے کہ کوئی تجویز واپس نہیں کی جائے گی۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"GraphQL implementations rely on the simple edit-distance algorithm.","translation":"GraphQL عمل درآمد سادہ ترمیم فاصلے کے الگورتھم پر انحصار کرتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Adding, replacing, or removing a character from one of the strings counts as an operation.","translation":"سٹرنگز میں سے کسی ایک سے ایک حرف کو شامل کرنا، تبدیل کرنا، یا ہٹانا ایک آپریشن کے طور پر شمار ہوتا ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"GraphQL will return all fields that could possibly match the typo provided.","translation":"GraphQL وہ تمام فیلڈز واپس کرے گا جو فراہم کردہ ٹائپو سے ممکنہ طور پر مماثل ہو سکتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Based on this schema definition, we can add directives to our query as follows: query { pastes { title # cost: 1 content # cost: 1 userAgent # cost: 5 ipAddr # cost: 5 } } The total cost of this query is 12.","translation":"اس سکیم کی تعریف کی بنیاد پر، ہم اپنے استفسار میں ہدایات اس طرح شامل کر سکتے ہیں: استفسار { پیسٹ { عنوان # لاگت: 1 مواد # لاگت: 1 صارف ایجنٹ # لاگت: 5 ipAddr # لاگت: 5 } } اس استفسار کی کل لاگت 12 ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Knowing the total cost allows the GraphQL server to decide whether it should accept the query or reject it because it’s deemed too expensive.","translation":"کل لاگت جاننے سے GraphQL سرور کو یہ فیصلہ کرنے کی اجازت ملتی ہے کہ آیا اسے استفسار قبول کرنا چاہیے یا اسے مسترد کرنا چاہیے کیونکہ اسے بہت مہنگا سمجھا جاتا ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Some GraphQL implementations automatically assign a field a value of 1 if no cost value is explicitly set.","translation":"کچھ GraphQL عمل درآمد خود بخود ایک فیلڈ کو 1 کی قدر تفویض کرتے ہیں اگر کوئی لاگت کی قدر واضح طور پر مقرر نہیں کی گئی ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Many static cost assignment libraries don’t persist the cost information to any database or cache.","translation":"بہت سی جامد لاگت تفویض لائبریریاں لاگت کی معلومات کو کسی بھی ڈیٹا بیس یا کیشے میں برقرار نہیں رکھتیں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Therefore, in practice, each query is evaluated per query.","translation":"لہذا، عملی طور پر، ہر استفسار کا اندازہ فی استفسار لگایا جاتا ہے۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"To illustrate the dangers of failing to track cost usage, consider the diagram in Figure 5-6.","translation":"لاگت کے استعمال کو ٹریک کرنے میں ناکامی کے خطرات کو واضح کرنے کے لیے، شکل 5-6 میں دی گئی تصویر پر غور کریں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Here, a GraphQL server has set the maximum cost allowed (MAX_COST) to 200.","translation":"یہاں، ایک GraphQL سرور نے زیادہ سے زیادہ لاگت کی اجازت (MAX_COST) 200 مقرر کی ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"In this example, queries that have a cost of 200 and below are accepted, which means that if a client is sending multiple parallel queries, all with a cost of 200, all will be accepted.","translation":"اس مثال میں، وہ استفسارات جن کی لاگت 200 اور اس سے کم ہے، قبول کیے جاتے ہیں، جس کا مطلب ہے کہ اگر کوئی کلائنٹ متعدد متوازی استفسارات بھیج رہا ہے، سب کی لاگت 200 ہے، تو سبھی قبول کیے جائیں گے۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"This might introduce risks if the application’s backend is not able or ready to sustain parallel queries with such cost.","translation":"اگر ایپلیکیشن کا بیک اینڈ اس طرح کی لاگت کے ساتھ متوازی استفسارات کو برقرار رکھنے کے قابل یا تیار نہیں ہے تو اس سے خطرات پیدا ہو سکتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Imagine an attacker using the maximum cost allowed to send thousands of requests; if the limit is too forgiving, this could choke an application.","translation":"تصور کریں کہ ایک حملہ آور ہزاروں درخواستیں بھیجنے کے لیے زیادہ سے زیادہ لاگت کا استعمال کر رہا ہے۔ اگر حد بہت زیادہ نرم ہے، تو یہ ایک ایپلیکیشن کو روک سکتا ہے۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"Cost analysis can also be performed on the server response to a query after it is fully resolved.","translation":"لاگت کا تجزیہ مکمل طور پر حل ہونے کے بعد کسی استفسار کے سرور کے جواب پر بھی کیا جا سکتا ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"The server must first process the query in order to understand its cost.","translation":"سرور کو پہلے اس کی لاگت کو سمجھنے کے لیے استفسار پر کارروائی کرنی چاہیے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"However, looking at the actual resolved query can provide a more accurate cost estimation than the static technique.","translation":"تاہم، اصل حل شدہ استفسار کو دیکھنے سے جامد تکنیک کے مقابلے میں زیادہ درست لاگت کا تخمینہ فراہم کیا جا سکتا ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Think of a client requesting a single field that results in the server returning an array containing 1,000 elements.","translation":"ایک کلائنٹ کے بارے میں سوچیں جو ایک واحد فیلڈ کی درخواست کر رہا ہے جس کے نتیجے میں سرور ایک صف واپس کرتا ہے جس میں 1,000 عناصر شامل ہیں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"In this case, the response indicates a level of complexity that cannot be inferred by just looking at the query.","translation":"اس صورت میں، جواب پیچیدگی کی ایک سطح کی نشاندہی کرتا ہے جس کا اندازہ صرف استفسار کو دیکھ کر نہیں لگایا جا سکتا۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"GraphQL servers can be designed to keep track of the cost of queries made throughout a client session’s lifetime.","translation":"GraphQL سرورز کو کلائنٹ سیشن کی زندگی بھر کیے گئے استفسارات کی لاگت پر نظر رکھنے کے لیے ڈیزائن کیا جا سکتا ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Tracking this information allows servers to set hourly or daily quota limits, and reject queries after a certain limit is exceeded, as part of a credit-based system.","translation":"اس معلومات کو ٹریک کرنے سے سرورز کو گھنٹہ وار یا روزانہ کوٹہ کی حدود مقرر کرنے اور ایک خاص حد سے تجاوز کرنے کے بعد استفسارات کو مسترد کرنے کی اجازت ملتی ہے، جو کہ کریڈٹ پر مبنی نظام کا حصہ ہے۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"For example, a server may set an hourly credit allowance (such as 1,000) per user session or per source IP address.","translation":"مثال کے طور پر، ایک سرور فی صارف سیشن یا فی سورس IP ایڈریس ایک گھنٹہ وار کریڈٹ الاؤنس (جیسے 1,000) سیٹ کر سکتا ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"If a query had a static cost of 200, a client could make only five of these queries per hour.","translation":"اگر کسی استفسار کی جامد لاگت 200 تھی، تو ایک کلائنٹ ان استفسارات میں سے صرف پانچ فی گھنٹہ کر سکتا ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"To query again, they would have to wait until the credit allowance quota renews.","translation":"دوبارہ استفسار کرنے کے لیے، انہیں اس وقت تک انتظار کرنا پڑے گا جب تک کہ کریڈٹ الاؤنس کوٹہ تجدید نہ ہو جائے۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"User actions, like tweeting, writing a Facebook post on someone’s wall, or uploading a dinner photo to Instagram, all require user input.","translation":"صارف کے اعمال، جیسے ٹویٹ کرنا، کسی کی وال پر فیس بک پوسٹ لکھنا، یا انسٹاگرام پر کھانے کی تصویر اپ لوڈ کرنا، سبھی صارف کی ان پٹ کی ضرورت ہوتی ہے۔","target_lang":"ur","domain":"general","complexity":"moderate"}
{"en":"Applications are often developed under a relaxed trust model.","translation":"ایپلیکیشنز اکثر ایک نرم اعتماد ماڈل کے تحت تیار کی جاتی ہیں۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"This approach is very common, but designing systems in this way can backfire.","translation":"یہ طریقہ کار بہت عام ہے، لیکن اس طرح سے نظاموں کو ڈیزائن کرنا الٹا اثر کر سکتا ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Yet if the public server is hacked, an attacker could send malicious queries to the internal server.","translation":"تاہم، اگر عوامی سرور ہیک ہو جاتا ہے، تو ایک حملہ آور اندرونی سرور کو نقصان دہ استفسارات بھیج سکتا ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"This is why it is important to always perform security checks on any user input.","translation":"یہی وجہ ہے کہ کسی بھی صارف کی ان پٹ پر ہمیشہ سیکیورٹی چیک کرنا ضروری ہے۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"The injection vulnerability class has been on the OWASP Top 10 list for almost two decades.","translation":"انجیکشن کمزوری کا زمرہ تقریباً دو دہائیوں سے OWASP Top 10 کی فہرست میں شامل ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Injection vulnerabilities can have devastating consequences in APIs.","translation":"API میں انجیکشن کی کمزوریوں کے تباہ کن نتائج ہو سکتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"Technically, you can have read-only queries such as the following, which doesn’t change anything on the server side.","translation":"تکنیکی طور پر، آپ کے پاس صرف پڑھنے کے قابل استفسارات ہو سکتے ہیں جیسے کہ مندرجہ ذیل، جو سرور سائیڈ پر کچھ بھی تبدیل نہیں کرتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"As applications become more complex and feature rich, they’ll need to accept client input through interfaces such as query arguments, field arguments, or both.","translation":"جیسے جیسے ایپلیکیشنز زیادہ پیچیدہ اور خصوصیت سے بھرپور ہوتی جاتی ہیں، انہیں کلائنٹ کی ان پٹ کو انٹرفیس کے ذریعے قبول کرنے کی ضرورت ہوگی جیسے کہ استفسار دلائل، فیلڈ دلائل، یا دونوں۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"For each of these interfaces, you should ask yourself a few important questions.","translation":"ان میں سے ہر ایک انٹرفیس کے لیے، آپ کو خود سے کچھ اہم سوالات پوچھنے چاہئیں۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"Is the application verifying the incoming client input at all?","translation":"کیا ایپلیکیشن آنے والی کلائنٹ ان پٹ کی تصدیق کر رہی ہے؟","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"Does the application accept dangerous characters?","translation":"کیا ایپلیکیشن خطرناک حروف کو قبول کرتی ہے؟","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"Does the application throw exceptions when unexpected characters are sent as part of a query?","translation":"کیا ایپلیکیشن استثنیٰ پھینکتی ہے جب غیر متوقع حروف کو استفسار کے حصے کے طور پر بھیجا جاتا ہے؟","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Does GraphQL check the value type passed to the arguments?","translation":"کیا GraphQL دلائل کو پاس کردہ ویلیو ٹائپ کو چیک کرتا ہے؟","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"Can we infer from the GraphQL server response (or out-of-band response) whether an injection attempt was successful?","translation":"کیا ہم GraphQL سرور کے جواب (یا آؤٹ آف بینڈ رسپانس) سے اندازہ لگا سکتے ہیں کہ آیا انجیکشن کی کوشش کامیاب ہوئی؟","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"Injection tests will require some trial and error, but once you experience a breakthrough, you’ll have a very satisfying feeling.","translation":"انجیکشن ٹیسٹ میں کچھ آزمائش اور غلطی کی ضرورت ہوگی، لیکن ایک بار جب آپ کو کامیابی مل جائے گی، تو آپ کو بہت اطمینان بخش احساس ہوگا۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Consider the following query, which passes a limit argument with an integer value of 100.","translation":"مندرجہ ذیل استفسار پر غور کریں، جو 100 کی عددی قدر کے ساتھ ایک حد دلیل پاس کرتا ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Sometimes APIs interpret -1 value as return all, in which case the server will return the entire list of objects.","translation":"بعض اوقات APIs -1 ویلیو کو سبھی واپس کرنے کے طور پر تشریح کرتے ہیں، ایسی صورت میں سرور اشیاء کی پوری فہرست واپس کر دے گا۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"When a client query is received by a GraphQL API, the server may need to look up information in or write information to a database in order to fulfill the query.","translation":"جب GraphQL API کے ذریعے کلائنٹ کا استفسار موصول ہوتا ہے، تو سرور کو استفسار کو پورا کرنے کے لیے ڈیٹا بیس میں معلومات تلاش کرنے یا لکھنے کی ضرورت پڑ سکتی ہے۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"If the GraphQL API is designed to process input from arguments such as content and title without proper security validations, data can be injected directly into the SQL command, which could allow for a SQLi vulnerability.","translation":"اگر GraphQL API کو مناسب سیکیورٹی توثیق کے بغیر مواد اور عنوان جیسے دلائل سے ان پٹ پر کارروائی کرنے کے لیے ڈیزائن کیا گیا ہے، تو ڈیٹا کو براہ راست SQL کمانڈ میں داخل کیا جا سکتا ہے، جو SQLi کمزوری کی اجازت دے سکتا ہے۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"These debug messages may include valuable information that we can use in further attacks against our target.","translation":"یہ ڈیبگ پیغامات قیمتی معلومات پر مشتمل ہو سکتے ہیں جنہیں ہم اپنے ہدف کے خلاف مزید حملوں میں استعمال کر سکتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Most GraphQL implementations that support debugging can enable debug mode by using environment variables.","translation":"زیادہ تر GraphQL عمل درآمد جو ڈیبگنگ کی حمایت کرتے ہیں، ماحول کے متغیرات کا استعمال کرکے ڈیبگ موڈ کو فعال کر سکتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Many also support tracing, a useful tool that tracks the amount of time it takes for GraphQL to complete a query.","translation":"بہت سے ٹریسنگ کی بھی حمایت کرتے ہیں، ایک مفید ٹول جو GraphQL کو استفسار مکمل کرنے میں لگنے والے وقت کو ٹریک کرتا ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Some implementations have debug mode enabled by default and may even allow clients to potentially enable it through cookies and URL parameters.","translation":"کچھ عمل درآمد میں ڈیبگ موڈ پہلے سے فعال ہوتا ہے اور یہاں تک کہ کلائنٹس کو کوکیز اور یو آر ایل پیرامیٹرز کے ذریعے اسے فعال کرنے کی اجازت دے سکتا ہے۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"For example, according to Magento’s GraphQL implementation documentation, a client can start debugging by adding the ?XDEBUG_SESSION_START=PHPSTORM parameter to the endpoint URL.","translation":"مثال کے طور پر، میگینٹو کی GraphQL عمل درآمد دستاویزات کے مطابق، ایک کلائنٹ اینڈ پوائنٹ یو آر ایل میں ?XDEBUG_SESSION_START=PHPSTORM پیرامیٹر شامل کرکے ڈیبگنگ شروع کر سکتا ہے۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"Another common parameter used to enable debug mode is the debug query parameter with a value of 1 (for true), for example: http://example.com/graphql?debug=1","translation":"ڈیبگ موڈ کو فعال کرنے کے لیے استعمال ہونے والا ایک اور عام پیرامیٹر ڈیبگ استفسار پیرامیٹر ہے جس کی قدر 1 (سچ کے لیے) ہے، مثال کے طور پر: http://example.com/graphql?debug=1","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Developers will most likely use debug mode in their staging or development environments.","translation":"ڈویلپرز غالباً اپنے اسٹیجنگ یا ڈویلپمنٹ ماحول میں ڈیبگ موڈ استعمال کریں گے۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"You can use the list of nonproduction GraphQL URLs to test for verbose debug error messages across multiple GraphQL subdomains and endpoints.","translation":"آپ متعدد GraphQL سب ڈومینز اور اینڈ پوائنٹس پر تفصیلی ڈیبگ ایرر پیغامات کی جانچ کے لیے غیر پیداواری GraphQL URLs کی فہرست استعمال کر سکتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Many developers may also write debug messages to a browser’s console by using the console.log function in JavaScript.","translation":"بہت سے ڈویلپرز جاوا اسکرپٹ میں console.log فنکشن کا استعمال کرکے براؤزر کے کنسول میں ڈیبگ پیغامات بھی لکھ سکتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"In the browser’s developer tools, use the Console tab to inspect console messages for possible debug logs that may be attributed to GraphQL functionality.","translation":"براؤزر کے ڈویلپر ٹولز میں، کنسول پیغامات کا معائنہ کرنے کے لیے کنسول ٹیب کا استعمال کریں تاکہ ممکنہ ڈیبگ لاگز تلاش کیے جا سکیں جو GraphQL فعالیت سے منسوب ہو سکتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Stack traces (also known as stack backtraces and stack tracebacks) are function calls that an application executes when an exception error occurs.","translation":"اسٹیک ٹریس (جسے اسٹیک بیک ٹریس اور اسٹیک ٹریس بیکس کے نام سے بھی جانا جاتا ہے) فنکشن کالز ہیں جو ایک ایپلیکیشن اس وقت انجام دیتی ہے جب کوئی استثنیٰ کی خرابی ہوتی ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"This breadcrumb trail is extremely useful for developers trying to identify failure conditions in their source code.","translation":"یہ بریڈ کرم ٹریل ڈویلپرز کے لیے ان کے سورس کوڈ میں ناکامی کی حالتوں کی نشاندہی کرنے کی کوشش کرنے کے لیے انتہائی مفید ہے۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"But if these stack traces are made available to hackers, we could use the sensitive information about the system and source code to extract data and tailor future attacks.","translation":"لیکن اگر یہ اسٹیک ٹریس ہیکرز کے لیے دستیاب کرائے جاتے ہیں، تو ہم سسٹم اور سورس کوڈ کے بارے میں حساس معلومات کو ڈیٹا نکالنے اور مستقبل کے حملوں کو تیار کرنے کے لیے استعمال کر سکتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"As mentioned earlier, various GraphQL endpoints on the same server could have different configuration settings.","translation":"جیسا کہ پہلے ذکر کیا گیا ہے، ایک ہی سرور پر مختلف GraphQL اینڈ پوائنٹس میں مختلف کنفیگریشن سیٹنگز ہو سکتی ہیں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"For example, DVGA’s /graphql endpoint does not throw stack traces to client requests that raise an error.","translation":"مثال کے طور پر، DVGA کا /graphql اینڈ پوائنٹ کلائنٹ کی درخواستوں پر اسٹیک ٹریس نہیں پھینکتا جو ایک خرابی پیدا کرتی ہیں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"However, the /graphiql endpoint, which provides access to graphical query tools, is configured to return stack traces when an error is raised.","translation":"تاہم، /graphiql اینڈ پوائنٹ، جو گرافیکل استفسار ٹولز تک رسائی فراہم کرتا ہے، کو اس وقت اسٹیک ٹریس واپس کرنے کے لیے کنفیگر کیا گیا ہے جب کوئی خرابی پیدا ہوتی ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"If you think about it, having different settings for each endpoint makes sense.","translation":"اگر آپ اس کے بارے میں سوچتے ہیں، تو ہر اینڈ پوائنٹ کے لیے مختلف سیٹنگز کا ہونا سمجھ میں آتا ہے۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"The assumption is that developers use graphical interfaces for debugging and testing, so they might require verbose error messages to identify bugs, something that isn’t necessary in production endpoints such as /graphql.","translation":"یہ فرض کیا جاتا ہے کہ ڈویلپرز ڈیبگنگ اور ٹیسٹنگ کے لیے گرافیکل انٹرفیس استعمال کرتے ہیں، اس لیے انہیں کیڑے کی نشاندہی کرنے کے لیے تفصیلی ایرر پیغامات کی ضرورت پڑ سکتی ہے، جو کہ /graphql جیسے پروڈکشن اینڈ پوائنٹس میں ضروری نہیں ہے۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"Let’s practice taking advantage of this configuration.","translation":"آئیے اس کنفیگریشن سے فائدہ اٹھانے کی مشق کرتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"Using the browser, navigate to DVGA at http://localhost:5013 and toggle on the Beginner mode via the cubes menu icon.","translation":"براؤزر کا استعمال کرتے ہوئے، http://localhost:5013 پر DVGA پر جائیں اور کیوبز مینو آئیکن کے ذریعے Beginner موڈ کو آن کریں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Most GraphQL implementations will always return a 200 OK status code, even when the query contains typos or errors.","translation":"زیادہ تر GraphQL عمل درآمد ہمیشہ 200 OK سٹیٹس کوڈ واپس کریں گے، یہاں تک کہ جب استفسار میں ٹائپو یا غلطیاں ہوں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"However, if you receive a 403 Forbidden Error, it’s possible that out-of-band authentication and authorization control, like a gateway or a WAF, has blocked your request from reaching the API in the first place.","translation":"تاہم، اگر آپ کو 403 ممنوعہ غلطی موصول ہوتی ہے، تو یہ ممکن ہے کہ آؤٹ آف بینڈ تصدیق اور اجازت نامے کا کنٹرول، جیسے گیٹ وے یا WAF، نے آپ کی درخواست کو سب سے پہلے API تک پہنچنے سے روک دیا ہے۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"Error messages can obviously reveal the presence of authentication controls, but they might also tell us exactly what type of authentication the API requires and where in the architecture these checks occur.","translation":"غلطی کے پیغامات بظاہر تصدیق کے کنٹرول کی موجودگی کو ظاہر کر سکتے ہیں، لیکن وہ ہمیں یہ بھی بتا سکتے ہیں کہ API کو کس قسم کی تصدیق کی ضرورت ہے اور فن تعمیر میں یہ چیک کہاں ہوتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Authentication credentials are missing.","translation":"تصدیق کی اسناد غائب ہیں۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"Authorization header is required and must contain a value.","translation":"اجازت نامے کے ہیڈر کی ضرورت ہے اور اس میں ایک قدر ہونی چاہیے۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"A classic authentication attack, password brute-forcing works against systems that fail to implement rate limits or other automated account-takeover prevention controls.","translation":"ایک کلاسک تصدیق حملہ، پاس ورڈ بروٹ فورسنگ ان نظاموں کے خلاف کام کرتا ہے جو شرح کی حدود یا دیگر خودکار اکاؤنٹ ٹیک اوور روک تھام کے کنٹرول کو نافذ کرنے میں ناکام رہتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"We can take advantage of this batching feature to brute-force credentials by using several operations in only a single HTTP request, effectively evading security controls such as WAFs.","translation":"ہم اس بیچنگ فیچر سے فائدہ اٹھا سکتے ہیں تاکہ صرف ایک HTTP درخواست میں متعدد آپریشنز کا استعمال کرتے ہوئے اسناد کو بروٹ فورس کیا جا سکے، مؤثر طریقے سے سیکیورٹی کنٹرولز جیسے WAFs سے بچا جا سکے۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"Manually building the large GraphQL document needed to successfully brute- force login credentials would be extremely time-consuming.","translation":"لاگ ان کی اسناد کو کامیابی سے بروٹ فورس کرنے کے لیے درکار بڑے GraphQL دستاویز کو دستی طور پر بنانا انتہائی وقت طلب ہوگا۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"CrackQL comes preinstalled with a sample username and password CSV dictionary, as well as the login.graphql query.","translation":"CrackQL ایک نمونے کے صارف نام اور پاس ورڈ CSV ڈکشنری کے ساتھ ساتھ login.graphql استفسار کے ساتھ پہلے سے انسٹال آتا ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"When you execute the CrackQL command, the tool will automatically take each username and password variable from the CSV file and inject them into a duplicated login operation in the same query document.","translation":"جب آپ CrackQL کمانڈ کو چلاتے ہیں، تو ٹول خود بخود CSV فائل سے ہر صارف نام اور پاس ورڈ متغیر لے گا اور انہیں اسی استفسار دستاویز میں نقل شدہ لاگ ان آپریشن میں داخل کرے گا۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"In cases where GraphQL query cost controls prevent the execution of large query batches, CrackQL has an optional -b (batch) argument, which you can use to define a more limited set of aliased operations, allowing your attack to fly under the radar.","translation":"ان صورتوں میں جہاں GraphQL استفسار لاگت کنٹرول بڑے استفسار بیچوں پر عمل درآمد کو روکتے ہیں، CrackQL میں ایک اختیاری -b (بیچ) دلیل ہے، جسے آپ الیاسڈ آپریشنز کا زیادہ محدود سیٹ متعین کرنے کے لیے استعمال کر سکتے ہیں، جس سے آپ کے حملے کو ریڈار کے نیچے اڑنے کی اجازت ملتی ہے۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"Using a list of possible one-time password tokens, CrackQL could brute-force two-factor authentication.","translation":"ممکنہ ون ٹائم پاس ورڈ ٹوکنز کی فہرست کا استعمال کرتے ہوئے، CrackQL دو عنصر کی تصدیق کو بروٹ فورس کر سکتا ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Some of these deployments use operation name-based allow lists, a weak enforcement control, to reject all unauthenticated requests unless their operation names are in an allow list.","translation":"ان میں سے کچھ تعیناتی آپریشن کے نام پر مبنی اجازت نامے استعمال کرتے ہیں، جو ایک کمزور نفاذ کنٹرول ہے، تمام غیر تصدیق شدہ درخواستوں کو مسترد کرنے کے لیے جب تک کہ ان کے آپریشن کے نام اجازت نامے میں نہ ہوں۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"As attackers, we can take advantage of this by sending a request like the one in Listing 7-7.","translation":"حملہ آوروں کے طور پر، ہم اس کا فائدہ اٹھا سکتے ہیں فہرست 7-7 میں موجود درخواست بھیج کر۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"When we Base64-decode the payload, we discover a hardcoded credential, api_token, in the payload section:","translation":"جب ہم پے لوڈ کو Base64-decode کرتے ہیں، تو ہم پے لوڈ سیکشن میں ایک ہارڈ کوڈڈ اسناد، api_token دریافت کرتے ہیں:","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"We can gain a lot of insight into an application by decoding and testing the contents of JWT tokens.","translation":"ہم JWT ٹوکنز کے مواد کو ڈی کوڈ کرکے اور جانچ کر ایک ایپلیکیشن کے بارے میں بہت بصیرت حاصل کر سکتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"If a GraphQL API fails to correctly verify the signature of a JWT token, it becomes vulnerable to forgery-based attacks, in which an attacker can encode their own user details.","translation":"اگر GraphQL API JWT ٹوکن کے دستخط کی صحیح طریقے سے تصدیق کرنے میں ناکام رہتا ہے، تو یہ جعل سازی پر مبنی حملوں کا شکار ہو جاتا ہے، جس میں ایک حملہ آور اپنے صارف کی تفصیلات کو انکوڈ کر سکتا ہے۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"GraphQL APIs that don’t validate this signature by using their secret key will be prone to forgery-based attacks.","translation":"GraphQL APIs جو اپنے خفیہ کلید کا استعمال کرکے اس دستخط کی توثیق نہیں کرتے ہیں وہ جعل سازی پر مبنی حملوں کا شکار ہوں گے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"We can go about detecting whether an API uses authorization controls, and of what type, in several ways.","translation":"ہم اس کا پتہ لگانے کے لیے جا سکتے ہیں کہ آیا API اجازت نامے کے کنٹرول استعمال کرتا ہے، اور کس قسم کے، کئی طریقوں سے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Finding Schema Directives","translation":"اسکیما ڈائریکٹوز تلاش کرنا","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"Burp Suite and its result.","translation":"برپ سوٹ اور اس کا نتیجہ۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"This is an example of a Boolean-based SQLi.","translation":"یہ بولین پر مبنی SQLi کی ایک مثال ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Automating SQL Injection Other tools attempt to automate the detection of a SQLi vulnerability.","translation":"SQL انجیکشن کو خودکار بنانا۔ دیگر ٹولز SQLi کمزوری کا پتہ لگانے کو خودکار بنانے کی کوشش کرتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"In particular, SQLmap can help fuzz the GraphQL API with payloads that are tailored to various database engines.","translation":"خاص طور پر، SQLmap مختلف ڈیٹا بیس انجنوں کے لیے تیار کردہ پے لوڈز کے ساتھ GraphQL API کو فز کرنے میں مدد کر سکتا ہے۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"When performing a SQLi test, you can take any potential GraphQL query and use an asterisk (*) to mark a specific position where SQLmap should inject payloads.","translation":"SQLi ٹیسٹ کرتے وقت، آپ کسی بھی ممکنہ GraphQL استفسار کو لے سکتے ہیں اور ایک ستارہ (*) استعمال کر سکتے ہیں تاکہ ایک مخصوص پوزیشن کو نشان زد کیا جا سکے جہاں SQLmap کو پے لوڈز داخل کرنے چاہئیں۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"For example, consider the following snippet: query { pastes(filter:\"test*\") { id } }","translation":"مثال کے طور پر، درج ذیل ٹکڑے پر غور کریں: استفسار { پیسٹ (فلٹر: \"ٹیسٹ*\") { id } }","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"SQLmap can read full HTTP requests from a file.","translation":"SQLmap ایک فائل سے مکمل HTTP درخواستیں پڑھ سکتا ہے۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"We can take any HTTP request and feed it into SQLmap, which will then read the query and use it to execute SQL.","translation":"ہم کسی بھی HTTP درخواست کو لے سکتے ہیں اور اسے SQLmap میں فیڈ کر سکتے ہیں، جو پھر استفسار کو پڑھے گا اور اسے SQL پر عمل کرنے کے لیے استعمال کرے گا۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Right-click anywhere in the request window and select Copy to File.","translation":"درخواست ونڈو میں کہیں بھی دائیں کلک کریں اور فائل میں کاپی کریں کو منتخب کریں۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"Name the file request.txt and save it.","translation":"فائل کا نام request.txt رکھیں اور اسے محفوظ کریں۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"Next, run SQLmap by using the -r (request) argument to specify the file.","translation":"اس کے بعد، فائل کی وضاحت کرنے کے لیے -r (درخواست) دلیل کا استعمال کرتے ہوئے SQLmap چلائیں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Set the target database engine argument (--dbms) to sqlite.","translation":"ٹارگٹ ڈیٹا بیس انجن دلیل (--dbms) کو sqlite پر سیٹ کریں۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"By providing a database engine name, we narrow the number of tests executed to only the relevant subset and speed up the process of injection testing.","translation":"ڈیٹا بیس انجن کا نام فراہم کرکے، ہم عمل میں لائے جانے والے ٹیسٹوں کی تعداد کو صرف متعلقہ ذیلی سیٹ تک محدود کر دیتے ہیں اور انجیکشن ٹیسٹنگ کے عمل کو تیز کرتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"SQLmap notifies us that it found our asterisk marker (*) and asks whether we want to process it.","translation":"SQLmap ہمیں مطلع کرتا ہے کہ اس نے ہمارا ستارہ مارکر (*) پایا ہے اور پوچھتا ہے کہ کیا ہم اسے پروسیس کرنا چاہتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Enter Y.","translation":"Y درج کریں۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"The tool then indicates that it found JSON data within our request.txt file and asks whether it should interpret it as JSON.","translation":"اس کے بعد، ٹول اشارہ کرتا ہے کہ اس نے ہماری request.txt فائل کے اندر JSON ڈیٹا پایا ہے اور پوچھتا ہے کہ کیا اسے JSON کے طور پر تشریح کرنی چاہیے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Enter N, as GraphQL syntax could confuse SQLmap.","translation":"N درج کریں، کیونکہ GraphQL نحو SQLmap کو الجھا سکتا ہے۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"Next, it suggests reducing the number of requests and using only a basic UNION test.","translation":"اس کے بعد، یہ درخواستوں کی تعداد کو کم کرنے اور صرف ایک بنیادی UNION ٹیسٹ استعمال کرنے کی تجویز کرتا ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Enter Y.","translation":"Y درج کریں۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"The test found that our parameter was vulnerable, so enter N to instruct SQLmap not to execute any more tests.","translation":"ٹیسٹ میں پایا گیا کہ ہمارا پیرامیٹر کمزور تھا، اس لیے SQLmap کو مزید ٹیسٹ نہ کرنے کی ہدایت کے لیے N درج کریں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Because DOM XSS vulnerabilities happen in client-side code, GraphQL APIs aren’t the root cause of such vulnerabilities.","translation":"کیونکہ DOM XSS کمزوریاں کلائنٹ سائیڈ کوڈ میں ہوتی ہیں، GraphQL APIs اس طرح کی کمزوریوں کی بنیادی وجہ نہیں ہیں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Despite this fact, we believe it’s important to be aware of them, as community-built GraphQL clients could be vulnerable to these types of vulnerabilities.","translation":"اس حقیقت کے باوجود، ہم سمجھتے ہیں کہ ان سے آگاہ رہنا ضروری ہے، کیونکہ کمیونٹی کے ذریعے بنائے گئے GraphQL کلائنٹ اس قسم کی کمزوریوں کا شکار ہو سکتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"For a comprehensive list of the available GraphQL client libraries, visit https://graphql.org/code/#javascript-client.","translation":"دستیاب GraphQL کلائنٹ لائبریریوں کی ایک جامع فہرست کے لیے، https://graphql.org/code/#javascript-client ملاحظہ کریں۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"Testing for XSS in DVGA In this section, we will use DVGA’s user interface to perform XSS testing.","translation":"DVGA میں XSS کی جانچ اس حصے میں، ہم XSS جانچ کرنے کے لیے DVGA کے یوزر انٹرفیس کا استعمال کریں گے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Numerous XSS vulnerabilities are implemented into DVGA, so we can achieve XSS in more than one way.","translation":"کئی XSS کمزوریاں DVGA میں لاگو کی گئی ہیں، لہذا ہم ایک سے زیادہ طریقوں سے XSS حاصل کر سکتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"We’ll explore a few techniques to get you comfortable with using GraphQL queries for XSS testing.","translation":"ہم آپ کو XSS جانچ کے لیے GraphQL استفسارات استعمال کرنے میں آرام دہ بنانے کے لیے کچھ تکنیکوں کو تلاش کریں گے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"NOTE This section requires you to insert JavaScript payloads into DVGA that could interfere with its web interface.","translation":"نوٹ یہ سیکشن آپ سے مطالبہ کرتا ہے کہ آپ DVGA میں جاوا اسکرپٹ پے لوڈ داخل کریں جو اس کے ویب انٹرفیس میں مداخلت کر سکتا ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Don’t worry; there’s a way to undo it all.","translation":"فکر مت کرو؛ اسے ختم کرنے کا ایک طریقہ ہے۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"Restore DVGA to its last-known good state by clicking the user icon and then choosing Rollback DVGA.","translation":"صارف کے آئیکن پر کلک کرکے اور پھر رول بیک DVGA کا انتخاب کرکے DVGA کو اس کی آخری معلوم اچھی حالت میں بحال کریں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"This will rebuild the database and reload the application.","translation":"یہ ڈیٹا بیس کو دوبارہ بنائے گا اور ایپلیکیشن کو دوبارہ لوڈ کرے گا۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"Alternatively, you can take a virtual machine snapshot and restore it whenever required.","translation":"متبادل کے طور پر، آپ ایک ورچوئل مشین اسنیپ شاٹ لے سکتے ہیں اور اسے جب بھی ضرورت ہو بحال کر سکتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Open your web browser in the lab and navigate to DVGA’s main interface at http://localhost:5013.","translation":"لیب میں اپنا ویب براؤزر کھولیں اور http://localhost:5013 پر DVGA کے مین انٹرفیس پر جائیں۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"Tampering with the Audit Page As a first step, click some of the pages on the left sidebar, such as Public Pastes.","translation":"آڈٹ پیج کے ساتھ چھیڑ چھاڑ پہلے مرحلے کے طور پر، بائیں طرف والے سائیڈبار پر موجود کچھ صفحات پر کلک کریں، جیسے کہ پبلک پیسٹس۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Your browser will start sending GraphQL queries to populate the web page with information.","translation":"آپ کا براؤزر معلومات کے ساتھ ویب پیج کو آباد کرنے کے لیے GraphQL استفسارات بھیجنا شروع کر دے گا۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Next, click the user icon at the top right; then click Audit.","translation":"اس کے بعد، اوپر دائیں طرف صارف کے آئیکن پر کلک کریں؛ پھر آڈٹ پر کلک کریں۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"You should be able to see audit events listed, as shown in Figure 8-12.","translation":"آپ آڈٹ ایونٹس کو درج ہوتے دیکھ سکیں گے، جیسا کہ شکل 8-12 میں دکھایا گیا ہے۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"This Audit page suggests that the application is automatically tracking every query the browser sent while we were browsing the page, gathering information such as the following:","translation":"یہ آڈٹ صفحہ بتاتا ہے کہ ایپلیکیشن خود بخود ہر اس استفسار کو ٹریک کر رہی ہے جو براؤزر نے اس وقت بھیجا جب ہم صفحہ براؤز کر رہے تھے، مندرجہ ذیل معلومات جمع کر رہے تھے:","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"The name of the actor or user (in this case, DVGAUser)","translation":"اداکار یا صارف کا نام (اس صورت میں، DVGAUser)","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"The name of the GraphQL operation that was used (in this case, getPastes)","translation":"استعمال شدہ GraphQL آپریشن کا نام (اس صورت میں، getPastes)","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"The executed query (in this case, the pastes GraphQL field used with the public argument and a few selected fields, such as id, title, and content)","translation":"عمل میں لایا گیا استفسار (اس صورت میں، پیسٹس GraphQL فیلڈ جو عوامی دلیل اور چند منتخب فیلڈز کے ساتھ استعمال کیا جاتا ہے، جیسے کہ id، title، اور content)","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"The vulnerability allowed access to the total_count field through the payment_transactions field.","translation":"یہ کمزوری ادائیگی کے لین دین کے میدان کے ذریعے total_count فیلڈ تک رسائی کی اجازت دیتی ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Payment data should never be public information.","translation":"ادائیگی کا ڈیٹا کبھی بھی عوامی معلومات نہیں ہونا چاہیے۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"This vulnerability allowed attackers to infer information about the company running GitLab through their group memberships.","translation":"اس کمزوری نے حملہ آوروں کو کمپنی کے بارے میں معلومات حاصل کرنے کی اجازت دی جو ان کی گروپ ممبرشپ کے ذریعے GitLab چلا رہی ہے۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"The vulnerability allowed unauthenticated attackers to access user information.","translation":"اس کمزوری نے غیر مصدقہ حملہ آوروں کو صارف کی معلومات تک رسائی کی اجازت دی۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Knowing the state of an account could make attacks such as brute forcing more effective.","translation":"اکاؤنٹ کی حالت جاننے سے بروٹ فورسنگ جیسے حملے زیادہ موثر ہو سکتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"This vulnerability is especially interesting because of how simple and straightforward it is to exploit.","translation":"یہ کمزوری خاص طور پر دلچسپ ہے کیونکہ اس کا استحصال کرنا کتنا آسان اور سیدھا ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"The fact that it can be done in an unauthenticated manner increases its severity quite a lot too.","translation":"حقیقت یہ ہے کہ یہ غیر مصدقہ انداز میں کیا جا سکتا ہے اس کی شدت میں بھی بہت اضافہ کرتا ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"This GraphQL API used WebSocket as its transport protocol, not HTTP.","translation":"اس GraphQL API نے HTTP کے بجائے اپنے ٹرانسپورٹ پروٹوکول کے طور پر WebSocket کا استعمال کیا۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Certain GraphQL libraries allow not only subscriptions to be sent over WebSocket but also queries and mutations.","translation":"کچھ GraphQL لائبریریاں نہ صرف سبسکرپشنز کو WebSocket پر بھیجنے کی اجازت دیتی ہیں بلکہ استفسارات اور تغیرات بھی۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"The reported vulnerability enabled hackers to execute the introspection query directly via a WebSocket connection.","translation":"رپورٹ کی گئی کمزوری نے ہیکرز کو براہ راست WebSocket کنکشن کے ذریعے اندرونی معائنہ استفسار کو انجام دینے کے قابل بنایا۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"Jobert identified a SQL injection in HackerOne’s GraphQL production endpoint.","translation":"جوبرٹ نے HackerOne کے GraphQL پروڈکشن اینڈپوائنٹ میں SQL انجیکشن کی نشاندہی کی۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"This URL parameter isn’t standard in GraphQL APIs.","translation":"یہ URL پیرامیٹر GraphQL APIs میں معیاری نہیں ہے۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"Jobert was able to identify that the value passed to the custom parameter wasn’t checked on the backend.","translation":"جوبرٹ اس بات کی نشاندہی کرنے میں کامیاب رہا کہ حسب ضرورت پیرامیٹر کو دی گئی ویلیو کو بیک اینڈ پر چیک نہیں کیا گیا۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"GraphQL parameters aren’t automatically sanitized either, which contributes to the SQL injection condition.","translation":"GraphQL پیرامیٹرز کو بھی خود بخود صاف نہیں کیا جاتا ہے، جو SQL انجیکشن کی حالت میں حصہ ڈالتا ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"This request used a time-based SQL injection technique to introduce a time delay.","translation":"اس درخواست نے وقت پر مبنی SQL انجیکشن تکنیک کا استعمال وقت میں تاخیر متعارف کرانے کے لیے کیا۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Apache SkyWalking is a performance-monitoring platform.","translation":"Apache SkyWalking ایک کارکردگی کی نگرانی کا پلیٹ فارم ہے۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"SkyWalking can work with various storage backends.","translation":"SkyWalking مختلف اسٹوریج بیک اینڈ کے ساتھ کام کر سکتا ہے۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"The vulnerability appeared to be in the id key, which doesn’t get sanitized.","translation":"کمزوری id کلید میں ظاہر ہوئی، جسے صاف نہیں کیا جاتا ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"This chapter covered public disclosures of real-life vulnerabilities and exploits.","translation":"اس باب میں حقیقی زندگی کی کمزوریوں اور استحصال کے عوامی انکشافات کا احاطہ کیا گیا ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"You learned about how certain design choices in GraphQL implementations created vulnerabilities.","translation":"آپ نے اس بارے میں سیکھا کہ GraphQL کے نفاذ میں کچھ ڈیزائن کے انتخاب نے کس طرح کمزوریاں پیدا کیں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Open Firefox, navigate to http://localhost:5013, and go to the Public Pastes page.","translation":"فائر فاکس کھولیں، http://localhost:5013 پر جائیں، اور پبلک پیسٹس پیج پر جائیں۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"Next, open Developer Tools (CTRL-SHIFT-I) and go to the Network tab.","translation":"اس کے بعد، ڈویلپر ٹولز (CTRL-SHIFT-I) کھولیں اور نیٹ ورک ٹیب پر جائیں۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"Ensure that Altair is pointing to http://localhost:5013/graphql and enter the mutation in Listing 9-6.","translation":"اس بات کو یقینی بنائیں کہ الٹائر http://localhost:5013/graphql کی طرف اشارہ کر رہا ہے اور لسٹنگ 9-6 میں تغیر داخل کریں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"This request injects the <img> tag containing the deleteAllPastes query into the Public Pastes page.","translation":"یہ درخواست <img/> ٹیگ کو داخل کرتی ہے جس میں deleteAllPastes استفسار پبلک پیسٹس پیج میں شامل ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"By putting our payload in the createPaste content field, we effectively embed it on the page.","translation":"ہمارے پے لوڈ کو createPaste مواد کے فیلڈ میں ڈال کر، ہم اسے مؤثر طریقے سے صفحہ پر ایمبیڈ کرتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Now, when clients send queries using createPaste and the content field, they will render the payload.","translation":"اب، جب کلائنٹ createPaste اور مواد کے فیلڈ کا استعمال کرتے ہوئے استفسارات بھیجتے ہیں، تو وہ پے لوڈ کو رینڈر کریں گے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Take a close look at what happens in your Network tab once you send the query.","translation":"ایک بار جب آپ استفسار بھیجتے ہیں تو اپنے نیٹ ورک ٹیب میں کیا ہوتا ہے اس پر گہری نظر ڈالیں۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"If you refresh your browser, you should no longer see any pastes, as the CSRF attack should have deleted them.","translation":"اگر آپ اپنے براؤزر کو ریفریش کرتے ہیں، تو آپ کو مزید کوئی پیسٹ نظر نہیں آنا چاہیے، کیونکہ CSRF حملے کو انہیں حذف کر دینا چاہیے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Click Rollback DVGA, located in the top-right drop-down menu, to restore the server to its original state.","translation":"سرور کو اس کی اصل حالت میں بحال کرنے کے لیے، اوپر دائیں ڈراپ ڈاؤن مینو میں واقع رول بیک ڈی وی جی اے پر کلک کریں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"We’ve discussed GET- and POST-based CSRF attacks.","translation":"ہم نے GET- اور POST- پر مبنی CSRF حملوں پر تبادلہ خیال کیا ہے۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"We’ve also discussed how some GraphQL servers attempt to prevent CSRF by rejecting mutations using the GET method, and how to test for those as well.","translation":"ہم نے اس بارے میں بھی بات کی ہے کہ کس طرح کچھ GraphQL سرور GET طریقہ استعمال کرکے تغیرات کو مسترد کرکے CSRF کو روکنے کی کوشش کرتے ہیں، اور ان کی جانچ کیسے کی جائے۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"Automated tools may introduce false positives, so we recommend always manually verifying that their results are accurate.","translation":"خودکار ٹولز غلط مثبت نتائج پیش کر سکتے ہیں، اس لیے ہم ہمیشہ دستی طور پر تصدیق کرنے کی سفارش کرتے ہیں کہ ان کے نتائج درست ہیں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Preventing CSRF In the years since CSRF was discovered, browser vendors such as Mozilla and Google have significantly improved their CSRF mitigations.","translation":"CSRF کی دریافت کے بعد سے، موزیلا اور گوگل جیسے براؤزر وینڈرز نے اپنی CSRF تخفیف کو نمایاں طور پر بہتر کیا ہے۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"Browsers have started supporting a special HTTP cookie attribute called SameSite.","translation":"براؤزرز نے ایک خاص HTTP کوکی ایٹریبیوٹ کی حمایت کرنا شروع کر دی ہے جسے SameSite کہا جاتا ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"This attribute allows developers to decide whether the client browser should attach the cookie when making cross-site requests.","translation":"یہ ایٹریبیوٹ ڈویلپرز کو یہ فیصلہ کرنے کی اجازت دیتا ہے کہ آیا کلائنٹ براؤزر کو کراس سائٹ درخواستیں کرتے وقت کوکی منسلک کرنی چاہیے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"One challenge with using the SameSite attribute is that older browsers may not support it.","translation":"SameSite ایٹریبیوٹ کے استعمال میں ایک چیلنج یہ ہے کہ پرانے براؤزر اسے سپورٹ نہیں کر سکتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"When a website sets a cookie without specifying the SameSite attribute, modern browsers such as Chrome assume it is set to Lax.","translation":"جب کوئی ویب سائٹ SameSite ایٹریبیوٹ کی وضاحت کیے بغیر کوکی سیٹ کرتی ہے، تو جدید براؤزر جیسے کروم فرض کرتے ہیں کہ یہ Lax پر سیٹ ہے۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"To protect against CSRF vulnerabilities at the server level, web frameworks introduced anti-CSRF tokens.","translation":"سرور کی سطح پر CSRF کمزوریوں سے بچانے کے لیے، ویب فریم ورکس نے اینٹی CSRF ٹوکن متعارف کروائے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Servers can generate anti-CSRF tokens per request or once for the lifetime of a user session.","translation":"سرور ہر درخواست کے لیے یا صارف کے سیشن کی زندگی میں ایک بار اینٹی CSRF ٹوکن تیار کر سکتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"It’s important to remember that, just like any other security control, tokens can be defeated if implemented incorrectly.","translation":"یہ یاد رکھنا ضروری ہے کہ، کسی بھی دوسرے سیکیورٹی کنٹرول کی طرح، اگر غلط طریقے سے لاگو کیا جائے تو ٹوکن کو شکست دی جا سکتی ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Next, open a browser window and drop the HTML file you downloaded earlier into the browser’s window.","translation":"اس کے بعد، ایک براؤزر ونڈو کھولیں اور HTML فائل جو آپ نے پہلے ڈاؤن لوڈ کی تھی اسے براؤزر کی ونڈو میں ڈالیں۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"You should see the page shown in Figure 9-7.","translation":"آپ کو وہ صفحہ نظر آنا چاہیے جو شکل 9-7 میں دکھایا گیا ہے۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"Enter something you’ll recognize as the title and your message, as shown in Figure 9-8.","translation":"کچھ ایسا درج کریں جسے آپ عنوان اور اپنے پیغام کے طور پر پہچانیں، جیسا کہ شکل 9-8 میں دکھایا گیا ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Next, click Submit, and pay close attention the terminal window in which Netcat is running.","translation":"اس کے بعد، جمع کرائیں پر کلک کریں، اور ٹرمینل ونڈو پر پوری توجہ دیں جس میں Netcat چل رہا ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Netcat received a GET request from the victim containing the exfiltrated paste data.","translation":"Netcat کو شکار سے ایک GET درخواست موصول ہوئی جس میں نکالا گیا پیسٹ ڈیٹا شامل تھا۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"You can see that the request’s URL parameters start with /? {%22type.","translation":"آپ دیکھ سکتے ہیں کہ درخواست کے URL پیرامیٹرز /? {%22type سے شروع ہوتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"The payload is URL encoded, but when you decode it, you can immediately tell it’s the paste data we created using DVGA’s user interface.","translation":"پے لوڈ URL انکوڈ ہے، لیکن جب آپ اسے ڈی کوڈ کرتے ہیں، تو آپ فوری طور پر بتا سکتے ہیں کہ یہ پیسٹ ڈیٹا ہے جو ہم نے DVGA کے یوزر انٹرفیس کا استعمال کرتے ہوئے بنایا ہے۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"You can perform this URL decoding with a website such as https://meyerweb.com/eric/tools/dencoder or by using Python from the terminal.","translation":"آپ اس URL ڈی کوڈنگ کو ایک ویب سائٹ جیسے https://meyerweb.com/eric/tools/dencoder یا ٹرمینل سے Python کا استعمال کرکے انجام دے سکتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"We were able to exfiltrate data by forcing a client to visit an attacker-controlled website, where custom code sent forged, cross-site WebSocket messages and exfiltrated their responses to a remote Netcat listener.","translation":"ہم ایک کلائنٹ کو ایک حملہ آور کے زیر کنٹرول ویب سائٹ پر جانے پر مجبور کر کے ڈیٹا نکالنے میں کامیاب رہے، جہاں حسب ضرورت کوڈ نے جعلی، کراس سائٹ WebSocket پیغامات بھیجے اور ان کے جوابات ایک ریموٹ Netcat سننے والے کو نکالے۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"Preventing CSWSH Because CSWSH is a CSRF attack, you can prevent it by using CSRF mitigation techniques.","translation":"CSWSH کو روکنا کیونکہ CSWSH ایک CSRF حملہ ہے، آپ اسے CSRF تخفیف کی تکنیکوں کا استعمال کرکے روک سکتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"WebSocket servers that use forms of authentication other than cookies to authenticate clients, such as JWT, can also offer protections.","translation":"WebSocket سرور جو کلائنٹس کی تصدیق کے لیے کوکیز کے علاوہ دیگر قسم کی تصدیق کا استعمال کرتے ہیں، جیسے JWT، تحفظات بھی پیش کر سکتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"When a server uses JWT tokens, cross-site WebSocket messages won’t be able to authenticate without the proper headers, resulting in a handshake failure.","translation":"جب کوئی سرور JWT ٹوکن استعمال کرتا ہے، تو کراس سائٹ WebSocket پیغامات مناسب ہیڈرز کے بغیر تصدیق کرنے کے قابل نہیں ہوں گے، جس کے نتیجے میں ہینڈ شیک ناکام ہو جائے گا۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"Validation of the Origin header is also crucial to preventing CSWSH attacks, and from a hacker’s perspective, this validation is worth testing for bypasses.","translation":"Origin ہیڈر کی توثیق بھی CSWSH حملوں کو روکنے کے لیے بہت ضروری ہے، اور ایک ہیکر کے نقطہ نظر سے، اس توثیق کو بائی پاس کے لیے جانچنا قابل قدر ہے۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"Servers may check the header in odd ways.","translation":"سرور ہیڈر کو عجیب طریقوں سے چیک کر سکتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"For instance, if the application allows only the origin example.com, an attacker might try creating a domain that uses it as its subdomain, like example.com.attacker.net.","translation":"مثال کے طور پر، اگر ایپلیکیشن صرف origin example.com کی اجازت دیتی ہے، تو ایک حملہ آور ایک ایسا ڈومین بنانے کی کوشش کر سکتا ہے جو اسے اپنے سب ڈومین کے طور پر استعمال کرتا ہے، جیسے example.com.attacker.net۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"In this chapter, you learned about attacks affecting GraphQL API consumers and servers.","translation":"اس باب میں، آپ نے GraphQL API صارفین اور سرورز کو متاثر کرنے والے حملوں کے بارے میں سیکھا۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Using GET- and POST-based CSRF, attackers could forge queries and mutations on behalf of clients.","translation":"GET- اور POST پر مبنی CSRF کا استعمال کرتے ہوئے، حملہ آور کلائنٹس کی جانب سے استفسارات اور تغیرات کو جعلی بنا سکتے ہیں۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"By hijacking WebSocket communications by using CSWSH, an attacker could exfiltrate GraphQL subscription responses.","translation":"CSWSH کا استعمال کرتے ہوئے WebSocket مواصلات کو ہائی جیک کرکے، ایک حملہ آور GraphQL سبسکرپشن کے جوابات نکال سکتا ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Finally, SSRF allows attackers to forge requests on behalf of servers and potentially reach internal resources.","translation":"آخر میں، SSRF حملہ آوروں کو سرورز کی جانب سے درخواستیں بنانے اور ممکنہ طور پر اندرونی وسائل تک رسائی کی اجازت دیتا ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"This chapter is dedicated to exploring real-world hacking reports.","translation":"یہ باب حقیقی دنیا کی ہیکنگ رپورٹس کو تلاش کرنے کے لیے وقف ہے۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"HyperText Transfer Protocol (HTTP) basic authentication.","translation":"ہائیپر ٹیکسٹ ٹرانسفر پروٹوکول (HTTP) کی بنیادی تصدیق۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"Information exposure through error messages.","translation":"غلطی کے پیغامات کے ذریعے معلومات کا انکشاف۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"GraphQL response data field.","translation":"GraphQL رسپانس ڈیٹا فیلڈ۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"Insecure direct object reference (IDOR).","translation":"غیر محفوظ براہ راست آبجیکٹ حوالہ (IDOR)۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Internal server error.","translation":"اندرونی سرور کی خرابی۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"JavaScript Object Notation (JSON).","translation":"جاوا اسکرپٹ آبجیکٹ نوٹیشن (JSON)۔","target_lang":"ur","domain":"technical","complexity":"simple"}
{"en":"Man-in-the-middle (MITM) attacks.","translation":"مین ان دی مڈل (MITM) حملے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Operating system (OS) command injection.","translation":"آپریٹنگ سسٹم (OS) کمانڈ انجیکشن۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Personally identifiable information (PII).","translation":"ذاتی طور پر قابل شناخت معلومات (PII)۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Reflected cross-site scripting (XSS).","translation":"منعکس کراس سائٹ اسکرپٹنگ (XSS)۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Server-side request forgery (SSRF).","translation":"سرور سائیڈ ریکوئسٹ جعل سازی (SSRF)۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"SQL injection (SQLi).","translation":"SQL انجیکشن (SQLi)۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Time-based SQL injection.","translation":"وقت پر مبنی SQL انجیکشن۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Web application firewalls (WAFs).","translation":"ویب ایپلیکیشن فائر والز (WAFs)۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"The security developments are crucial.","translation":"سیکیورٹی کی پیش رفت بہت اہم ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"This is a complex technical issue.","translation":"یہ ایک پیچیدہ تکنیکی مسئلہ ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Understanding the schema is essential for security.","translation":"سیکیورٹی کے لیے اسکیما کو سمجھنا ضروری ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"The system is vulnerable to attacks.","translation":"نظام حملوں کا شکار ہے۔","target_lang":"ur","domain":"technical","complexity":"moderate"}
{"en":"Always sanitize user inputs to prevent vulnerabilities.","translation":"کمزوریوں سے بچنے کے لیے ہمیشہ صارف کے ان پٹ کو صاف کریں۔","target_lang":"ur","domain":"technical","complexity":"complex"}
{"en":"Implement robust authentication and authorization mechanisms.","translation":"مضبوط تصدیق اور اجازت کے طریقہ کار کو نافذ کریں۔","target_lang":"ur","domain":"technical","complexity":"complex"}