亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? dns-te~1.cc

?? 一百個病毒的源代碼 包括熊貓燒香等 極其具有研究價值
?? CC
?? 第 1 頁 / 共 2 頁
字號:
/* * DNS-Terror.  Part of Fastresolve. * * Before running this, it's best to run 'unlimit'. * * Reads IP addresses to resolve from the standard input, one per line. * Other stuff on a line after the IP address is ignored. * * Options: * -c adns-conf		ADNS conf string to use instead of /etc/resolv.conf *			and the various optional environment variables. *			One or more lines in a format like resolv.conf, *			with directives: nameserver, domain, search *			plus some additional directives: *			sortlist, options, clearnameservers, include *			One approach is to make an alternate conf file *			and use -c "include adns.conf". * -d dbfile		Save results to DB file dbfile.  Defaults to *			ip2host.db.  If given as the empty string, *			the DB is stored in memory, and is lost when the *			program exits. * -f fields		Skip fields blank-separated fields at the start *			of each line before expecting an IP address. * -m marksize		Print a notice every marksize input lines. * -o			Copy the input lines to the standard output *			with IP addresses resolved. * -p parallel-queries	Set the size of the query pipeline. * -r			Reresolve; do not read in negative cache entries. * -s			Sync the DB to disk at each mark. * -v			Increase output verbosity. * * On SIGHUP, closes and reopens the db file (useful if it was rolled). * On SIGTERM, closes the db file and exits. * * Written by David MacKenzie <djm@web.us.uu.net> * Thanks to Josh Osborne <stripes@eng.us.uu.net> for ideas and an * earlier implementation. * Please send comments and bug reports to fastresolve-bugs@web.us.uu.net. * ****************************************************************************** *   Copyright 1999 UUNET, an MCI WorldCom company. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2, or (at your option) * any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA * 02111-1307, USA. ****************************************************************************** */#include <stdio.h>#include <time.h>#include <unistd.h>#include <stdlib.h>#include <string.h>#include <errno.h>#include <assert.h>#include <ctype.h>#include <signal.h>#include <setjmp.h>#include <adns.h>#include <zlib.h>#include <map>#include <deque>#include "BoolString.h"#include "DatedStringDb.h"extern "C" int getstr(char **lineptr, size_t *n, FILE *stream,		      char terminator, size_t offset);#ifndef HAVE_FGETLNextern "C" char *fgetln(FILE *stream, size_t *lenp);#endif// Default maximum number of queries outstanding in the pipeline,// or with -o, 1/20 the number of buffered log lines.#define DEFAULT_PARALLEL_QUERIES 1000// 20-30 is a typical ratio of queried addresses to log lines.#define COPYLINES_MULTIPLIER 20// Where to cache the results.#define DEFAULT_DBFILE "ip2host.db"typedef map<BoolString, BoolString, less<BoolString> > BoolStringMap;static char *program_name;// Degree of verbosity in output.  The more, the messier.static int verbose = 0;// Flags set by signal handlers.static int reopen = 0;static jmp_buf getback;voidhup_handler(int){  reopen = 1;}voidterm_handler(int){  fprintf(stderr, "%s: received terminate signal; exiting\n", program_name);  longjmp(getback, 1);}voidint_handler(int){  fprintf(stderr, "%s: received interrupt signal; exiting\n", program_name);  longjmp(getback, 1);}static void fatal_errno(const char *what, int errnoval){  fprintf(stderr, "%s: fatal error: %s: %s\n",	  program_name, what, strerror(errnoval));  longjmp(getback, 1);}voidset_handlers(void){  struct sigaction act;  memset(&act, '\0', sizeof act);  act.sa_handler = hup_handler;  sigaction(SIGHUP, &act, NULL);  act.sa_handler = term_handler;  sigaction(SIGTERM, &act, NULL);  act.sa_handler = int_handler;  sigaction(SIGINT, &act, NULL);}// Info about one query that's being made.class LogEntry{public:  adns_query qu;		// ADNS query ID, or NULL.  char *ipaddr;			// Forward dotted-quad, NUL-terminated.  char *logbefore, *logafter;	// The rest of the log entry.  size_t lenbefore, lenafter;	// Lengths; no NUL-termination.  char buf[1];			// Really longer.  Must be last.  Holds above.};typedef deque<LogEntry *> LogEntryQue;class QueryStats{public:  QueryStats(void) { linesread = cached = submitted = invalid = successful = 0; }  void print(void);  long linesread;  long cached;			// -1 if no cache DB file used.  long submitted;  long invalid;  long successful;};voidQueryStats::print(void){  fprintf(stderr, "%ld lines read.\n", linesread);  fprintf(stderr, "%ld (%.2f%%) invalid addresses.\n",	  invalid, linesread ? ((100.0 * invalid) / (1.0 * linesread)) : 0.0);  if (cached >= 0)    fprintf(stderr, "%ld (%.2f%%) cache hits from the DB file.\n",	    cached, linesread ? ((100.0 * cached) / (1.0 * linesread)) : 0.0);  fprintf(stderr, "%ld (%.2f%%) addresses were queried with DNS;\n",	  submitted, linesread ? ((100.0 * submitted) / (1.0 * linesread)) : 0.0);  fprintf(stderr, "%ld (%.2f%%) of those queries were successful.\n",	  successful, submitted ? ((100.0 * successful) / (1.0 * submitted)) : 0.0);}// Maximum bytes in an ASCII IPv4 address.#define MAX_IP_LEN 15// The size of "zzz.yyy.xxx.www.in-addr.arpa\0"#define MAX_PTR_SIZE (MAX_IP_LEN + 14)// Define to do pedantic checking that domain has a valid format.// #define CHECK_PTR_SYNTAX// If domain contains "www.xxx.yyy.zzz" then put in ptr// "zzz.yyy.xxx.www.in-addr.arpa".// ptr must be at least MAX_PTR_SIZE bytes long.// Return 1 if ok, 0 if domain is not an IPv4 address.//// We leave off the final "." because the returned answers lack it,// and we need to compare with them, and this is more efficient than// adding a "." to the end of each of them.// Moreover, we're not passing the adns_qf_search flag to// adns_submit(), so we're not searching anyway.intdomptr(const char *domain, char *ptr){  const char *inaddr = ".in-addr.arpa";  size_t domsize = strlen(domain);  const char *d;  const char *numstart, *numend = NULL;  char *p = ptr;#ifdef CHECK_PTR_SYNTAX  int octets = 0, dots = 0, val;#endif  if (domsize + sizeof(inaddr) > MAX_PTR_SIZE) {    return 0;  }  for (d = domain + domsize - 1; d >= domain; d--) {    if (isdigit(*d)) {      if (!numend)	numend = d;    } else if (*d == '.') {      if (numend) {#ifdef CHECK_PTR_SYNTAX	val = 0;#endif	for (numstart = d + 1; numstart <= numend; ++numstart) {#ifdef CHECK_PTR_SYNTAX	  val = val * 10 + *numstart - '0';#endif	  *p++ = *numstart;	}	numend = NULL;#ifdef CHECK_PTR_SYNTAX	if (val > 255)	  return 0;	++octets;#endif      }      *p++ = *d;#ifdef CHECK_PTR_SYNTAX      ++dots;#endif    } else {      return 0;    }  }  if (numend) {#ifdef CHECK_PTR_SYNTAX    val = 0;#endif    for (numstart = d + 1; numstart <= numend; ++numstart) {#ifdef CHECK_PTR_SYNTAX      val = val * 10 + *numstart - '0';#endif      *p++ = *numstart;    }#ifdef CHECK_PTR_SYNTAX    if (val > 255)      return 0;    ++octets;#endif  }#ifdef CHECK_PTR_SYNTAX  if (octets != 4 || dots != 3)    return 0;#endif  strcpy(p, inaddr);  return 1;}#if 0voidprint_map(BoolStringMap &reslist, bool all){  BoolStringMap::iterator it;  BoolString k, v;  fprintf(stderr, "MAP:\n");  for (it = reslist.begin(); it != reslist.end(); it++) {    k = (*it).first;    v = (*it).second;    if (all || strcmp(v.get_str(), "?"))      fprintf(stderr, "%s=%s\n", k.get_str(), v.get_str());  }}#endifenum submission { sb_invalid, sb_cached, sb_known, sb_pending, sb_submitted };enum submissionsubmit_query(adns_state ads, BoolStringMap &reslist, LogEntry *lp){  int r;  adns_query qu;  char rev[MAX_PTR_SIZE], *ipaddr, *data;  if (!domptr(lp->ipaddr, rev)) {    if (verbose)      fprintf(stderr, "%s invalid\n", lp->ipaddr);    return sb_invalid;  }  BoolString key(lp->ipaddr, false), value;  BoolStringMap::iterator it = reslist.find(key);  if (it != reslist.end()) {    value = (*it).second;    data = value.get_str();    if (data[0] == '?' && data[1] == '\0') {      if (verbose > 1)	fprintf(stderr, "%s pending\n", lp->ipaddr);      return sb_pending;    }    if (value.get_flag()) {      if (verbose > 1)	fprintf(stderr, "%s known\n", lp->ipaddr);      return sb_known;    } else {      if (verbose > 1)	fprintf(stderr, "%s cached\n", lp->ipaddr);      return sb_cached;    }  }    r = adns_submit(ads, rev, adns_r_ptr_raw,		  (enum adns_queryflags)		  (adns_qf_quoteok_cname|adns_qf_quoteok_anshost), lp, &qu);  if (r)    fatal_errno("adns_submit", r);  if (verbose)    fprintf(stderr, "%s submitted\n", lp->ipaddr);  lp->qu = qu;  ipaddr = strdup(lp->ipaddr);  if (ipaddr == NULL)    fatal_errno("malloc", errno);  BoolString k(ipaddr, false), v("?", true);  reslist[k] = v;  return sb_submitted;}// Record the resource record(s) we got back.// Do not free the return value, which is used in reslist.char *process_answer(adns_answer *ans, char *ipaddr, BoolStringMap &reslist){  const char *rrtn, *fmtn;  char *ptr;  int len;  adns_status ri;  ri = adns_rr_info(ans->type, &rrtn, &fmtn, &len, 0, 0);  if (verbose)    fprintf(stderr, "%s %s; nrrs=%d ",	     ipaddr,	     adns_strerror(ans->status),	     ans->nrrs);  if (ans->nrrs) {    ptr = *ans->rrs.str;    if (verbose)      fprintf(stderr, "%s\n", ptr);  } else {    ptr = "";    if (verbose)      putc('\n', stderr);  }  ptr = strdup(ptr);  if (ptr == NULL)    fatal_errno("malloc", errno);  // Update the value from "?".  BoolString key(ipaddr, false), oldvalue;  BoolStringMap::iterator it = reslist.find(key);  assert(it != reslist.end());  key = (*it).first;		// Don't lose that malloc'd string.  oldvalue = (*it).second;  char *data = oldvalue.get_str();  assert(data[0] == '?' && data[1] == '\0');  assert(oldvalue.get_flag());  BoolString value(ptr, true);  reslist[key] = value;  return ptr;}// Read fields space-separated fields from fp, and return the result.// Store in *lenp the number of characters read, not including the// null terminator.char *read_fields(FILE *fp, int fields, size_t *lenp){  static char *p = NULL;  static size_t psize = 0;  ssize_t nread;  size_t off;  off = 0;  while (fields-- > 0 &&	 (nread = getstr(&p, &psize, fp, ' ', off)) > 0) {    off += nread;  }  *lenp = off;  return off == 0 ? NULL : p;}// Return the IP address of the next log entry, NUL terminated.// The result is in static storage that will be overwritten// by the next call.// Return NULL on EOF.// If save_line is true, save the contents of the line in the returned// structure.  If skip_fields is nonzero, there are that many// space-separated fields before the IP address.LogEntry *read_ipaddr(FILE *fp, bool save_line, int skip_fields){  static char ipa[MAX_IP_LEN + 1];  char *before;  size_t after_len = 0, before_len = 0;  char *p = ipa, *after = "", *to, *from, *end;  int c;  LogEntry *lp;  if (skip_fields)    before = read_fields(fp, skip_fields, &before_len);  while ((c = getc(fp)) != EOF	 && !isspace(c)	 && p - ipa < MAX_IP_LEN) {    if (c)			// Guard against corruption (NUL bytes).      *p++ = c;  }  *p = '\0';  if (c == EOF)    // Note that we throw away any IP address that is the last thing    // in the input stream.  It must be followed by something    // (a newline or two other characters will do) in order to be returned.    return NULL;  // N.B. BSD fgetln() does not NUL terminate.  if (c != '\n' && (after = fgetln(fp, &after_len)) == NULL)    return NULL;  lp = (LogEntry *)    malloc(sizeof(LogEntry)	   + (save_line ? before_len : 0) // logbefore	   + p - ipa		// ipaddr (buf already has 1 byte for NUL)	   + (save_line ? after_len + 1 : 0) // logafter	   );  if (lp == NULL)    fatal_errno("malloc", errno);  lp->qu = 0;  // Point ipaddr, logafter, logbefore to data in buf.  to = lp->buf;    // Copy the IP address into the LogEntry.  for (lp->ipaddr = to, from = ipa; *from;)    *to++ = *from++;  *to = '\0';  // Copy the rest of the line into the LogEntry, if requested.  if (save_line) {    lp->logafter = ++to;    *to++ = c;    end = after + after_len;	// Sentinel for speed.

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
丁香五精品蜜臀久久久久99网站| 日韩欧美第一区| 欧美一级理论片| 亚洲三级理论片| 国产精品2024| 日韩女优电影在线观看| 亚洲成人动漫精品| 99re热视频精品| 日韩精品一区二区三区在线 | 亚洲午夜在线观看视频在线| 国产一区二区免费在线| 在线综合视频播放| 一区二区三区在线播| 成a人片国产精品| 国产欧美精品国产国产专区| 午夜精品久久久久久久蜜桃app| 99精品欧美一区| 国产日韩欧美不卡| 国产乱码精品一区二区三区五月婷| 欧美区在线观看| 午夜精品久久久久久不卡8050| 91丨porny丨最新| 亚洲国产成人一区二区三区| 久久国内精品自在自线400部| 欧美日韩aaa| 视频在线观看一区| 日韩一级欧美一级| 免费成人在线网站| 日韩欧美一二三区| 久久99国内精品| 久久人人爽爽爽人久久久| 久久精品国产在热久久| 久久毛片高清国产| 国产麻豆视频一区二区| 亚洲国产精品ⅴa在线观看| 国产精品538一区二区在线| 国产人妖乱国产精品人妖| 国产成人亚洲精品狼色在线 | 成人午夜电影小说| 国产亚洲一区二区三区四区 | 91国偷自产一区二区三区成为亚洲经典 | 国产精品免费观看视频| 国产伦精品一区二区三区免费 | 91蜜桃视频在线| 亚洲天堂av一区| 在线区一区二视频| 亚洲成在人线在线播放| 欧美唯美清纯偷拍| 日韩黄色小视频| 精品国免费一区二区三区| 久久爱另类一区二区小说| 精品蜜桃在线看| 国产91精品免费| 中文字幕亚洲电影| 欧美制服丝袜第一页| 日韩不卡一二三区| 久久九九影视网| 97久久超碰精品国产| 亚洲二区在线观看| 日韩欧美一区二区免费| 久久66热偷产精品| 国产精品色婷婷| 欧美日韩在线一区二区| 狠狠狠色丁香婷婷综合久久五月| 国产精品天美传媒| 色av一区二区| 国产自产视频一区二区三区| 自拍偷自拍亚洲精品播放| 欧美日韩亚洲综合一区二区三区| 精品一区二区三区久久久| 亚洲另类春色校园小说| 日韩欧美二区三区| 欧美在线小视频| 国产一区二区三区久久久| 亚洲一区二区三区在线播放| 久久精品人人做| 9191精品国产综合久久久久久| 国产精品123区| 日日夜夜精品免费视频| 亚洲欧美日韩国产成人精品影院| 这里只有精品99re| 日本电影亚洲天堂一区| 国产91精品露脸国语对白| 亚洲成人手机在线| 亚洲欧美日韩在线播放| 久久久亚洲午夜电影| 欧美一区二区三区免费观看视频| 91在线观看免费视频| 国产麻豆精品视频| 麻豆91精品视频| 日韩中文字幕区一区有砖一区 | 国产一区高清在线| 亚洲成在人线免费| 一区二区三区加勒比av| 久久精品一级爱片| 欧美va亚洲va国产综合| 欧美日韩国产一二三| 色婷婷一区二区三区四区| 狠狠色综合播放一区二区| 视频一区中文字幕| 亚洲va欧美va人人爽午夜| 中文字幕在线免费不卡| www一区二区| 久久免费美女视频| 精品国产髙清在线看国产毛片| 欧美精品aⅴ在线视频| 欧美写真视频网站| 日本黄色一区二区| 91浏览器在线视频| 91视频.com| jvid福利写真一区二区三区| 国产91精品免费| 成人黄色片在线观看| 亚洲成人激情av| 亚洲国产cao| 免费的成人av| 国产一区二区三区在线观看精品| 韩国视频一区二区| 国产伦精品一区二区三区免费迷 | 亚洲免费视频中文字幕| 中文字幕在线不卡国产视频| 国产精品无码永久免费888| 国产精品欧美一区二区三区| 欧美激情综合在线| 国产精品国产三级国产aⅴ原创 | 日本久久精品电影| 欧美日韩国产高清一区二区三区| 欧美日韩久久久一区| 欧美一级电影网站| 精品久久人人做人人爽| 国产欧美日韩不卡| 亚洲一区二区三区四区不卡| 性久久久久久久| 狠狠狠色丁香婷婷综合激情| 成人综合在线观看| 欧美在线影院一区二区| 欧美一级午夜免费电影| 国产偷国产偷精品高清尤物| 亚洲人成网站精品片在线观看 | 亚洲精品中文在线观看| 日欧美一区二区| 国产v日产∨综合v精品视频| 色哟哟在线观看一区二区三区| 777欧美精品| 欧美激情在线看| 日本不卡视频在线| 国产一区日韩二区欧美三区| av不卡免费在线观看| 91精品福利在线一区二区三区| 国产日产欧美一区二区视频| 亚洲激情一二三区| 国产一二精品视频| 欧美日韩黄视频| 国产三级欧美三级日产三级99 | 精品久久久久久久久久久院品网 | 久久久综合激的五月天| 亚洲美女精品一区| 国产曰批免费观看久久久| 91蜜桃免费观看视频| 久久久久久久久久久久久女国产乱| 亚洲免费伊人电影| 粉嫩aⅴ一区二区三区四区五区| 欧美亚洲动漫精品| 国产蜜臀97一区二区三区| 日韩1区2区3区| 一本一本大道香蕉久在线精品| 欧美不卡在线视频| 亚洲一区二区三区中文字幕在线| 国产成人自拍高清视频在线免费播放| 欧美日韩一区二区不卡| 国产精品妹子av| 极品美女销魂一区二区三区免费| 精品电影一区二区三区| 亚洲综合色成人| 成人av电影免费在线播放| 欧美成人一区二区三区片免费| 亚洲午夜在线视频| 91极品视觉盛宴| 亚洲人成影院在线观看| 国产精品亚洲视频| 精品国产a毛片| 蜜臀av一级做a爰片久久| 欧美日韩午夜影院| 亚洲自拍偷拍麻豆| 日本韩国一区二区| 日韩毛片视频在线看| 成av人片一区二区| 亚洲国产成人高清精品| 91福利在线播放| 一区二区三区视频在线看| jizz一区二区| 亚洲男人的天堂在线观看| 91小视频在线观看| 亚洲免费观看高清完整版在线观看| 成人妖精视频yjsp地址| 国产精品家庭影院| 91亚洲精品乱码久久久久久蜜桃| 国产精品毛片久久久久久| 播五月开心婷婷综合| 自拍偷拍国产亚洲|