Jump to content
  1. Informatii generale

    1. Anunturi importante

      Anunturile importante si regulile forumului. Cititi regulamentu​l inainte de a posta.

      12.6k
      posts
    2. Bine ai venit

      Bine ati venit pe forumul Romanian Security Team, aici va puteti prezenta (optional)

      18.1k
      posts
    3. Proiecte RST

      Aici veti putea gasi toate programele, tutorialele, metodele si exploiturile create de catre membrii RST

      4.4k
      posts
  2. Sectiunea tehnica

    1. Exploituri

      Cele mai noi exploituri, POC-uri sau shellcode-uri

      7.4k
      posts
    2. Challenges (CTF)

      Challenge-uri - Wargames, pentru amatorii CTF-urilor

      9.5k
      posts
    3. Bug Bounty

      Categorie destinata discutiilor referitoare la site-urile care au un program Bug Bounty in desfasurare prin care rasplatesc persoanele care le raporteaza vulnerabilitati

      2.2k
      posts
    4. Programare

      Coltul programatorilor: C/C++, Visual Basic, .NET, Java, ASM, Shell scripting, Perl, Python

      22.7k
      posts
    5. Securitate web

      Tutoriale si discutii legate de securitatea aplicatiilor web

      636
      posts
    6. Reverse engineering & exploit development

      Tutoriale despre analiza malware, sample-uri, cod sursa, programe utile, reverse engineering si exploit development

      2k
      posts
    7. Mobile security

      Discutii despre telefoane mobile, root-ing, jailbreak-ing etc.

      12.6k
      posts
    8. Sisteme de operare si discutii hardware

      Discutii in materie hardware, windows, unix, bsd etc.

      7.6k
      posts
    9. Electronica

      Discutii generale despre electronica

      2.6k
      posts
    10. Wireless Pentesting

      Wardriving area, WiFi, Bluetooth si GSM hacking

      3.8k
      posts
    11. Black SEO & monetizare

      Tips & tricks, questions, monetizare

      8.8k
      posts
  3. Programe

    1. Programe hacking

      Postati aici utilitare cum ar fi sniffere, bruteforcers, fuzzers etc. Nu faceti cereri aici.

      28.2k
      posts
    2. Programe securitate

      Postati aici programe cum ar fi firewall-uri, antivirusi si programe similare

      2.7k
      posts
    3. Programe utile

      Programe ce nu se incadreaza in celelalte sectiuni: hack sau securitate

      12.1k
      posts
    4. Free stuff

      Diverse lucruri utile, fiind excluse root-uri, SMTP-uri, VPS-uri etc.

      8.7k
      posts
  4. Discutii generale

    1. RST Market

      Orice vanzare/cumparare care are legatura cu frauda online/bancara sau access neautorizat este penalizata cu ban permanent!  Minim 50 de posturi pentru acces!

      23.9k
      posts
    2. Off-topic

      Discutii pe diverse teme, discutii care nu se incadreaza la celalalte categorii. Doar discutii din domeniul IT!

      137.6k
      posts
    3. Discutii incepatori

      Daca esti incepator, ai o intrebare simpla sau vrei sa stii mai multe despre un domeniu, aici e sectiunea potrivita

      3k
      posts
    4. Stiri securitate

      Stiri din domeniul securitatii IT

      20.3k
      posts
    5. Linkuri

      Postati aici doar linkurile despre securitate!

      9.4k
      posts
    6. Cosul de gunoi

      Toate topicurile care au deviat de la raspuns vor fi mutate aici.

      45.2k
      posts
  • Topics

  • Posts

    • Va salut! Am început de o săptămâna sa învăț Python, ca sa o ajut pe prietena mea cu proiectul pentru licența. Cu putinele cunoștințe acumulate, am reușit sa compun programul de mai jos din alte doua scripturi combinate, preluate de pe github: unul pentru face recognition, iar celălalt pentru gender and age estimation. Asa cum este el scris mai jos, funcționează optim pentru orice poza indicată. Programul pentru gender and age estimation are și funcția de identificare a acestor caracteristici prin intermediul Webcam, însă aceasta funcție nu mai funcționează după combinarea celor doua Scripturi. Am epuizat toate ideile și nu am reușit sa remediez problema sau măcar sa elimin funcționalitatea de video, sa nu mai fie scrisă in cod. Sper ca am reușit sa expun situația in termeni corecți ca sa se înțeleagă cât mai bine. Ma puteți ajuta, va rog, cu rezolvarea situației? Va mulțumesc! import face_recognition as fr import cv2 import math import numpy as np import os import argparse #Now, create 2 lists that store the names of the images (persons) and their respective face encodings. path = "./train/" known_names = [] known_name_encodings = [] images = os.listdir(path) """ We loop through each of the images in our train directory, extract the name of the person in the image, calculate its face encoding vector and store the information in the respective lists. """ for _ in images: image = fr.load_image_file(path + _) image_path = path + _ encoding = fr.face_encodings(image)[0] known_name_encodings.append(encoding) known_names.append(os.path.splitext(os.path.basename(image_path))[0].capitalize()) #Read the test image using the cv2 imread() method. parser=argparse.ArgumentParser() parser.add_argument("-i", "--image", type=str, default="./test/test.jpg", help="path to the input image") args=parser.parse_args() image = cv2.imread(args.image) """ The face_recognition library provides a useful method called face_locations() which locates the coordinates (left, bottom, right, top) of every face detected in the image. Using those location values we can easily find the face encodings. """ face_locations = fr.face_locations(image) face_encodings = fr.face_encodings(image, face_locations) def highlightFace(net, frame, conf_threshold=0.7): frameOpencvDnn=frame.copy() frameHeight=frameOpencvDnn.shape[0] frameWidth=frameOpencvDnn.shape[1] blob=cv2.dnn.blobFromImage(frameOpencvDnn, 1.0, (300, 300), [104, 117, 123], True, False) net.setInput(blob) detections=net.forward() faceBoxes=[] for i in range(detections.shape[2]): confidence=detections[0,0,i,2] if confidence>conf_threshold: x1=int(detections[0,0,i,3]*frameWidth) y1=int(detections[0,0,i,4]*frameHeight) x2=int(detections[0,0,i,5]*frameWidth) y2=int(detections[0,0,i,6]*frameHeight) faceBoxes.append([x1,y1,x2,y2]) cv2.rectangle(frameOpencvDnn, (x1,y1), (x2,y2), (0,255,0), int(round(frameHeight/150)), 8) return frameOpencvDnn,faceBoxes # --- Code for age detection starts here --- faceProto="opencv_face_detector.pbtxt" faceModel="opencv_face_detector_uint8.pb" ageProto="age_deploy.prototxt" ageModel="age_net.caffemodel" genderProto="gender_deploy.prototxt" genderModel="gender_net.caffemodel" MODEL_MEAN_VALUES=(78.4263377603, 87.7689143744, 114.895847746) ageList=['(0-3)', '(4-7)', '(8-14)', '(15-24)', '(25-37)', '(38-47)', '(48-59)', '(60-100)'] genderList=['Male','Female'] faceNet=cv2.dnn.readNet(faceModel,faceProto) ageNet=cv2.dnn.readNet(ageModel,ageProto) genderNet=cv2.dnn.readNet(genderModel,genderProto) video=cv2.VideoCapture(args.image if args.image else 0) padding=20 while cv2.waitKey(1)<0 : hasFrame,frame=video.read() if not hasFrame: #cv2.waitKey() break resultImg,faceBoxes=highlightFace(faceNet,frame) if not faceBoxes: print("No face detected") for faceBox in faceBoxes: face=frame[max(0,faceBox[1]-padding): min(faceBox[3]+padding,frame.shape[0]-1),max(0,faceBox[0]-padding) :min(faceBox[2]+padding, frame.shape[1]-1)] blob=cv2.dnn.blobFromImage(face, 1.0, (227,227), MODEL_MEAN_VALUES, swapRB=False) genderNet.setInput(blob) genderPreds=genderNet.forward() gender=genderList[genderPreds[0].argmax()] print(f'Gender: {gender}') ageNet.setInput(blob) agePreds=ageNet.forward() age=ageList[agePreds[0].argmax()] print(f'Age: {age[1:-1]} years') cv2.putText(resultImg, f'{gender}, {age}', (faceBox[0], faceBox[1]-10), cv2.FONT_HERSHEY_SIMPLEX, 0.8, (0,255,255), 2, cv2.LINE_AA) """ We loop through each of the face locations and its encoding found in the image. Then we compare this encoding with the encodings of the faces from the “train” dataset. Then calculate the facial distance meaning that we calculate the similarity between the encoding of the test image and that of the train images. Now, we pick the minimum valued distance from it indicating that this face of the test image is one of the persons from the training dataset. """ for (top, right, bottom, left), face_encoding in zip(face_locations, face_encodings): matches = fr.compare_faces(known_name_encodings, face_encoding) name = "" face_distances = fr.face_distance(known_name_encodings, face_encoding) best_match = np.argmin(face_distances) if matches[best_match]: name = known_names[best_match] #Now, put the name in the box. cv2.putText(resultImg, name, (left, bottom + 40), cv2.FONT_HERSHEY_SIMPLEX, 0.8, (0,255,255), 2, cv2.LINE_AA) #Display the image using the imshow() method of the cv2 module. cv2.imshow("Detecting age and gender", resultImg) #Release the resources that weren’t deallocated(if any). cv2.waitKey(0) cv2.destroyAllWindows()
    • Lista de RPC-uri pentru ping: http://rpc.pingomatic.com/ http://rpc.icerocket.com:10080/ http://blogsearch.google.com/ping/RPC2 http://1470.net/api/ping http://api.feedster.com/ping http://api.moreover.com/RPC2 http://api.moreover.com/ping http://api.my.yahoo.com/RPC2 http://api.my.yahoo.com/rss/ping http://bblog.com/ping.php http://bitacoras.net/ping http://blog.goo.ne.jp/XMLRPC http://blogdb.jp/xmlrpc http://blogmatcher.com/u.php http://bulkfeeds.net/rpc http://coreblog.org/ping/ http://mod-pubsub.org/kn_apps/blogchatt http://www.lasermemory.com/lsrpc/ http://ping.amagle.com/ http://ping.bitacoras.com http://ping.blo.gs/ http://ping.bloggers.jp/rpc/ http://ping.cocolog-nifty.com/xmlrpc http://ping.blogmura.jp/rpc/ http://ping.exblog.jp/xmlrpc http://ping.feedburner.com http://ping.myblog.jp http://ping.rootblog.com/rpc.php http://ping.syndic8.com/xmlrpc.php http://ping.weblogalot.com/rpc.php http://ping.weblogs.se/ http://pingoat.com/goat/RPC2 http://rcs.datashed.net/RPC2/ http://rpc.blogbuzzmachine.com/RPC2 http://rpc.blogrolling.com/pinger/ http://rpc.icerocket.com:10080/ http://rpc.newsgator.com/ http://rpc.pingomatic.com http://rpc.technorati.com/rpc/ping http://rpc.weblogs.com/RPC2 http://topicexchange.com/RPC2 http://trackback.bakeinu.jp/bakeping.php http://www.a2b.cc/setloc/bp.a2b http://www.bitacoles.net/ping.php http://www.blogdigger.com/RPC2 http://www.blogoole.com/ping/ http://www.blogoon.net/ping/ http://www.blogpeople.net/servlet/weblogUpdates http://www.blogroots.com/tb_populi.blog?id=1 http://www.blogshares.com/rpc.php http://www.blogsnow.com/ping http://www.blogstreet.com/xrbin/xmlrpc.cgi http://www.mod-pubsub.org/kn_apps/blogchatter/ping.php http://www.newsisfree.com/RPCCloud http://www.newsisfree.com/xmlrpctest.php http://www.popdex.com/addsite.php http://www.snipsnap.org/RPC2 http://www.weblogues.com/RPC/ http://xmlrpc.blogg.de http://xping.pubsub.com/ping/ http://rpc.copygator.com/ping/  
    • IT , sa nu faca prostii utilizatorii   Sper sa pot pleca pe la sfarsitul lunii urmatoare (iulie - august)   Edit:/ gen spam, scam, s.a.m.d.
    • Pe ce nisa sunt blog-urile? Ce ai nevoie mai exact pentru administrare? Cat timp ai nevoie sa fie administrate?
    • Salut, detin 5 blog-uri, urmeaza sa ma internez intr-un spital din Europa, unde am acces la TV doar pe YouTube, dureaza sa iau acces la tot (Google, Yandex, RST, etc..)   Este cineva de incredere? imi  poate lãsa mesaj privat.   Multumesc anticipat.
    • Cred ca se refera la faptul ca e o nevoie acuta de video-uri in limba romana care sa demonstreze proiectele astea. Nu prea sunt pe youtube in lb romana.
×
×
  • Create New...