Merge pull request #12 from fuomag9/windows-support

Added experimental windows support and requirements.txt
pull/13/head
Swissky 2020-02-07 14:57:28 +01:00 committed by GitHub
commit 1b674c2ad0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 3 deletions

View File

@ -54,11 +54,11 @@ python3 graphqlmap.py -u https://yourhostname.com/graphql -v --method POST --hea
### Dump a GraphQL schema
Use `dump` to dump the GraphQL schema, this function will automaticly populate the "autocomplete" with the found fields.
Use `dump_new` to dump the GraphQL schema, this function will automaticly populate the "autocomplete" with the found fields.
[:movie_camera: Live Example](https://asciinema.org/a/14YuWoDOyCztlx7RFykILit4S)
```powershell
GraphQLmap > dump
GraphQLmap > dump_new
============= [SCHEMA] ===============
e.g: name[Type]: arg (Type!)

View File

@ -1,5 +1,8 @@
#!/usr/bin/python
try:
import readline
except ImportError:
import pyreadline as readline
from attacks import *
import urllib3

4
requirements.txt Normal file
View File

@ -0,0 +1,4 @@
pyreadline ; sys_platform == 'win32'
readline ; sys_platform !='win32'
argparse
requests