메모리 덤프 생성 방법

IT/시스템프로그래밍 2013. 4. 15. 20:07 Posted by Imtraveller
반응형


 

 

 

덤프수집 방법

http://blog.naver.com/PostView.nhn?blogId=sol9501&logNo=70093965968

 

http://blogs.msdn.com/b/noenemy/archive/2009/02/19/9433426.aspx

 

현재 프로세스 내부에서 문제가 발생 시 덤프 생성방법

http://greenfishblog.tistory.com/19

 

make dump to using Dbghelp.dll

http://2ry53.tistory.com/entry/MiniDump-%EB%AF%B8%EB%8B%88%EB%8D%A4%ED%94%84%EB%A5%BC-%EC%83%9D%EC%84%B1%ED%95%98%EC%97%AC-%ED%94%84%EB%A1%9C%EA%B7%B8%EB%9E%A8-%EC%98%A4%EB%A5%98-%EC%B0%BE%EA%B8%B0-dbghelpdll

 

About dbghelp Information of msdn

http://msdn.microsoft.com/en-us/library/windows/desktop/ms679294(v=vs.85).aspx


반응형

About WinHTTP SSL communication

IT/라이센스관련 2013. 4. 11. 11:40 Posted by Imtraveller
반응형

 

WinHTTP를 통한 SSL 통신 방법

 

관련 주소

  http://msdn.microsoft.com/en-us/library/windows/desktop/aa384076(v=vs.85).aspx
  http://msdn.microsoft.com/ko-kr/magazine/cc716528.aspx
sample
   http://www.ionicwind.com/forums/index.php?topic=2441.0
 인증서 등록
   http://www.codeproject.com/Articles/24003/One-Click-SSL-Certificate-Registration-using-WinHT

인증등록 실패 관련
   http://www.experts-exchange.com/Programming/Languages/CPP/Q_26258565.html

 

관련문서링크

https://www.google.co.kr/url?sa=t&rct=j&q=&esrc=s&source=web&cd=1&cad=rja&ved=0CE0QFjAA&url=http%3A%2F%2Fwww.mireene.com%2Fdata%2Ftemplate%2Fbasic%2Fbiz_center%2Fssl_service%2Fimages%2Fsecure_manual.pdf&ei=rRBmUZTGHOzPiAeNyoD4CA&usg=AFQjCNHRh23x6II7zX1lRepGN2zZCRJceg&bvm=bv.45107431,d.aGc

 

>;

반응형

'IT > 라이센스관련' 카테고리의 다른 글

GPLv2 포함된 제품 배포 관련  (0) 2013.09.16
gnu 라이센스 관련 정보  (0) 2012.12.13

빌드시 경고 연동방법

IT/개발방법론 2013. 3. 28. 09:20 Posted by Imtraveller
반응형

visual studio에 빌드시 필요한 경고 메세지 출력 및 하이퍼링크 연동 방법

http://www.benjaminlog.com/entry/pragma-message-directive

반응형

[Lua]사용방법 관련

IT/스크립트언어 2013. 3. 14. 11:13 Posted by Imtraveller
반응형

루아 c에서 embedding 방법

http://blog.naver.com/PostView.nhn?blogId=sunxodid79&logNo=140080228380

 

루아 스크립트 로드하는 방법

http://sonhy1.tistory.com/76

반응형

MAPI API관련 오류- email~~

IT/시스템프로그래밍 2013. 3. 6. 14:15 Posted by Imtraveller
반응형


There is no email program associated to perform the requested action.
Please install an email program or, if one is already installed, create an association in the Default Programs control panel.

 

2) If Outlook is not installed or is not the default mail program, start RegEdit.exe and navigate to and delete the following registry values:
HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail -> delete the (Default) value
HKEY_LOCAL_MACHINE\SOFTWARE\Clients\Mail\Microsoft Outlook -> delete the DllPathEx value

>;

 


반응형

LocalPath To UNCPath and vice versa

IT/시스템프로그래밍 2013. 3. 6. 11:45 Posted by Imtraveller
반응형

get from http://stackoverflow.com/questions/2316927/how-to-convert-unc-to-local-path

 

#include <Crtdbg.h>    // for debug stuff
#include "Winnetwk.h"  // for WNetGetUniversalName()
#include "Lm.h"        // for NetShareGetInfo()
#include "pystring.h"  // from http://code.google.com/p/pystring

#pragma comment( lib, "Mpr.lib" )       // for WNetGetUniversalName()
#pragma comment( lib, "Netapi32.lib" )  // for NetShareGetInfo()

//-----------------------------------------------------------------------------
// converts x:\\folder -> \\\\server\\share\\folder
bool ConvertLocalPathToUNC(const char* szFilePath, std::string& strUNC)
{
 
// get size of the remote name buffer
  DWORD dwBufferSize
= 0;
 
char szBuff[2];
 
if (::WNetGetUniversalName(szFilePath, UNIVERSAL_NAME_INFO_LEVEL, szBuff, &dwBufferSize) == ERROR_MORE_DATA)
 
{
   
// get remote name of the share
   
char* buf = new char[dwBufferSize];
    UNIVERSAL_NAME_INFO
* puni = (UNIVERSAL_NAME_INFO*) buf;

   
if (::WNetGetUniversalName(szFilePath, UNIVERSAL_NAME_INFO_LEVEL, buf, &dwBufferSize) == NO_ERROR)
   
{
      strUNC
= puni->lpUniversalName;
     
delete [] buf;
     
return true;
   
}
   
delete [] buf;
 
}

 
return false;
}

