예제 #1
0
파일: Shodan.cs 프로젝트: Genbox/Shodan.NET
        public DataResponse DownloadMSFModule(string id)
        {
            Dictionary<string, string> args = new Dictionary<string, string>();
            args["id"] = id;
            Dictionary<string, object> resDict = SendRequest("msf/download", args);

            DataResponse module = new DataResponse(resDict);
            return module;
        }
예제 #2
0
파일: Shodan.cs 프로젝트: Genbox/Shodan.NET
        public DataResponse DownloadExploit(int id)
        {
            Dictionary<string, string> args = new Dictionary<string, string>();
            args["id"] = id.ToString();
            Dictionary<string, object> resDict = SendRequest("exploitdb/download", args);

            DataResponse exploit = new DataResponse(resDict);
            return exploit;
        }