본문 바로가기

Programming49

C# 셀레니움 - 웹기반 출근퇴근 자동으로 하기 - 2 버튼 클릭 private void Checkinfo_Button_Click(object sender, EventArgs e) { //MessageBox.Show("Hello World!"); MessageBox.Show("INPUT INFO \n ID : " + IdText.Text + " PASSWORD : " + PassText.Text + "\n attend start : " + workStartT1.Text+" attend end : " + workStartT2.Text + "\n leave start : " + offWorkT1.Text +" leave end : " + offWorkT2.Text + "\n 비밀번호는 로그, 저장자료에 기록되지 않습니다." , "입력정보 확인" ); //Console.Wr.. 2021. 6. 15.
[JAVA] 운영체제별 파일 경로 문자열만들기 각각의 운영체제별 파일을 불러오거나 생성할때 매우 까다로운경우가 파일의 경로를 설정하는데에 있어 다들 다른방식을 사용한다. 자바에서는 이를 위해 간단하게 해결할 수 있다. File.separator 를 사용하여 경로 구분자를 생성할 수 있다. 사용하는 예시는 다음과 같다. String.format("%s"+File.separator+"conf"+File.separator+"logback.xml", System.getProperty("user.dir")); 위의 경로 구분자를 사용하여 운영체제별 파일 구분자를 따로 입력할 필요가 없어 다행이다. 윈도우에서 개발하다 리눅스기반 서버에서 프로그램을 구동시키려니까 애를 먹었던적이 있다. 현장에서 허겁지겁 리눅스에서 사용하는 구분자로 했다가 다시 오류가 발생해서 .. 2021. 6. 15.
wireshark capture start do not working 와이어샤크 캡처 목록 https://www.comparitech.com/net-admin/wireshark-no-interfaces-found-error-explained/ Wireshark 'no interfaces found' error explained Wireshark needs access to your network but sometimes it can't get through. Find out what to do with a Wireshark interfaces error. www.comparitech.com 잘되던 와이어샤크에서 캡처할 수 있는 인터페이스가 위 화면처럼 나와야하는데 안나온다 Shift + Right Button Click -> '관리자 권한으로 실행' 하면 나온다 2021. 5. 26.
ASN.1 BER 허겁지겁 만든 디코딩 뷰어 https://pendine.tistory.com/36 보완함 ASN 패킷 디코딩 뷰어 개편 https://pendine.tistory.com/manage/newpost/17?type=post&returnURL=https%3A%2F%2Fpendine.tistory.com%2Fmanage%2Fposts%2F%3Fcategory%3D-3%26page%3D2%26searchKeyword%3D%26searchType%3Dtitle%26visibilit.. pendine.tistory.com -------------------------------------------------------------------------- 카테고리가 자바가 맞는지 ASN.1이 맞는지 모르겠지만 일단 ASN.1 디코딩을 위해 허겁.. 2021. 5. 25.