//-----------------------------------------------------------------------------
// converts \\\\server\\share\\folder -> x:\\folder
bool ConvertUNCToLocalPath(const char* szUNC, std::string& strLocalPath)
{
 
// get share name from UNC
  std
::string strUNC(szUNC);
  std
::vector< std::string > vecTokens;
  pystring
::split(strUNC, vecTokens, _T("\\"));

 
if (vecTokens.size() < 4)
   
return false;

 
// we need wchar for NetShareGetInfo()
  std
::wstring strShare(vecTokens[3].length(), L' ');
  std
::copy(vecTokens[3].begin(), vecTokens[3].end(), strShare.begin());

  PSHARE_INFO_502 
BufPtr;
  NET_API_STATUS   res
;
 
if ((res = NetShareGetInfo(NULL, const_cast<LPWSTR>(strShare.c_str()), 502, (LPBYTE*) &BufPtr)) == ERROR_SUCCESS)
 
{
   
// print the retrieved data.
    _RPTF3
(_CRT_WARN, _T("%ls\t%ls\t%u\n"), BufPtr->shi502_netname, BufPtr->shi502_path, BufPtr->shi502_current_uses);

    std
::wstring strPath(BufPtr->shi502_path);
    strLocalPath
.assign(strPath.begin(), strPath.end());

   
// build local path
   
for (size_t i = 4; i < vecTokens.size(); ++i)
   
{
     
if (!pystring::endswith(strLocalPath, _T("\\")))
        strLocalPath
+= _T("\\");
      strLocalPath
+= vecTokens[i];
   
}

   
// Validate the value of the shi502_security_descriptor member.
   
if (IsValidSecurityDescriptor(BufPtr->shi502_security_descriptor))
      _RPTF0
(_CRT_WARN, _T("It has a valid Security Descriptor.\n"));
   
else
      _RPTF0
(_CRT_WARN, _T("It does not have a valid Security Descriptor.\n"));

   
// Free the allocated memory.
   
NetApiBufferFree(BufPtr);
 
}
 
else
   
return false;

 
return true;
}>;

반응형

About process kill in kernel driver

IT/드라이버개발 2013. 2. 22. 10:22 Posted by Imtraveller
반응형

 

About Prevent Kill Process and Kill File/Folder using Driver

http://www.osronline.com/showthread.cfm?link=231922

 

 

HOWTO: Implement your own NtOpenProcess in kernel-mode

http://wj32.org/wp/2009/02/19/howto-implement-your-own-ntopenprocess-in-kernel-mode/

 

 

WDK Protected process

http://code.msdn.microsoft.com/windowshardware/ObCallback-Sample-67a47841

>;

반응형

Parming 관련정보 정리

IT 2013. 2. 14. 15:40 Posted by Imtraveller
반응형

 

파밍의 정의

http://blog.naver.com/PostView.nhn?blogId=jikils&logNo=10116435087

 

 

DNS 캐쉬 지우는 방법

http://pat.im/367

 

보안관련 전반 정리된 사이트이므로 관심을 가지면 좋을듯...

Spoofing이란?

http://blog.naver.com/PostView.nhn?blogId=limjongmin15&logNo=40160276964

http://blog.naver.com/PostView.nhn?blogId=limjongmin15&logNo=40160282050&parentCategoryNo=&categoryNo=&viewDate=&isShowPopularPosts=false&from=postView

http://blog.naver.com/PostView.nhn?blogId=limjongmin15&logNo=40160359085&parentCategoryNo=&categoryNo=&viewDate=&isShowPopularPosts=false&from=postView

 

Sniffing이란?

http://blog.naver.com/PostView.nhn?blogId=limjongmin15&logNo=40160424680&parentCategoryNo=&categoryNo=&viewDate=&isShowPopularPosts=false&from=postView

 

http://blog.naver.com/PostView.nhn?blogId=limjongmin15&logNo=40160891607&parentCategoryNo=&categoryNo=&viewDate=&isShowPopularPosts=false&from=postView

>;

반응형

'IT' 카테고리의 다른 글

IT 세미나 일정 세미나 달력  (0) 2011.03.29

라디오버튼 그룹지정방법

IT/개발관련 담기+ 2013. 2. 6. 15:41 Posted by Imtraveller
반응형

라디오버튼 그룹지정방법

http://yoshiboarder.tistory.com/119

반응형

덤프 생성방법

IT/디버깅 2013. 1. 24. 10:41 Posted by Imtraveller
반응형

프로세스 덤프작성하는 방법

http://technet.microsoft.com/en-us/sysinternals/dd996900

 

 

windbg에서 덤프 생성 커맨드

.dump /ma c:\temp\user.dmp

 

 

어플리케이션 메모리 덤프관련

http://kuaaan.tistory.com/213

반응형