{"action":"opened","issue":{"url":"https://api.github.com/repos/the-useless-one/pywerview/issues/11","repository_url":"https://api.github.com/repos/the-useless-one/pywerview","labels_url":"https://api.github.com/repos/the-useless-one/pywerview/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/the-useless-one/pywerview/issues/11/comments","events_url":"https://api.github.com/repos/the-useless-one/pywerview/issues/11/events","html_url":"https://github.com/the-useless-one/pywerview/issues/11","id":168502929,"number":11,"title":"LDAP search error on all get-net* commands","user":{"login":"byt3bl33d3r","id":5151193,"avatar_url":"https://avatars.githubusercontent.com/u/5151193?v=3","gravatar_id":"","url":"https://api.github.com/users/byt3bl33d3r","html_url":"https://github.com/byt3bl33d3r","followers_url":"https://api.github.com/users/byt3bl33d3r/followers","following_url":"https://api.github.com/users/byt3bl33d3r/following{/other_user}","gists_url":"https://api.github.com/users/byt3bl33d3r/gists{/gist_id}","starred_url":"https://api.github.com/users/byt3bl33d3r/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/byt3bl33d3r/subscriptions","organizations_url":"https://api.github.com/users/byt3bl33d3r/orgs","repos_url":"https://api.github.com/users/byt3bl33d3r/repos","events_url":"https://api.github.com/users/byt3bl33d3r/events{/privacy}","received_events_url":"https://api.github.com/users/byt3bl33d3r/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-07-31T05:35:29Z","updated_at":"2016-07-31T05:35:29Z","closed_at":null,"body":"Hey!\r\n\r\nWas playing around with pywerview and noticed this error kept popping up whenever I try to use a function that performs an LDAP query. Pinging @asolino since he might be interested in this error as well.\r\n\r\nCommand : ``` python ./pywerview.py get-netuser -t DC_IP -u user -p password```\r\n```python\r\nTraceback (most recent call last):\r\n  File \"./pywerview.py\", line 290, in <module>\r\n    results = args.func(**parsed_args)\r\n  File \"/home/byt3bl33d3r/Tools/pywerview/pywerview/net.py\", line 99, in get_netuser\r\n    for user in domain_connection.search(searchFilter=user_search_filter, attributes=list()):\r\n  File \"build/bdist.linux-x86_64/egg/impacket/ldap/ldap.py\", line 331, in search\r\nimpacket.ldap.ldap.LDAPSearchError: Error in searchRequest -> 'invalidDNSyntaxn':0000208F: NameErr: DSID-03100225, problem 2006 (BAD_NAME), data 8350, best match of:\r\n\t'dc='\r\n```\r\n\r\nLet me know if you need more info!\r\n\r\nCheers"}}
{"actor":{"display_login":"byt3bl33d3r"}}